类 MysqlxCrud.Projection.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Projection.Builder>
-
- com.mysql.cj.x.protobuf.MysqlxCrud.Projection.Builder
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MysqlxCrud.ProjectionOrBuilder,Cloneable
public static final class MysqlxCrud.Projection.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Projection.Builder> implements MysqlxCrud.ProjectionOrBuilder
Protobuf typeMysqlx.Crud.Projection
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 MysqlxCrud.Projection.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MysqlxCrud.Projectionbuild()MysqlxCrud.ProjectionbuildPartial()MysqlxCrud.Projection.Builderclear()MysqlxCrud.Projection.BuilderclearAlias()optional alias.MysqlxCrud.Projection.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MysqlxCrud.Projection.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MysqlxCrud.Projection.BuilderclearSource()the expression identifying an element from the source data, which can include a column identifier or any expressionMysqlxCrud.Projection.Builderclone()StringgetAlias()optional alias.com.google.protobuf.ByteStringgetAliasBytes()optional alias.MysqlxCrud.ProjectiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()MysqlxExpr.ExprgetSource()the expression identifying an element from the source data, which can include a column identifier or any expressionMysqlxExpr.Expr.BuildergetSourceBuilder()the expression identifying an element from the source data, which can include a column identifier or any expressionMysqlxExpr.ExprOrBuildergetSourceOrBuilder()the expression identifying an element from the source data, which can include a column identifier or any expressionbooleanhasAlias()optional alias.booleanhasSource()the expression identifying an element from the source data, which can include a column identifier or any expressionprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MysqlxCrud.Projection.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MysqlxCrud.Projection.BuildermergeFrom(com.google.protobuf.Message other)MysqlxCrud.Projection.BuildermergeFrom(MysqlxCrud.Projection other)MysqlxCrud.Projection.BuildermergeSource(MysqlxExpr.Expr value)the expression identifying an element from the source data, which can include a column identifier or any expressionMysqlxCrud.Projection.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MysqlxCrud.Projection.BuildersetAlias(String value)optional alias.MysqlxCrud.Projection.BuildersetAliasBytes(com.google.protobuf.ByteString value)optional alias.MysqlxCrud.Projection.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MysqlxCrud.Projection.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MysqlxCrud.Projection.BuildersetSource(MysqlxExpr.Expr value)the expression identifying an element from the source data, which can include a column identifier or any expressionMysqlxCrud.Projection.BuildersetSource(MysqlxExpr.Expr.Builder builderForValue)the expression identifying an element from the source data, which can include a column identifier or any expressionMysqlxCrud.Projection.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
从类继承的方法 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<MysqlxCrud.Projection.Builder>
-
clear
public MysqlxCrud.Projection.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Projection.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<MysqlxCrud.Projection.Builder>
-
getDefaultInstanceForType
public MysqlxCrud.Projection getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public MysqlxCrud.Projection build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public MysqlxCrud.Projection buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public MysqlxCrud.Projection.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Projection.Builder>
-
setField
public MysqlxCrud.Projection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Projection.Builder>
-
clearField
public MysqlxCrud.Projection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Projection.Builder>
-
clearOneof
public MysqlxCrud.Projection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Projection.Builder>
-
setRepeatedField
public MysqlxCrud.Projection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Projection.Builder>
-
addRepeatedField
public MysqlxCrud.Projection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Projection.Builder>
-
mergeFrom
public MysqlxCrud.Projection.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<MysqlxCrud.Projection.Builder>
-
mergeFrom
public MysqlxCrud.Projection.Builder mergeFrom(MysqlxCrud.Projection other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Projection.Builder>
-
mergeFrom
public MysqlxCrud.Projection.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<MysqlxCrud.Projection.Builder>- 抛出:
IOException
-
hasSource
public boolean hasSource()
the expression identifying an element from the source data, which can include a column identifier or any expression
required .Mysqlx.Expr.Expr source = 1;- 指定者:
hasSource在接口中MysqlxCrud.ProjectionOrBuilder- 返回:
- Whether the source field is set.
-
getSource
public MysqlxExpr.Expr getSource()
the expression identifying an element from the source data, which can include a column identifier or any expression
required .Mysqlx.Expr.Expr source = 1;- 指定者:
getSource在接口中MysqlxCrud.ProjectionOrBuilder- 返回:
- The source.
-
setSource
public MysqlxCrud.Projection.Builder setSource(MysqlxExpr.Expr value)
the expression identifying an element from the source data, which can include a column identifier or any expression
required .Mysqlx.Expr.Expr source = 1;
-
setSource
public MysqlxCrud.Projection.Builder setSource(MysqlxExpr.Expr.Builder builderForValue)
the expression identifying an element from the source data, which can include a column identifier or any expression
required .Mysqlx.Expr.Expr source = 1;
-
mergeSource
public MysqlxCrud.Projection.Builder mergeSource(MysqlxExpr.Expr value)
the expression identifying an element from the source data, which can include a column identifier or any expression
required .Mysqlx.Expr.Expr source = 1;
-
clearSource
public MysqlxCrud.Projection.Builder clearSource()
the expression identifying an element from the source data, which can include a column identifier or any expression
required .Mysqlx.Expr.Expr source = 1;
-
getSourceBuilder
public MysqlxExpr.Expr.Builder getSourceBuilder()
the expression identifying an element from the source data, which can include a column identifier or any expression
required .Mysqlx.Expr.Expr source = 1;
-
getSourceOrBuilder
public MysqlxExpr.ExprOrBuilder getSourceOrBuilder()
the expression identifying an element from the source data, which can include a column identifier or any expression
required .Mysqlx.Expr.Expr source = 1;
-
hasAlias
public boolean hasAlias()
optional alias. Required for DOCUMENTs (clients may use the source string as default)
optional string alias = 2;- 指定者:
hasAlias在接口中MysqlxCrud.ProjectionOrBuilder- 返回:
- Whether the alias field is set.
-
getAlias
public String getAlias()
optional alias. Required for DOCUMENTs (clients may use the source string as default)
optional string alias = 2;- 指定者:
getAlias在接口中MysqlxCrud.ProjectionOrBuilder- 返回:
- The alias.
-
getAliasBytes
public com.google.protobuf.ByteString getAliasBytes()
optional alias. Required for DOCUMENTs (clients may use the source string as default)
optional string alias = 2;- 指定者:
getAliasBytes在接口中MysqlxCrud.ProjectionOrBuilder- 返回:
- The bytes for alias.
-
setAlias
public MysqlxCrud.Projection.Builder setAlias(String value)
optional alias. Required for DOCUMENTs (clients may use the source string as default)
optional string alias = 2;- 参数:
value- The alias to set.- 返回:
- This builder for chaining.
-
clearAlias
public MysqlxCrud.Projection.Builder clearAlias()
optional alias. Required for DOCUMENTs (clients may use the source string as default)
optional string alias = 2;- 返回:
- This builder for chaining.
-
setAliasBytes
public MysqlxCrud.Projection.Builder setAliasBytes(com.google.protobuf.ByteString value)
optional alias. Required for DOCUMENTs (clients may use the source string as default)
optional string alias = 2;- 参数:
value- The bytes for alias to set.- 返回:
- This builder for chaining.
-
setUnknownFields
public final MysqlxCrud.Projection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Projection.Builder>
-
mergeUnknownFields
public final MysqlxCrud.Projection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Projection.Builder>
-
-