public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getChaincodeIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, chaincodeId_); } if (!getTxIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, txId_); } if (!getEventNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, eventName_); } if (!payload_.isEmpty()) { output.writeBytes(4, payload_); } }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getChaincodeIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, chaincodeId_); } if (!getTxIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, txId_); } if (!getEventNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, eventName_); } if (!payload_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, payload_); } memoizedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getChaincodeIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, chaincodeId_); } if (!getTxIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, txId_); } if (!getEventNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, eventName_); } if (!payload_.isEmpty()) { output.writeBytes(4, payload_); } }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getChaincodeIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, chaincodeId_); } if (!getTxIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, txId_); } if (!getEventNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, eventName_); } if (!payload_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, payload_); } memoizedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getChaincodeIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, chaincodeId_); } if (!getTxIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, txId_); } if (!getEventNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, eventName_); } if (!payload_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, payload_); } memoizedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getChaincodeIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, chaincodeId_); } if (!getTxIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, txId_); } if (!getEventNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, eventName_); } if (!payload_.isEmpty()) { output.writeBytes(4, payload_); } }