Package com.mysql.cj.x.protobuf
Class MysqlxDatatypes.Scalar.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
com.mysql.cj.x.protobuf.MysqlxDatatypes.Scalar.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MysqlxDatatypes.ScalarOrBuilder,java.lang.Cloneable
- Enclosing class:
- MysqlxDatatypes.Scalar
public static final class MysqlxDatatypes.Scalar.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder> implements MysqlxDatatypes.ScalarOrBuilder
a scalarProtobuf type
Mysqlx.Datatypes.Scalar-
Method Summary
Modifier and Type Method Description MysqlxDatatypes.Scalar.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)MysqlxDatatypes.Scalarbuild()MysqlxDatatypes.ScalarbuildPartial()MysqlxDatatypes.Scalar.Builderclear()MysqlxDatatypes.Scalar.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MysqlxDatatypes.Scalar.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MysqlxDatatypes.Scalar.BuilderclearType()required .Mysqlx.Datatypes.Scalar.Type type = 1;MysqlxDatatypes.Scalar.BuilderclearVBool()optional bool v_bool = 8;MysqlxDatatypes.Scalar.BuilderclearVDouble()optional double v_double = 6;MysqlxDatatypes.Scalar.BuilderclearVFloat()optional float v_float = 7;MysqlxDatatypes.Scalar.BuilderclearVOctets()4 is unused, was Null which doesn't have a storage anymoreMysqlxDatatypes.Scalar.BuilderclearVSignedInt()optional sint64 v_signed_int = 2;MysqlxDatatypes.Scalar.BuilderclearVString()optional .Mysqlx.Datatypes.Scalar.String v_string = 9;MysqlxDatatypes.Scalar.BuilderclearVUnsignedInt()optional uint64 v_unsigned_int = 3;MysqlxDatatypes.Scalar.Builderclone()MysqlxDatatypes.ScalargetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()MysqlxDatatypes.Scalar.TypegetType()required .Mysqlx.Datatypes.Scalar.Type type = 1;booleangetVBool()optional bool v_bool = 8;doublegetVDouble()optional double v_double = 6;floatgetVFloat()optional float v_float = 7;MysqlxDatatypes.Scalar.OctetsgetVOctets()4 is unused, was Null which doesn't have a storage anymoreMysqlxDatatypes.Scalar.Octets.BuildergetVOctetsBuilder()4 is unused, was Null which doesn't have a storage anymoreMysqlxDatatypes.Scalar.OctetsOrBuildergetVOctetsOrBuilder()4 is unused, was Null which doesn't have a storage anymorelonggetVSignedInt()optional sint64 v_signed_int = 2;MysqlxDatatypes.Scalar.StringgetVString()optional .Mysqlx.Datatypes.Scalar.String v_string = 9;MysqlxDatatypes.Scalar.String.BuildergetVStringBuilder()optional .Mysqlx.Datatypes.Scalar.String v_string = 9;MysqlxDatatypes.Scalar.StringOrBuildergetVStringOrBuilder()optional .Mysqlx.Datatypes.Scalar.String v_string = 9;longgetVUnsignedInt()optional uint64 v_unsigned_int = 3;booleanhasType()required .Mysqlx.Datatypes.Scalar.Type type = 1;booleanhasVBool()optional bool v_bool = 8;booleanhasVDouble()optional double v_double = 6;booleanhasVFloat()optional float v_float = 7;booleanhasVOctets()4 is unused, was Null which doesn't have a storage anymorebooleanhasVSignedInt()optional sint64 v_signed_int = 2;booleanhasVString()optional .Mysqlx.Datatypes.Scalar.String v_string = 9;booleanhasVUnsignedInt()optional uint64 v_unsigned_int = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MysqlxDatatypes.Scalar.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MysqlxDatatypes.Scalar.BuildermergeFrom(com.google.protobuf.Message other)MysqlxDatatypes.Scalar.BuildermergeFrom(MysqlxDatatypes.Scalar other)MysqlxDatatypes.Scalar.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MysqlxDatatypes.Scalar.BuildermergeVOctets(MysqlxDatatypes.Scalar.Octets value)4 is unused, was Null which doesn't have a storage anymoreMysqlxDatatypes.Scalar.BuildermergeVString(MysqlxDatatypes.Scalar.String value)optional .Mysqlx.Datatypes.Scalar.String v_string = 9;MysqlxDatatypes.Scalar.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)MysqlxDatatypes.Scalar.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)MysqlxDatatypes.Scalar.BuildersetType(MysqlxDatatypes.Scalar.Type value)required .Mysqlx.Datatypes.Scalar.Type type = 1;MysqlxDatatypes.Scalar.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MysqlxDatatypes.Scalar.BuildersetVBool(boolean value)optional bool v_bool = 8;MysqlxDatatypes.Scalar.BuildersetVDouble(double value)optional double v_double = 6;MysqlxDatatypes.Scalar.BuildersetVFloat(float value)optional float v_float = 7;MysqlxDatatypes.Scalar.BuildersetVOctets(MysqlxDatatypes.Scalar.Octets value)4 is unused, was Null which doesn't have a storage anymoreMysqlxDatatypes.Scalar.BuildersetVOctets(MysqlxDatatypes.Scalar.Octets.Builder builderForValue)4 is unused, was Null which doesn't have a storage anymoreMysqlxDatatypes.Scalar.BuildersetVSignedInt(long value)optional sint64 v_signed_int = 2;MysqlxDatatypes.Scalar.BuildersetVString(MysqlxDatatypes.Scalar.String value)optional .Mysqlx.Datatypes.Scalar.String v_string = 9;MysqlxDatatypes.Scalar.BuildersetVString(MysqlxDatatypes.Scalar.String.Builder builderForValue)optional .Mysqlx.Datatypes.Scalar.String v_string = 9;MysqlxDatatypes.Scalar.BuildersetVUnsignedInt(long value)optional uint64 v_unsigned_int = 3;Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
setField
public MysqlxDatatypes.Scalar.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
clearField
public MysqlxDatatypes.Scalar.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
clearOneof
public MysqlxDatatypes.Scalar.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
setRepeatedField
public MysqlxDatatypes.Scalar.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
addRepeatedField
public MysqlxDatatypes.Scalar.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MysqlxDatatypes.Scalar.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
mergeFrom
public MysqlxDatatypes.Scalar.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MysqlxDatatypes.Scalar.Builder>- Throws:
java.io.IOException
-
hasType
public boolean hasType()required .Mysqlx.Datatypes.Scalar.Type type = 1;- Specified by:
hasTypein interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- Whether the type field is set.
-
getType
required .Mysqlx.Datatypes.Scalar.Type type = 1;- Specified by:
getTypein interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- The type.
-
setType
required .Mysqlx.Datatypes.Scalar.Type type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
required .Mysqlx.Datatypes.Scalar.Type type = 1;- Returns:
- This builder for chaining.
-
hasVSignedInt
public boolean hasVSignedInt()optional sint64 v_signed_int = 2;- Specified by:
hasVSignedIntin interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- Whether the vSignedInt field is set.
-
getVSignedInt
public long getVSignedInt()optional sint64 v_signed_int = 2;- Specified by:
getVSignedIntin interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- The vSignedInt.
-
setVSignedInt
optional sint64 v_signed_int = 2;- Parameters:
value- The vSignedInt to set.- Returns:
- This builder for chaining.
-
clearVSignedInt
optional sint64 v_signed_int = 2;- Returns:
- This builder for chaining.
-
hasVUnsignedInt
public boolean hasVUnsignedInt()optional uint64 v_unsigned_int = 3;- Specified by:
hasVUnsignedIntin interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- Whether the vUnsignedInt field is set.
-
getVUnsignedInt
public long getVUnsignedInt()optional uint64 v_unsigned_int = 3;- Specified by:
getVUnsignedIntin interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- The vUnsignedInt.
-
setVUnsignedInt
optional uint64 v_unsigned_int = 3;- Parameters:
value- The vUnsignedInt to set.- Returns:
- This builder for chaining.
-
clearVUnsignedInt
optional uint64 v_unsigned_int = 3;- Returns:
- This builder for chaining.
-
hasVOctets
public boolean hasVOctets()4 is unused, was Null which doesn't have a storage anymore
optional .Mysqlx.Datatypes.Scalar.Octets v_octets = 5;- Specified by:
hasVOctetsin interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- Whether the vOctets field is set.
-
getVOctets
4 is unused, was Null which doesn't have a storage anymore
optional .Mysqlx.Datatypes.Scalar.Octets v_octets = 5;- Specified by:
getVOctetsin interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- The vOctets.
-
setVOctets
4 is unused, was Null which doesn't have a storage anymore
optional .Mysqlx.Datatypes.Scalar.Octets v_octets = 5; -
setVOctets
public MysqlxDatatypes.Scalar.Builder setVOctets(MysqlxDatatypes.Scalar.Octets.Builder builderForValue)4 is unused, was Null which doesn't have a storage anymore
optional .Mysqlx.Datatypes.Scalar.Octets v_octets = 5; -
mergeVOctets
4 is unused, was Null which doesn't have a storage anymore
optional .Mysqlx.Datatypes.Scalar.Octets v_octets = 5; -
clearVOctets
4 is unused, was Null which doesn't have a storage anymore
optional .Mysqlx.Datatypes.Scalar.Octets v_octets = 5; -
getVOctetsBuilder
4 is unused, was Null which doesn't have a storage anymore
optional .Mysqlx.Datatypes.Scalar.Octets v_octets = 5; -
getVOctetsOrBuilder
4 is unused, was Null which doesn't have a storage anymore
optional .Mysqlx.Datatypes.Scalar.Octets v_octets = 5;- Specified by:
getVOctetsOrBuilderin interfaceMysqlxDatatypes.ScalarOrBuilder
-
hasVDouble
public boolean hasVDouble()optional double v_double = 6;- Specified by:
hasVDoublein interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- Whether the vDouble field is set.
-
getVDouble
public double getVDouble()optional double v_double = 6;- Specified by:
getVDoublein interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- The vDouble.
-
setVDouble
optional double v_double = 6;- Parameters:
value- The vDouble to set.- Returns:
- This builder for chaining.
-
clearVDouble
optional double v_double = 6;- Returns:
- This builder for chaining.
-
hasVFloat
public boolean hasVFloat()optional float v_float = 7;- Specified by:
hasVFloatin interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- Whether the vFloat field is set.
-
getVFloat
public float getVFloat()optional float v_float = 7;- Specified by:
getVFloatin interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- The vFloat.
-
setVFloat
optional float v_float = 7;- Parameters:
value- The vFloat to set.- Returns:
- This builder for chaining.
-
clearVFloat
optional float v_float = 7;- Returns:
- This builder for chaining.
-
hasVBool
public boolean hasVBool()optional bool v_bool = 8;- Specified by:
hasVBoolin interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- Whether the vBool field is set.
-
getVBool
public boolean getVBool()optional bool v_bool = 8;- Specified by:
getVBoolin interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- The vBool.
-
setVBool
optional bool v_bool = 8;- Parameters:
value- The vBool to set.- Returns:
- This builder for chaining.
-
clearVBool
optional bool v_bool = 8;- Returns:
- This builder for chaining.
-
hasVString
public boolean hasVString()optional .Mysqlx.Datatypes.Scalar.String v_string = 9;- Specified by:
hasVStringin interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- Whether the vString field is set.
-
getVString
optional .Mysqlx.Datatypes.Scalar.String v_string = 9;- Specified by:
getVStringin interfaceMysqlxDatatypes.ScalarOrBuilder- Returns:
- The vString.
-
setVString
optional .Mysqlx.Datatypes.Scalar.String v_string = 9; -
setVString
public MysqlxDatatypes.Scalar.Builder setVString(MysqlxDatatypes.Scalar.String.Builder builderForValue)optional .Mysqlx.Datatypes.Scalar.String v_string = 9; -
mergeVString
optional .Mysqlx.Datatypes.Scalar.String v_string = 9; -
clearVString
optional .Mysqlx.Datatypes.Scalar.String v_string = 9; -
getVStringBuilder
optional .Mysqlx.Datatypes.Scalar.String v_string = 9; -
getVStringOrBuilder
optional .Mysqlx.Datatypes.Scalar.String v_string = 9;- Specified by:
getVStringOrBuilderin interfaceMysqlxDatatypes.ScalarOrBuilder
-
setUnknownFields
public final MysqlxDatatypes.Scalar.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
mergeUnknownFields
public final MysqlxDatatypes.Scalar.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-