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 (defaultValue_ != null) { output.writeMessage(3, getDefaultValue()); } if (!getDescriptionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, 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 (defaultValue_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getDefaultValue()); } if (!getDescriptionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, 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 (defaultValue_ != null) { size += com.github.os72.protobuf351.CodedOutputStream .computeMessageSize(3, getDefaultValue()); } if (!getDescriptionBytes().isEmpty()) { size += com.github.os72.protobuf351.GeneratedMessageV3.computeStringSize(4, 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 (defaultValue_ != null) { output.writeMessage(3, getDefaultValue()); } if (!getDescriptionBytes().isEmpty()) { com.github.os72.protobuf351.GeneratedMessageV3.writeString(output, 4, description_); } unknownFields.writeTo(output); }