| 4048 | } |
| 4049 | |
| 4050 | public void writeTo(com.google.protobuf.CodedOutputStream output) |
| 4051 | throws java.io.IOException { |
| 4052 | if (friendNumber_ != 0) { |
| 4053 | output.writeUInt32(1, friendNumber_); |
| 4054 | } |
| 4055 | if (type_ != MessageType.Type.NORMAL.getNumber()) { |
| 4056 | output.writeEnum(2, type_); |
| 4057 | } |
| 4058 | if (timeDelta_ != 0) { |
| 4059 | output.writeUInt32(3, timeDelta_); |
| 4060 | } |
| 4061 | if (!message_.isEmpty()) { |
| 4062 | output.writeBytes(4, message_); |
| 4063 | } |
| 4064 | } |
| 4065 | |
| 4066 | public int getSerializedSize() { |
| 4067 | int size = memoizedSerializedSize; |