public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getTypeBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getValueBytes()); } getUnknownFields().writeTo(output); }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getTypeBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getValueBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public com.activequant.messages.AQMessages.AccountDataMessage buildPartial() { com.activequant.messages.AQMessages.AccountDataMessage result = new com.activequant.messages.AQMessages.AccountDataMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.value_ = value_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public com.activequant.messages.AQMessages.AccountDataMessage getDefaultInstanceForType() { return com.activequant.messages.AQMessages.AccountDataMessage.getDefaultInstance(); }
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.activequant.messages.AQMessages.AccountDataMessage.getDescriptor(); }
public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = getDefaultInstance().getType(); onChanged(); return this; } void setType(com.google.protobuf.ByteString value) {
public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } void setValue(com.google.protobuf.ByteString value) {
public Builder mergeFrom(com.activequant.messages.AQMessages.AccountDataMessage other) { if (other == com.activequant.messages.AQMessages.AccountDataMessage.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasValue()) { setValue(other.getValue()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }