public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, majorType_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, namePart_); } for (int i = 0; i < child_.size(); i++) { output.writeMessage(3, child_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(4, valueCount_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(5, varByteLength_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(7, bufferLength_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, majorType_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, namePart_); } for (int i = 0; i < child_.size(); i++) { output.writeMessage(3, child_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(4, valueCount_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(5, varByteLength_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(7, bufferLength_); } getUnknownFields().writeTo(output); }