public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!getRenameToBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, renameTo_); } if (!getDescriptionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } unknownFields.writeTo(output); }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (!getRenameToBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, renameTo_); } if (!getDescriptionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { size += com.github.os72.protobuf351.GeneratedMessageV3.computeStringSize(1, name_); } if (!getRenameToBytes().isEmpty()) { size += com.github.os72.protobuf351.GeneratedMessageV3.computeStringSize(2, renameTo_); } if (!getDescriptionBytes().isEmpty()) { size += com.github.os72.protobuf351.GeneratedMessageV3.computeStringSize(3, description_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.github.os72.protobuf351.GeneratedMessageV3.writeString(output, 1, name_); } if (!getRenameToBytes().isEmpty()) { com.github.os72.protobuf351.GeneratedMessageV3.writeString(output, 2, renameTo_); } if (!getDescriptionBytes().isEmpty()) { com.github.os72.protobuf351.GeneratedMessageV3.writeString(output, 3, description_); } unknownFields.writeTo(output); }