Package com.mysql.cj.x.protobuf
Class MysqlxCrud.ModifyView.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.ModifyView.Builder>
com.mysql.cj.x.protobuf.MysqlxCrud.ModifyView.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,MysqlxCrud.ModifyViewOrBuilder
,java.lang.Cloneable
- Enclosing class:
- MysqlxCrud.ModifyView
public static final class MysqlxCrud.ModifyView.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.ModifyView.Builder> implements MysqlxCrud.ModifyViewOrBuilder
Protobuf type
Mysqlx.Crud.ModifyView
-
Method Summary
Modifier and Type Method Description MysqlxCrud.ModifyView.Builder
addAllColumn(java.lang.Iterable<java.lang.String> values)
repeated string column = 6;
MysqlxCrud.ModifyView.Builder
addColumn(java.lang.String value)
repeated string column = 6;
MysqlxCrud.ModifyView.Builder
addColumnBytes(com.google.protobuf.ByteString value)
repeated string column = 6;
MysqlxCrud.ModifyView.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
MysqlxCrud.ModifyView
build()
MysqlxCrud.ModifyView
buildPartial()
MysqlxCrud.ModifyView.Builder
clear()
MysqlxCrud.ModifyView.Builder
clearAlgorithm()
optional .Mysqlx.Crud.ViewAlgorithm algorithm = 3;
MysqlxCrud.ModifyView.Builder
clearCheck()
optional .Mysqlx.Crud.ViewCheckOption check = 5;
MysqlxCrud.ModifyView.Builder
clearCollection()
required .Mysqlx.Crud.Collection collection = 1;
MysqlxCrud.ModifyView.Builder
clearColumn()
repeated string column = 6;
MysqlxCrud.ModifyView.Builder
clearDefiner()
optional string definer = 2;
MysqlxCrud.ModifyView.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MysqlxCrud.ModifyView.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MysqlxCrud.ModifyView.Builder
clearSecurity()
optional .Mysqlx.Crud.ViewSqlSecurity security = 4;
MysqlxCrud.ModifyView.Builder
clearStmt()
optional .Mysqlx.Crud.Find stmt = 7;
MysqlxCrud.ModifyView.Builder
clone()
MysqlxCrud.ViewAlgorithm
getAlgorithm()
optional .Mysqlx.Crud.ViewAlgorithm algorithm = 3;
MysqlxCrud.ViewCheckOption
getCheck()
optional .Mysqlx.Crud.ViewCheckOption check = 5;
MysqlxCrud.Collection
getCollection()
required .Mysqlx.Crud.Collection collection = 1;
MysqlxCrud.Collection.Builder
getCollectionBuilder()
required .Mysqlx.Crud.Collection collection = 1;
MysqlxCrud.CollectionOrBuilder
getCollectionOrBuilder()
required .Mysqlx.Crud.Collection collection = 1;
java.lang.String
getColumn(int index)
repeated string column = 6;
com.google.protobuf.ByteString
getColumnBytes(int index)
repeated string column = 6;
int
getColumnCount()
repeated string column = 6;
com.google.protobuf.ProtocolStringList
getColumnList()
repeated string column = 6;
MysqlxCrud.ModifyView
getDefaultInstanceForType()
java.lang.String
getDefiner()
optional string definer = 2;
com.google.protobuf.ByteString
getDefinerBytes()
optional string definer = 2;
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
MysqlxCrud.ViewSqlSecurity
getSecurity()
optional .Mysqlx.Crud.ViewSqlSecurity security = 4;
MysqlxCrud.Find
getStmt()
optional .Mysqlx.Crud.Find stmt = 7;
MysqlxCrud.Find.Builder
getStmtBuilder()
optional .Mysqlx.Crud.Find stmt = 7;
MysqlxCrud.FindOrBuilder
getStmtOrBuilder()
optional .Mysqlx.Crud.Find stmt = 7;
boolean
hasAlgorithm()
optional .Mysqlx.Crud.ViewAlgorithm algorithm = 3;
boolean
hasCheck()
optional .Mysqlx.Crud.ViewCheckOption check = 5;
boolean
hasCollection()
required .Mysqlx.Crud.Collection collection = 1;
boolean
hasDefiner()
optional string definer = 2;
boolean
hasSecurity()
optional .Mysqlx.Crud.ViewSqlSecurity security = 4;
boolean
hasStmt()
optional .Mysqlx.Crud.Find stmt = 7;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
MysqlxCrud.ModifyView.Builder
mergeCollection(MysqlxCrud.Collection value)
required .Mysqlx.Crud.Collection collection = 1;
MysqlxCrud.ModifyView.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MysqlxCrud.ModifyView.Builder
mergeFrom(com.google.protobuf.Message other)
MysqlxCrud.ModifyView.Builder
mergeFrom(MysqlxCrud.ModifyView other)
MysqlxCrud.ModifyView.Builder
mergeStmt(MysqlxCrud.Find value)
optional .Mysqlx.Crud.Find stmt = 7;
MysqlxCrud.ModifyView.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MysqlxCrud.ModifyView.Builder
setAlgorithm(MysqlxCrud.ViewAlgorithm value)
optional .Mysqlx.Crud.ViewAlgorithm algorithm = 3;
MysqlxCrud.ModifyView.Builder
setCheck(MysqlxCrud.ViewCheckOption value)
optional .Mysqlx.Crud.ViewCheckOption check = 5;
MysqlxCrud.ModifyView.Builder
setCollection(MysqlxCrud.Collection value)
required .Mysqlx.Crud.Collection collection = 1;
MysqlxCrud.ModifyView.Builder
setCollection(MysqlxCrud.Collection.Builder builderForValue)
required .Mysqlx.Crud.Collection collection = 1;
MysqlxCrud.ModifyView.Builder
setColumn(int index, java.lang.String value)
repeated string column = 6;
MysqlxCrud.ModifyView.Builder
setDefiner(java.lang.String value)
optional string definer = 2;
MysqlxCrud.ModifyView.Builder
setDefinerBytes(com.google.protobuf.ByteString value)
optional string definer = 2;
MysqlxCrud.ModifyView.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
MysqlxCrud.ModifyView.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
MysqlxCrud.ModifyView.Builder
setSecurity(MysqlxCrud.ViewSqlSecurity value)
optional .Mysqlx.Crud.ViewSqlSecurity security = 4;
MysqlxCrud.ModifyView.Builder
setStmt(MysqlxCrud.Find value)
optional .Mysqlx.Crud.Find stmt = 7;
MysqlxCrud.ModifyView.Builder
setStmt(MysqlxCrud.Find.Builder builderForValue)
optional .Mysqlx.Crud.Find stmt = 7;
MysqlxCrud.ModifyView.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.ModifyView.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.ModifyView.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.ModifyView.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.ModifyView.Builder>
-
setField
public MysqlxCrud.ModifyView.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.ModifyView.Builder>
-
clearField
public MysqlxCrud.ModifyView.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.ModifyView.Builder>
-
clearOneof
public MysqlxCrud.ModifyView.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.ModifyView.Builder>
-
setRepeatedField
public MysqlxCrud.ModifyView.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.ModifyView.Builder>
-
addRepeatedField
public MysqlxCrud.ModifyView.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.ModifyView.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MysqlxCrud.ModifyView.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.ModifyView.Builder>
-
mergeFrom
public MysqlxCrud.ModifyView.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MysqlxCrud.ModifyView.Builder>
- Throws:
java.io.IOException
-
hasCollection
public boolean hasCollection()required .Mysqlx.Crud.Collection collection = 1;
- Specified by:
hasCollection
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Returns:
- Whether the collection field is set.
-
getCollection
required .Mysqlx.Crud.Collection collection = 1;
- Specified by:
getCollection
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Returns:
- The collection.
-
setCollection
required .Mysqlx.Crud.Collection collection = 1;
-
setCollection
required .Mysqlx.Crud.Collection collection = 1;
-
mergeCollection
required .Mysqlx.Crud.Collection collection = 1;
-
clearCollection
required .Mysqlx.Crud.Collection collection = 1;
-
getCollectionBuilder
required .Mysqlx.Crud.Collection collection = 1;
-
getCollectionOrBuilder
required .Mysqlx.Crud.Collection collection = 1;
- Specified by:
getCollectionOrBuilder
in interfaceMysqlxCrud.ModifyViewOrBuilder
-
hasDefiner
public boolean hasDefiner()optional string definer = 2;
- Specified by:
hasDefiner
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Returns:
- Whether the definer field is set.
-
getDefiner
public java.lang.String getDefiner()optional string definer = 2;
- Specified by:
getDefiner
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Returns:
- The definer.
-
getDefinerBytes
public com.google.protobuf.ByteString getDefinerBytes()optional string definer = 2;
- Specified by:
getDefinerBytes
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Returns:
- The bytes for definer.
-
setDefiner
optional string definer = 2;
- Parameters:
value
- The definer to set.- Returns:
- This builder for chaining.
-
clearDefiner
optional string definer = 2;
- Returns:
- This builder for chaining.
-
setDefinerBytes
optional string definer = 2;
- Parameters:
value
- The bytes for definer to set.- Returns:
- This builder for chaining.
-
hasAlgorithm
public boolean hasAlgorithm()optional .Mysqlx.Crud.ViewAlgorithm algorithm = 3;
- Specified by:
hasAlgorithm
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Returns:
- Whether the algorithm field is set.
-
getAlgorithm
optional .Mysqlx.Crud.ViewAlgorithm algorithm = 3;
- Specified by:
getAlgorithm
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Returns:
- The algorithm.
-
setAlgorithm
optional .Mysqlx.Crud.ViewAlgorithm algorithm = 3;
- Parameters:
value
- The algorithm to set.- Returns:
- This builder for chaining.
-
clearAlgorithm
optional .Mysqlx.Crud.ViewAlgorithm algorithm = 3;
- Returns:
- This builder for chaining.
-
hasSecurity
public boolean hasSecurity()optional .Mysqlx.Crud.ViewSqlSecurity security = 4;
- Specified by:
hasSecurity
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Returns:
- Whether the security field is set.
-
getSecurity
optional .Mysqlx.Crud.ViewSqlSecurity security = 4;
- Specified by:
getSecurity
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Returns:
- The security.
-
setSecurity
optional .Mysqlx.Crud.ViewSqlSecurity security = 4;
- Parameters:
value
- The security to set.- Returns:
- This builder for chaining.
-
clearSecurity
optional .Mysqlx.Crud.ViewSqlSecurity security = 4;
- Returns:
- This builder for chaining.
-
hasCheck
public boolean hasCheck()optional .Mysqlx.Crud.ViewCheckOption check = 5;
- Specified by:
hasCheck
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Returns:
- Whether the check field is set.
-
getCheck
optional .Mysqlx.Crud.ViewCheckOption check = 5;
- Specified by:
getCheck
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Returns:
- The check.
-
setCheck
optional .Mysqlx.Crud.ViewCheckOption check = 5;
- Parameters:
value
- The check to set.- Returns:
- This builder for chaining.
-
clearCheck
optional .Mysqlx.Crud.ViewCheckOption check = 5;
- Returns:
- This builder for chaining.
-
getColumnList
public com.google.protobuf.ProtocolStringList getColumnList()repeated string column = 6;
- Specified by:
getColumnList
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Returns:
- A list containing the column.
-
getColumnCount
public int getColumnCount()repeated string column = 6;
- Specified by:
getColumnCount
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Returns:
- The count of column.
-
getColumn
public java.lang.String getColumn(int index)repeated string column = 6;
- Specified by:
getColumn
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The column at the given index.
-
getColumnBytes
public com.google.protobuf.ByteString getColumnBytes(int index)repeated string column = 6;
- Specified by:
getColumnBytes
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the column at the given index.
-
setColumn
repeated string column = 6;
- Parameters:
index
- The index to set the value at.value
- The column to set.- Returns:
- This builder for chaining.
-
addColumn
repeated string column = 6;
- Parameters:
value
- The column to add.- Returns:
- This builder for chaining.
-
addAllColumn
repeated string column = 6;
- Parameters:
values
- The column to add.- Returns:
- This builder for chaining.
-
clearColumn
repeated string column = 6;
- Returns:
- This builder for chaining.
-
addColumnBytes
repeated string column = 6;
- Parameters:
value
- The bytes of the column to add.- Returns:
- This builder for chaining.
-
hasStmt
public boolean hasStmt()optional .Mysqlx.Crud.Find stmt = 7;
- Specified by:
hasStmt
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Returns:
- Whether the stmt field is set.
-
getStmt
optional .Mysqlx.Crud.Find stmt = 7;
- Specified by:
getStmt
in interfaceMysqlxCrud.ModifyViewOrBuilder
- Returns:
- The stmt.
-
setStmt
optional .Mysqlx.Crud.Find stmt = 7;
-
setStmt
optional .Mysqlx.Crud.Find stmt = 7;
-
mergeStmt
optional .Mysqlx.Crud.Find stmt = 7;
-
clearStmt
optional .Mysqlx.Crud.Find stmt = 7;
-
getStmtBuilder
optional .Mysqlx.Crud.Find stmt = 7;
-
getStmtOrBuilder
optional .Mysqlx.Crud.Find stmt = 7;
- Specified by:
getStmtOrBuilder
in interfaceMysqlxCrud.ModifyViewOrBuilder
-
setUnknownFields
public final MysqlxCrud.ModifyView.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.ModifyView.Builder>
-
mergeUnknownFields
public final MysqlxCrud.ModifyView.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.ModifyView.Builder>
-