(com.google.protobuf.CodedOutputStream output)
| 5944 | } |
| 5945 | |
| 5946 | public void writeTo(com.google.protobuf.CodedOutputStream output) |
| 5947 | throws java.io.IOException { |
| 5948 | if (friendNumber_ != 0) { |
| 5949 | output.writeUInt32(1, friendNumber_); |
| 5950 | } |
| 5951 | if (fileNumber_ != 0) { |
| 5952 | output.writeUInt32(2, fileNumber_); |
| 5953 | } |
| 5954 | if (position_ != 0L) { |
| 5955 | output.writeUInt64(3, position_); |
| 5956 | } |
| 5957 | if (!data_.isEmpty()) { |
| 5958 | output.writeBytes(4, data_); |
| 5959 | } |
| 5960 | } |
| 5961 | |
| 5962 | public int getSerializedSize() { |
| 5963 | int size = memoizedSerializedSize; |