@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!getStringValueBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stringValue_); } if (boolValue_ != false) { output.writeBool(2, boolValue_); } if (intValue_ != 0) { output.writeSInt32(3, intValue_); } for (int i = 0; i < stringArrayValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, stringArrayValues_.getRaw(i)); } if (getIntArrayValuesList().size() > 0) { output.writeUInt32NoTag(42); output.writeUInt32NoTag(intArrayValuesMemoizedSerializedSize); } for (int i = 0; i < intArrayValues_.size(); i++) { output.writeSInt32NoTag(intArrayValues_.get(i)); } if (type_ != org.apache.calcite.avatica.proto.Common.MetaDataOperationArgument.ArgumentType.STRING.getNumber()) { output.writeEnum(6, type_); } unknownFields.writeTo(output); }
@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!getStringValueBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stringValue_); } if (boolValue_ != false) { output.writeBool(2, boolValue_); } if (intValue_ != 0) { output.writeSInt32(3, intValue_); } for (int i = 0; i < stringArrayValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, stringArrayValues_.getRaw(i)); } if (getIntArrayValuesList().size() > 0) { output.writeUInt32NoTag(42); output.writeUInt32NoTag(intArrayValuesMemoizedSerializedSize); } for (int i = 0; i < intArrayValues_.size(); i++) { output.writeSInt32NoTag(intArrayValues_.get(i)); } if (type_ != org.apache.calcite.avatica.proto.Common.MetaDataOperationArgument.ArgumentType.STRING.getNumber()) { output.writeEnum(6, type_); } unknownFields.writeTo(output); }
if (!getStringValueBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, stringValue_);
if (!getStringValueBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, stringValue_);
if (!getStringValueBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, stringValue_);
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!getStringValueBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 1, stringValue_); } if (boolValue_ != false) { output.writeBool(2, boolValue_); } if (intValue_ != 0) { output.writeSInt32(3, intValue_); } for (int i = 0; i < stringArrayValues_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 4, stringArrayValues_.getRaw(i)); } if (getIntArrayValuesList().size() > 0) { output.writeRawVarint32(42); output.writeRawVarint32(intArrayValuesMemoizedSerializedSize); } for (int i = 0; i < intArrayValues_.size(); i++) { output.writeSInt32NoTag(intArrayValues_.get(i)); } if (type_ != org.apache.calcite.avatica.proto.Common.MetaDataOperationArgument.ArgumentType.STRING.getNumber()) { output.writeEnum(6, type_); } }