public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getEntryPointIdBytes()); } for (int i = 0; i < handle_.size(); i++) { output.writeMessage(2, handle_.get(i)); } for (int i = 0; i < otc_.size(); i++) { output.writeMessage(4, otc_.get(i)); } getUnknownFields().writeTo(output); }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getEntryPointIdBytes()); } for (int i = 0; i < handle_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, handle_.get(i)); } for (int i = 0; i < otc_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, otc_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }