类 MysqlxCrud.UpdateOperation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.UpdateOperation.Builder>
-
- com.mysql.cj.x.protobuf.MysqlxCrud.UpdateOperation.Builder
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MysqlxCrud.UpdateOperationOrBuilder,Cloneable
public static final class MysqlxCrud.UpdateOperation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.UpdateOperation.Builder> implements MysqlxCrud.UpdateOperationOrBuilder
Protobuf typeMysqlx.Crud.UpdateOperation
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 MysqlxCrud.UpdateOperation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MysqlxCrud.UpdateOperationbuild()MysqlxCrud.UpdateOperationbuildPartial()MysqlxCrud.UpdateOperation.Builderclear()MysqlxCrud.UpdateOperation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MysqlxCrud.UpdateOperation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MysqlxCrud.UpdateOperation.BuilderclearOperation()the type of operation to be performedMysqlxCrud.UpdateOperation.BuilderclearSource()specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not setMysqlxCrud.UpdateOperation.BuilderclearValue()an expression to be computed as the new value for the operationMysqlxCrud.UpdateOperation.Builderclone()MysqlxCrud.UpdateOperationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()MysqlxCrud.UpdateOperation.UpdateTypegetOperation()the type of operation to be performedMysqlxExpr.ColumnIdentifiergetSource()specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not setMysqlxExpr.ColumnIdentifier.BuildergetSourceBuilder()specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not setMysqlxExpr.ColumnIdentifierOrBuildergetSourceOrBuilder()specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not setMysqlxExpr.ExprgetValue()an expression to be computed as the new value for the operationMysqlxExpr.Expr.BuildergetValueBuilder()an expression to be computed as the new value for the operationMysqlxExpr.ExprOrBuildergetValueOrBuilder()an expression to be computed as the new value for the operationbooleanhasOperation()the type of operation to be performedbooleanhasSource()specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not setbooleanhasValue()an expression to be computed as the new value for the operationprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MysqlxCrud.UpdateOperation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MysqlxCrud.UpdateOperation.BuildermergeFrom(com.google.protobuf.Message other)MysqlxCrud.UpdateOperation.BuildermergeFrom(MysqlxCrud.UpdateOperation other)MysqlxCrud.UpdateOperation.BuildermergeSource(MysqlxExpr.ColumnIdentifier value)specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not setMysqlxCrud.UpdateOperation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MysqlxCrud.UpdateOperation.BuildermergeValue(MysqlxExpr.Expr value)an expression to be computed as the new value for the operationMysqlxCrud.UpdateOperation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MysqlxCrud.UpdateOperation.BuildersetOperation(MysqlxCrud.UpdateOperation.UpdateType value)the type of operation to be performedMysqlxCrud.UpdateOperation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MysqlxCrud.UpdateOperation.BuildersetSource(MysqlxExpr.ColumnIdentifier value)specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not setMysqlxCrud.UpdateOperation.BuildersetSource(MysqlxExpr.ColumnIdentifier.Builder builderForValue)specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not setMysqlxCrud.UpdateOperation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MysqlxCrud.UpdateOperation.BuildersetValue(MysqlxExpr.Expr value)an expression to be computed as the new value for the operationMysqlxCrud.UpdateOperation.BuildersetValue(MysqlxExpr.Expr.Builder builderForValue)an expression to be computed as the new value for the operation-
从类继承的方法 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.UpdateOperation.Builder>
-
clear
public MysqlxCrud.UpdateOperation.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.UpdateOperation.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.UpdateOperation.Builder>
-
getDefaultInstanceForType
public MysqlxCrud.UpdateOperation getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public MysqlxCrud.UpdateOperation build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public MysqlxCrud.UpdateOperation buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public MysqlxCrud.UpdateOperation.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.UpdateOperation.Builder>
-
setField
public MysqlxCrud.UpdateOperation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.UpdateOperation.Builder>
-
clearField
public MysqlxCrud.UpdateOperation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.UpdateOperation.Builder>
-
clearOneof
public MysqlxCrud.UpdateOperation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.UpdateOperation.Builder>
-
setRepeatedField
public MysqlxCrud.UpdateOperation.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.UpdateOperation.Builder>
-
addRepeatedField
public MysqlxCrud.UpdateOperation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.UpdateOperation.Builder>
-
mergeFrom
public MysqlxCrud.UpdateOperation.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<MysqlxCrud.UpdateOperation.Builder>
-
mergeFrom
public MysqlxCrud.UpdateOperation.Builder mergeFrom(MysqlxCrud.UpdateOperation other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.UpdateOperation.Builder>
-
mergeFrom
public MysqlxCrud.UpdateOperation.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.UpdateOperation.Builder>- 抛出:
IOException
-
hasSource
public boolean hasSource()
specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not set
required .Mysqlx.Expr.ColumnIdentifier source = 1;- 指定者:
hasSource在接口中MysqlxCrud.UpdateOperationOrBuilder- 返回:
- Whether the source field is set.
-
getSource
public MysqlxExpr.ColumnIdentifier getSource()
specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not set
required .Mysqlx.Expr.ColumnIdentifier source = 1;- 指定者:
getSource在接口中MysqlxCrud.UpdateOperationOrBuilder- 返回:
- The source.
-
setSource
public MysqlxCrud.UpdateOperation.Builder setSource(MysqlxExpr.ColumnIdentifier value)
specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not set
required .Mysqlx.Expr.ColumnIdentifier source = 1;
-
setSource
public MysqlxCrud.UpdateOperation.Builder setSource(MysqlxExpr.ColumnIdentifier.Builder builderForValue)
specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not set
required .Mysqlx.Expr.ColumnIdentifier source = 1;
-
mergeSource
public MysqlxCrud.UpdateOperation.Builder mergeSource(MysqlxExpr.ColumnIdentifier value)
specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not set
required .Mysqlx.Expr.ColumnIdentifier source = 1;
-
clearSource
public MysqlxCrud.UpdateOperation.Builder clearSource()
specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not set
required .Mysqlx.Expr.ColumnIdentifier source = 1;
-
getSourceBuilder
public MysqlxExpr.ColumnIdentifier.Builder getSourceBuilder()
specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not set
required .Mysqlx.Expr.ColumnIdentifier source = 1;
-
getSourceOrBuilder
public MysqlxExpr.ColumnIdentifierOrBuilder getSourceOrBuilder()
specification of the value to be updated - if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON - if data_model is DOCUMENT, only document paths are allowed @note in both cases, schema and table must be not set
required .Mysqlx.Expr.ColumnIdentifier source = 1;
-
hasOperation
public boolean hasOperation()
the type of operation to be performed
required .Mysqlx.Crud.UpdateOperation.UpdateType operation = 2;- 指定者:
hasOperation在接口中MysqlxCrud.UpdateOperationOrBuilder- 返回:
- Whether the operation field is set.
-
getOperation
public MysqlxCrud.UpdateOperation.UpdateType getOperation()
the type of operation to be performed
required .Mysqlx.Crud.UpdateOperation.UpdateType operation = 2;- 指定者:
getOperation在接口中MysqlxCrud.UpdateOperationOrBuilder- 返回:
- The operation.
-
setOperation
public MysqlxCrud.UpdateOperation.Builder setOperation(MysqlxCrud.UpdateOperation.UpdateType value)
the type of operation to be performed
required .Mysqlx.Crud.UpdateOperation.UpdateType operation = 2;- 参数:
value- The operation to set.- 返回:
- This builder for chaining.
-
clearOperation
public MysqlxCrud.UpdateOperation.Builder clearOperation()
the type of operation to be performed
required .Mysqlx.Crud.UpdateOperation.UpdateType operation = 2;- 返回:
- This builder for chaining.
-
hasValue
public boolean hasValue()
an expression to be computed as the new value for the operation
optional .Mysqlx.Expr.Expr value = 3;- 指定者:
hasValue在接口中MysqlxCrud.UpdateOperationOrBuilder- 返回:
- Whether the value field is set.
-
getValue
public MysqlxExpr.Expr getValue()
an expression to be computed as the new value for the operation
optional .Mysqlx.Expr.Expr value = 3;- 指定者:
getValue在接口中MysqlxCrud.UpdateOperationOrBuilder- 返回:
- The value.
-
setValue
public MysqlxCrud.UpdateOperation.Builder setValue(MysqlxExpr.Expr value)
an expression to be computed as the new value for the operation
optional .Mysqlx.Expr.Expr value = 3;
-
setValue
public MysqlxCrud.UpdateOperation.Builder setValue(MysqlxExpr.Expr.Builder builderForValue)
an expression to be computed as the new value for the operation
optional .Mysqlx.Expr.Expr value = 3;
-
mergeValue
public MysqlxCrud.UpdateOperation.Builder mergeValue(MysqlxExpr.Expr value)
an expression to be computed as the new value for the operation
optional .Mysqlx.Expr.Expr value = 3;
-
clearValue
public MysqlxCrud.UpdateOperation.Builder clearValue()
an expression to be computed as the new value for the operation
optional .Mysqlx.Expr.Expr value = 3;
-
getValueBuilder
public MysqlxExpr.Expr.Builder getValueBuilder()
an expression to be computed as the new value for the operation
optional .Mysqlx.Expr.Expr value = 3;
-
getValueOrBuilder
public MysqlxExpr.ExprOrBuilder getValueOrBuilder()
an expression to be computed as the new value for the operation
optional .Mysqlx.Expr.Expr value = 3;
-
setUnknownFields
public final MysqlxCrud.UpdateOperation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.UpdateOperation.Builder>
-
mergeUnknownFields
public final MysqlxCrud.UpdateOperation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.UpdateOperation.Builder>
-
-