public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws java.io.IOException { if (!getAllocatorNameBytes().isEmpty()) { com.github.os72.protobuf351.GeneratedMessageV3.writeString(output, 1, allocatorName_); } if (totalBytes_ != 0L) { output.writeInt64(2, totalBytes_); } if (peakBytes_ != 0L) { output.writeInt64(3, peakBytes_); } if (liveBytes_ != 0L) { output.writeInt64(4, liveBytes_); } if (allocatorBytesInUse_ != 0L) { output.writeInt64(5, allocatorBytesInUse_); } for (int i = 0; i < allocationRecords_.size(); i++) { output.writeMessage(6, allocationRecords_.get(i)); } unknownFields.writeTo(output); }
if (!getAllocatorNameBytes().isEmpty()) { size += com.github.os72.protobuf351.GeneratedMessageV3.computeStringSize(1, allocatorName_);
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getAllocatorNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, allocatorName_); } if (totalBytes_ != 0L) { output.writeInt64(2, totalBytes_); } if (peakBytes_ != 0L) { output.writeInt64(3, peakBytes_); } if (liveBytes_ != 0L) { output.writeInt64(4, liveBytes_); } if (allocatorBytesInUse_ != 0L) { output.writeInt64(5, allocatorBytesInUse_); } for (int i = 0; i < allocationRecords_.size(); i++) { output.writeMessage(6, allocationRecords_.get(i)); } unknownFields.writeTo(output); }
if (!getAllocatorNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, allocatorName_);