类 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
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MysqlxDatatypes.ScalarOrBuilder,Cloneable
public static final class MysqlxDatatypes.Scalar.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder> implements MysqlxDatatypes.ScalarOrBuilder
a scalar
Protobuf typeMysqlx.Datatypes.Scalar
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 MysqlxDatatypes.Scalar.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, 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, Object value)MysqlxDatatypes.Scalar.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, 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;-
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
-
-
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
clear
public MysqlxDatatypes.Scalar.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
getDefaultInstanceForType
public MysqlxDatatypes.Scalar getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public MysqlxDatatypes.Scalar build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public MysqlxDatatypes.Scalar buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public MysqlxDatatypes.Scalar.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
setField
public MysqlxDatatypes.Scalar.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
clearField
public MysqlxDatatypes.Scalar.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
clearOneof
public MysqlxDatatypes.Scalar.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
setRepeatedField
public MysqlxDatatypes.Scalar.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
addRepeatedField
public MysqlxDatatypes.Scalar.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
mergeFrom
public MysqlxDatatypes.Scalar.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<MysqlxDatatypes.Scalar.Builder>
-
mergeFrom
public MysqlxDatatypes.Scalar.Builder mergeFrom(MysqlxDatatypes.Scalar other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
mergeFrom
public MysqlxDatatypes.Scalar.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<MysqlxDatatypes.Scalar.Builder>- 抛出:
IOException
-
hasType
public boolean hasType()
required .Mysqlx.Datatypes.Scalar.Type type = 1;- 指定者:
hasType在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- Whether the type field is set.
-
getType
public MysqlxDatatypes.Scalar.Type getType()
required .Mysqlx.Datatypes.Scalar.Type type = 1;- 指定者:
getType在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- The type.
-
setType
public MysqlxDatatypes.Scalar.Builder setType(MysqlxDatatypes.Scalar.Type value)
required .Mysqlx.Datatypes.Scalar.Type type = 1;- 参数:
value- The type to set.- 返回:
- This builder for chaining.
-
clearType
public MysqlxDatatypes.Scalar.Builder clearType()
required .Mysqlx.Datatypes.Scalar.Type type = 1;- 返回:
- This builder for chaining.
-
hasVSignedInt
public boolean hasVSignedInt()
optional sint64 v_signed_int = 2;- 指定者:
hasVSignedInt在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- Whether the vSignedInt field is set.
-
getVSignedInt
public long getVSignedInt()
optional sint64 v_signed_int = 2;- 指定者:
getVSignedInt在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- The vSignedInt.
-
setVSignedInt
public MysqlxDatatypes.Scalar.Builder setVSignedInt(long value)
optional sint64 v_signed_int = 2;- 参数:
value- The vSignedInt to set.- 返回:
- This builder for chaining.
-
clearVSignedInt
public MysqlxDatatypes.Scalar.Builder clearVSignedInt()
optional sint64 v_signed_int = 2;- 返回:
- This builder for chaining.
-
hasVUnsignedInt
public boolean hasVUnsignedInt()
optional uint64 v_unsigned_int = 3;- 指定者:
hasVUnsignedInt在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- Whether the vUnsignedInt field is set.
-
getVUnsignedInt
public long getVUnsignedInt()
optional uint64 v_unsigned_int = 3;- 指定者:
getVUnsignedInt在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- The vUnsignedInt.
-
setVUnsignedInt
public MysqlxDatatypes.Scalar.Builder setVUnsignedInt(long value)
optional uint64 v_unsigned_int = 3;- 参数:
value- The vUnsignedInt to set.- 返回:
- This builder for chaining.
-
clearVUnsignedInt
public MysqlxDatatypes.Scalar.Builder clearVUnsignedInt()
optional uint64 v_unsigned_int = 3;- 返回:
- 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;- 指定者:
hasVOctets在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- Whether the vOctets field is set.
-
getVOctets
public MysqlxDatatypes.Scalar.Octets getVOctets()
4 is unused, was Null which doesn't have a storage anymore
optional .Mysqlx.Datatypes.Scalar.Octets v_octets = 5;- 指定者:
getVOctets在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- The vOctets.
-
setVOctets
public MysqlxDatatypes.Scalar.Builder setVOctets(MysqlxDatatypes.Scalar.Octets value)
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
public MysqlxDatatypes.Scalar.Builder mergeVOctets(MysqlxDatatypes.Scalar.Octets value)
4 is unused, was Null which doesn't have a storage anymore
optional .Mysqlx.Datatypes.Scalar.Octets v_octets = 5;
-
clearVOctets
public MysqlxDatatypes.Scalar.Builder clearVOctets()
4 is unused, was Null which doesn't have a storage anymore
optional .Mysqlx.Datatypes.Scalar.Octets v_octets = 5;
-
getVOctetsBuilder
public MysqlxDatatypes.Scalar.Octets.Builder getVOctetsBuilder()
4 is unused, was Null which doesn't have a storage anymore
optional .Mysqlx.Datatypes.Scalar.Octets v_octets = 5;
-
getVOctetsOrBuilder
public MysqlxDatatypes.Scalar.OctetsOrBuilder getVOctetsOrBuilder()
4 is unused, was Null which doesn't have a storage anymore
optional .Mysqlx.Datatypes.Scalar.Octets v_octets = 5;
-
hasVDouble
public boolean hasVDouble()
optional double v_double = 6;- 指定者:
hasVDouble在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- Whether the vDouble field is set.
-
getVDouble
public double getVDouble()
optional double v_double = 6;- 指定者:
getVDouble在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- The vDouble.
-
setVDouble
public MysqlxDatatypes.Scalar.Builder setVDouble(double value)
optional double v_double = 6;- 参数:
value- The vDouble to set.- 返回:
- This builder for chaining.
-
clearVDouble
public MysqlxDatatypes.Scalar.Builder clearVDouble()
optional double v_double = 6;- 返回:
- This builder for chaining.
-
hasVFloat
public boolean hasVFloat()
optional float v_float = 7;- 指定者:
hasVFloat在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- Whether the vFloat field is set.
-
getVFloat
public float getVFloat()
optional float v_float = 7;- 指定者:
getVFloat在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- The vFloat.
-
setVFloat
public MysqlxDatatypes.Scalar.Builder setVFloat(float value)
optional float v_float = 7;- 参数:
value- The vFloat to set.- 返回:
- This builder for chaining.
-
clearVFloat
public MysqlxDatatypes.Scalar.Builder clearVFloat()
optional float v_float = 7;- 返回:
- This builder for chaining.
-
hasVBool
public boolean hasVBool()
optional bool v_bool = 8;- 指定者:
hasVBool在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- Whether the vBool field is set.
-
getVBool
public boolean getVBool()
optional bool v_bool = 8;- 指定者:
getVBool在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- The vBool.
-
setVBool
public MysqlxDatatypes.Scalar.Builder setVBool(boolean value)
optional bool v_bool = 8;- 参数:
value- The vBool to set.- 返回:
- This builder for chaining.
-
clearVBool
public MysqlxDatatypes.Scalar.Builder clearVBool()
optional bool v_bool = 8;- 返回:
- This builder for chaining.
-
hasVString
public boolean hasVString()
optional .Mysqlx.Datatypes.Scalar.String v_string = 9;- 指定者:
hasVString在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- Whether the vString field is set.
-
getVString
public MysqlxDatatypes.Scalar.String getVString()
optional .Mysqlx.Datatypes.Scalar.String v_string = 9;- 指定者:
getVString在接口中MysqlxDatatypes.ScalarOrBuilder- 返回:
- The vString.
-
setVString
public MysqlxDatatypes.Scalar.Builder setVString(MysqlxDatatypes.Scalar.String value)
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
public MysqlxDatatypes.Scalar.Builder mergeVString(MysqlxDatatypes.Scalar.String value)
optional .Mysqlx.Datatypes.Scalar.String v_string = 9;
-
clearVString
public MysqlxDatatypes.Scalar.Builder clearVString()
optional .Mysqlx.Datatypes.Scalar.String v_string = 9;
-
getVStringBuilder
public MysqlxDatatypes.Scalar.String.Builder getVStringBuilder()
optional .Mysqlx.Datatypes.Scalar.String v_string = 9;
-
getVStringOrBuilder
public MysqlxDatatypes.Scalar.StringOrBuilder getVStringOrBuilder()
optional .Mysqlx.Datatypes.Scalar.String v_string = 9;
-
setUnknownFields
public final MysqlxDatatypes.Scalar.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
mergeUnknownFields
public final MysqlxDatatypes.Scalar.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.Builder>
-
-