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, data_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, queryId_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, receivingMajorFragmentId_); } for (int i = 0; i < receivingMinorFragmentId_.size(); i++) { output.writeInt32(5, receivingMinorFragmentId_.get(i)); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(6, receivingOperatorId_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt32(7, sendingMinorFragmentId_); } getUnknownFields().writeTo(output); }
if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getTypeBytes());