public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, timestamp_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getTypeBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getIdBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getFieldBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getValueBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, timestamp_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getTypeBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getIdBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getFieldBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getValueBytes()); } getUnknownFields().writeTo(output); }
public com.activequant.messages.AQMessages.ValueSet buildPartial() { com.activequant.messages.AQMessages.ValueSet result = new com.activequant.messages.AQMessages.ValueSet(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.timestamp_ = timestamp_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.type_ = type_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.id_ = id_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.field_ = field_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.value_ = value_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public Builder mergeFrom(com.activequant.messages.AQMessages.ValueSet other) { if (other == com.activequant.messages.AQMessages.ValueSet.getDefaultInstance()) return this; if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } if (other.hasType()) { setType(other.getType()); } if (other.hasId()) { setId(other.getId()); } if (other.hasField()) { setField(other.getField()); } if (other.hasValue()) { setValue(other.getValue()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public com.activequant.messages.AQMessages.ValueSet getDefaultInstanceForType() { return com.activequant.messages.AQMessages.ValueSet.getDefaultInstance(); }
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.activequant.messages.AQMessages.ValueSet.getDescriptor(); }
public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000004); id_ = getDefaultInstance().getId(); onChanged(); return this; } void setId(com.google.protobuf.ByteString value) {
public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000010); value_ = getDefaultInstance().getValue(); onChanged(); return this; } void setValue(com.google.protobuf.ByteString value) {
public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000002); type_ = getDefaultInstance().getType(); onChanged(); return this; } void setType(com.google.protobuf.ByteString value) {
public Builder clearField() { bitField0_ = (bitField0_ & ~0x00000008); field_ = getDefaultInstance().getField(); onChanged(); return this; } void setField(com.google.protobuf.ByteString value) {