| 5443 | } |
| 5444 | |
| 5445 | public void writeTo(com.google.protobuf.CodedOutputStream output) |
| 5446 | throws java.io.IOException { |
| 5447 | if (friendNumber_ != 0) { |
| 5448 | output.writeUInt32(1, friendNumber_); |
| 5449 | } |
| 5450 | if (fileNumber_ != 0) { |
| 5451 | output.writeUInt32(2, fileNumber_); |
| 5452 | } |
| 5453 | if (kind_ != 0) { |
| 5454 | output.writeUInt32(3, kind_); |
| 5455 | } |
| 5456 | if (fileSize_ != 0L) { |
| 5457 | output.writeUInt64(4, fileSize_); |
| 5458 | } |
| 5459 | if (!filename_.isEmpty()) { |
| 5460 | output.writeBytes(5, filename_); |
| 5461 | } |
| 5462 | } |
| 5463 | |
| 5464 | public int getSerializedSize() { |
| 5465 | int size = memoizedSerializedSize; |