public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getChannelIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, channelId_); } if (number_ != 0L) { output.writeUInt64(2, number_); } for (int i = 0; i < filteredTransactions_.size(); i++) { output.writeMessage(4, filteredTransactions_.get(i)); } }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getChannelIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, channelId_); } if (number_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, number_); } for (int i = 0; i < filteredTransactions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, filteredTransactions_.get(i)); } memoizedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getChannelIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, channelId_); } if (number_ != 0L) { output.writeUInt64(2, number_); } for (int i = 0; i < filteredTransactions_.size(); i++) { output.writeMessage(4, filteredTransactions_.get(i)); } }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getChannelIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, channelId_); } if (number_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, number_); } for (int i = 0; i < filteredTransactions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, filteredTransactions_.get(i)); } memoizedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getChannelIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, channelId_); } if (number_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, number_); } for (int i = 0; i < filteredTransactions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, filteredTransactions_.get(i)); } memoizedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getChannelIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, channelId_); } if (number_ != 0L) { output.writeUInt64(2, number_); } for (int i = 0; i < filteredTransactions_.size(); i++) { output.writeMessage(4, filteredTransactions_.get(i)); } }