类 MysqlxDatatypes.Scalar.String.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.String.Builder>
-
- com.mysql.cj.x.protobuf.MysqlxDatatypes.Scalar.String.Builder
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MysqlxDatatypes.Scalar.StringOrBuilder,Cloneable
public static final class MysqlxDatatypes.Scalar.String.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.String.Builder> implements MysqlxDatatypes.Scalar.StringOrBuilder
a string with a charset/collation
Protobuf typeMysqlx.Datatypes.Scalar.String
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 MysqlxDatatypes.Scalar.String.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MysqlxDatatypes.Scalar.Stringbuild()MysqlxDatatypes.Scalar.StringbuildPartial()MysqlxDatatypes.Scalar.String.Builderclear()MysqlxDatatypes.Scalar.String.BuilderclearCollation()optional uint64 collation = 2;MysqlxDatatypes.Scalar.String.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MysqlxDatatypes.Scalar.String.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MysqlxDatatypes.Scalar.String.BuilderclearValue()required bytes value = 1;MysqlxDatatypes.Scalar.String.Builderclone()longgetCollation()optional uint64 collation = 2;MysqlxDatatypes.Scalar.StringgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.ByteStringgetValue()required bytes value = 1;booleanhasCollation()optional uint64 collation = 2;booleanhasValue()required bytes value = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MysqlxDatatypes.Scalar.String.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MysqlxDatatypes.Scalar.String.BuildermergeFrom(com.google.protobuf.Message other)MysqlxDatatypes.Scalar.String.BuildermergeFrom(MysqlxDatatypes.Scalar.String other)MysqlxDatatypes.Scalar.String.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MysqlxDatatypes.Scalar.String.BuildersetCollation(long value)optional uint64 collation = 2;MysqlxDatatypes.Scalar.String.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MysqlxDatatypes.Scalar.String.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MysqlxDatatypes.Scalar.String.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MysqlxDatatypes.Scalar.String.BuildersetValue(com.google.protobuf.ByteString value)required bytes value = 1;-
从类继承的方法 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.String.Builder>
-
clear
public MysqlxDatatypes.Scalar.String.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.String.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.String.Builder>
-
getDefaultInstanceForType
public MysqlxDatatypes.Scalar.String getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public MysqlxDatatypes.Scalar.String build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public MysqlxDatatypes.Scalar.String buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public MysqlxDatatypes.Scalar.String.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.String.Builder>
-
setField
public MysqlxDatatypes.Scalar.String.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.String.Builder>
-
clearField
public MysqlxDatatypes.Scalar.String.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.String.Builder>
-
clearOneof
public MysqlxDatatypes.Scalar.String.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.String.Builder>
-
setRepeatedField
public MysqlxDatatypes.Scalar.String.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.String.Builder>
-
addRepeatedField
public MysqlxDatatypes.Scalar.String.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.String.Builder>
-
mergeFrom
public MysqlxDatatypes.Scalar.String.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<MysqlxDatatypes.Scalar.String.Builder>
-
mergeFrom
public MysqlxDatatypes.Scalar.String.Builder mergeFrom(MysqlxDatatypes.Scalar.String other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.String.Builder>
-
mergeFrom
public MysqlxDatatypes.Scalar.String.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.String.Builder>- 抛出:
IOException
-
hasValue
public boolean hasValue()
required bytes value = 1;- 指定者:
hasValue在接口中MysqlxDatatypes.Scalar.StringOrBuilder- 返回:
- Whether the value field is set.
-
getValue
public com.google.protobuf.ByteString getValue()
required bytes value = 1;- 指定者:
getValue在接口中MysqlxDatatypes.Scalar.StringOrBuilder- 返回:
- The value.
-
setValue
public MysqlxDatatypes.Scalar.String.Builder setValue(com.google.protobuf.ByteString value)
required bytes value = 1;- 参数:
value- The value to set.- 返回:
- This builder for chaining.
-
clearValue
public MysqlxDatatypes.Scalar.String.Builder clearValue()
required bytes value = 1;- 返回:
- This builder for chaining.
-
hasCollation
public boolean hasCollation()
optional uint64 collation = 2;- 指定者:
hasCollation在接口中MysqlxDatatypes.Scalar.StringOrBuilder- 返回:
- Whether the collation field is set.
-
getCollation
public long getCollation()
optional uint64 collation = 2;- 指定者:
getCollation在接口中MysqlxDatatypes.Scalar.StringOrBuilder- 返回:
- The collation.
-
setCollation
public MysqlxDatatypes.Scalar.String.Builder setCollation(long value)
optional uint64 collation = 2;- 参数:
value- The collation to set.- 返回:
- This builder for chaining.
-
clearCollation
public MysqlxDatatypes.Scalar.String.Builder clearCollation()
optional uint64 collation = 2;- 返回:
- This builder for chaining.
-
setUnknownFields
public final MysqlxDatatypes.Scalar.String.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.String.Builder>
-
mergeUnknownFields
public final MysqlxDatatypes.Scalar.String.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxDatatypes.Scalar.String.Builder>
-
-