@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (value_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, quotaStatus_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, quotaUsage_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, quotaLimit_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, familyName_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, sequenceId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } if (remainingBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, remainingBytes_); } if (!blob_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, blob_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, familyName_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getStoreHomeDirBytes()); } { int dataSize = 0; for (int i = 0; i < storeFile_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(storeFile_.getByteString(i)); } size += dataSize; size += 1 * getStoreFileList().size(); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, storeFileSizeBytes_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
/** * Get the number of bytes required to encode this field, including field * number. */ public int getSerializedSize(final int fieldNumber) { int result = 0; for (final long value : varint) { result += CodedOutputStream.computeUInt64Size(fieldNumber, value); } for (final int value : fixed32) { result += CodedOutputStream.computeFixed32Size(fieldNumber, value); } for (final long value : fixed64) { result += CodedOutputStream.computeFixed64Size(fieldNumber, value); } for (final ByteString value : lengthDelimited) { result += CodedOutputStream.computeBytesSize(fieldNumber, value); } for (final UnknownFieldSet value : group) { result += CodedOutputStream.computeGroupSize(fieldNumber, value); } return result; }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (sequence_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, sequence_); } if (channelGroup_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getChannelGroup()); } memoizedSize = size; return size; }
if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, encodedRegionName_); .computeBytesSize(2, tableName_); .computeUInt64Size(3, logSequenceNumber_); .computeUInt64Size(4, writeTime_); .computeMessageSize(5, clusterId_); .computeMessageSize(6, scopes_.get(i)); .computeMessageSize(8, clusterIds_.get(i)); .computeUInt64Size(9, nonceGroup_); .computeUInt64Size(10, nonce_); .computeUInt64Size(11, origSequenceNumber_); size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size;
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < openInfo_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, openInfo_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, serverStartCode_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, masterSystemTime_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getPeerIDBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, ageOfLastShippedOp_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, sizeOfLogQueue_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, timeStampOfLastShippedOp_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, replicationLag_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (iD_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, iD_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
/** * Get the number of bytes required to encode this field, including field * number. */ public int getSerializedSize(final int fieldNumber) { int result = 0; for (final long value : varint) { result += CodedOutputStream.computeUInt64Size(fieldNumber, value); } for (final int value : fixed32) { result += CodedOutputStream.computeFixed32Size(fieldNumber, value); } for (final long value : fixed64) { result += CodedOutputStream.computeFixed64Size(fieldNumber, value); } for (final ByteString value : lengthDelimited) { result += CodedOutputStream.computeBytesSize(fieldNumber, value); } for (final UnknownFieldSet value : group) { result += CodedOutputStream.computeGroupSize(fieldNumber, value); } return result; }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (nonce_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, nonce_); } for (int i = 0; i < data_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, data_.get(i)); } if (msgType_ != org.hyperledger.fabric.protos.gossip.Message.PullMsgType.UNDEFINED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, msgType_); } memoizedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, reference_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, fileSize_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, lastFlushedSequenceId_); } for (int i = 0; i < storeSequenceId_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, storeSequenceId_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, mtime_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getPathBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, rowCount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, cellCount_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
switch (WireFormat.getTagWireType(tag)) { case WireFormat.WIRETYPE_VARINT: size += CodedOutputStream.computeUInt64Size(fieldNumber, (Long) objects[i]); break; case WireFormat.WIRETYPE_FIXED32: break; case WireFormat.WIRETYPE_LENGTH_DELIMITED: size += CodedOutputStream.computeBytesSize(fieldNumber, (ByteString) objects[i]); break; case WireFormat.WIRETYPE_START_GROUP:
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; }
if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, regionId_); .computeMessageSize(2, tableName_); .computeBytesSize(3, startKey_); .computeBytesSize(4, endKey_); .computeInt32Size(7, replicaId_); size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size;