| 2438 | } |
| 2439 | |
| 2440 | public void writeTo(com.google.protobuf.CodedOutputStream output) |
| 2441 | throws java.io.IOException { |
| 2442 | if (friendNumber_ != 0) { |
| 2443 | output.writeUInt32(1, friendNumber_); |
| 2444 | } |
| 2445 | if (width_ != 0) { |
| 2446 | output.writeUInt32(2, width_); |
| 2447 | } |
| 2448 | if (height_ != 0) { |
| 2449 | output.writeUInt32(3, height_); |
| 2450 | } |
| 2451 | if (!y_.isEmpty()) { |
| 2452 | output.writeBytes(4, y_); |
| 2453 | } |
| 2454 | if (!u_.isEmpty()) { |
| 2455 | output.writeBytes(5, u_); |
| 2456 | } |
| 2457 | if (!v_.isEmpty()) { |
| 2458 | output.writeBytes(6, v_); |
| 2459 | } |
| 2460 | if (yStride_ != 0) { |
| 2461 | output.writeInt32(7, yStride_); |
| 2462 | } |
| 2463 | if (uStride_ != 0) { |
| 2464 | output.writeInt32(8, uStride_); |
| 2465 | } |
| 2466 | if (vStride_ != 0) { |
| 2467 | output.writeInt32(9, vStride_); |
| 2468 | } |
| 2469 | } |
| 2470 | |
| 2471 | public int getSerializedSize() { |
| 2472 | int size = memoizedSerializedSize; |