(com.google.protobuf.CodedOutputStream output)
| 1513 | } |
| 1514 | |
| 1515 | public void writeTo(com.google.protobuf.CodedOutputStream output) |
| 1516 | throws java.io.IOException { |
| 1517 | if (friendNumber_ != 0) { |
| 1518 | output.writeUInt32(1, friendNumber_); |
| 1519 | } |
| 1520 | if (!name_.isEmpty()) { |
| 1521 | output.writeBytes(2, name_); |
| 1522 | } |
| 1523 | } |
| 1524 | |
| 1525 | public int getSerializedSize() { |
| 1526 | int size = memoizedSerializedSize; |