public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } if (!getPathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); } if (!codePackage_.isEmpty()) { output.writeBytes(3, codePackage_); } }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getTypeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); } if (!getPathBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (!codePackage_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, codePackage_); } memoizedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } if (!getPathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); } if (!codePackage_.isEmpty()) { output.writeBytes(3, codePackage_); } }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getTypeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); } if (!getPathBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (!codePackage_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, codePackage_); } memoizedSize = size; return size; }