Package com.mysql.cj.x.protobuf
Class MysqlxPrepare.Prepare.OneOfMessage
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.mysql.cj.x.protobuf.MysqlxPrepare.Prepare.OneOfMessage
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MysqlxPrepare.Prepare.OneOfMessageOrBuilder,java.io.Serializable
- Enclosing class:
- MysqlxPrepare.Prepare
public static final class MysqlxPrepare.Prepare.OneOfMessage extends com.google.protobuf.GeneratedMessageV3 implements MysqlxPrepare.Prepare.OneOfMessageOrBuilder
Protobuf type
Mysqlx.Prepare.Prepare.OneOfMessage- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMysqlxPrepare.Prepare.OneOfMessage.BuilderProtobuf typeMysqlx.Prepare.Prepare.OneOfMessagestatic classMysqlxPrepare.Prepare.OneOfMessage.TypeDetermine which of optional fields was set by the client (Workaround for missing "oneof" keyword in pb2.5)Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter -
Field Summary
Fields Modifier and Type Field Description static intDELETE_FIELD_NUMBERstatic intFIND_FIELD_NUMBERstatic intINSERT_FIELD_NUMBERstatic com.google.protobuf.Parser<MysqlxPrepare.Prepare.OneOfMessage>PARSERDeprecated.static intSTMT_EXECUTE_FIELD_NUMBERstatic intTYPE_FIELD_NUMBERstatic intUPDATE_FIELD_NUMBER -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)static MysqlxPrepare.Prepare.OneOfMessagegetDefaultInstance()MysqlxPrepare.Prepare.OneOfMessagegetDefaultInstanceForType()MysqlxCrud.DeletegetDelete()optional .Mysqlx.Crud.Delete delete = 5;MysqlxCrud.DeleteOrBuildergetDeleteOrBuilder()optional .Mysqlx.Crud.Delete delete = 5;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()MysqlxCrud.FindgetFind()optional .Mysqlx.Crud.Find find = 2;MysqlxCrud.FindOrBuildergetFindOrBuilder()optional .Mysqlx.Crud.Find find = 2;MysqlxCrud.InsertgetInsert()optional .Mysqlx.Crud.Insert insert = 3;MysqlxCrud.InsertOrBuildergetInsertOrBuilder()optional .Mysqlx.Crud.Insert insert = 3;com.google.protobuf.Parser<MysqlxPrepare.Prepare.OneOfMessage>getParserForType()intgetSerializedSize()MysqlxSql.StmtExecutegetStmtExecute()optional .Mysqlx.Sql.StmtExecute stmt_execute = 6;MysqlxSql.StmtExecuteOrBuildergetStmtExecuteOrBuilder()optional .Mysqlx.Sql.StmtExecute stmt_execute = 6;MysqlxPrepare.Prepare.OneOfMessage.TypegetType()required .Mysqlx.Prepare.Prepare.OneOfMessage.Type type = 1;com.google.protobuf.UnknownFieldSetgetUnknownFields()MysqlxCrud.UpdategetUpdate()optional .Mysqlx.Crud.Update update = 4;MysqlxCrud.UpdateOrBuildergetUpdateOrBuilder()optional .Mysqlx.Crud.Update update = 4;booleanhasDelete()optional .Mysqlx.Crud.Delete delete = 5;booleanhasFind()optional .Mysqlx.Crud.Find find = 2;inthashCode()booleanhasInsert()optional .Mysqlx.Crud.Insert insert = 3;booleanhasStmtExecute()optional .Mysqlx.Sql.StmtExecute stmt_execute = 6;booleanhasType()required .Mysqlx.Prepare.Prepare.OneOfMessage.Type type = 1;booleanhasUpdate()optional .Mysqlx.Crud.Update update = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MysqlxPrepare.Prepare.OneOfMessage.BuildernewBuilder()static MysqlxPrepare.Prepare.OneOfMessage.BuildernewBuilder(MysqlxPrepare.Prepare.OneOfMessage prototype)MysqlxPrepare.Prepare.OneOfMessage.BuildernewBuilderForType()protected MysqlxPrepare.Prepare.OneOfMessage.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MysqlxPrepare.Prepare.OneOfMessageparseDelimitedFrom(java.io.InputStream input)static MysqlxPrepare.Prepare.OneOfMessageparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlxPrepare.Prepare.OneOfMessageparseFrom(byte[] data)static MysqlxPrepare.Prepare.OneOfMessageparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlxPrepare.Prepare.OneOfMessageparseFrom(com.google.protobuf.ByteString data)static MysqlxPrepare.Prepare.OneOfMessageparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlxPrepare.Prepare.OneOfMessageparseFrom(com.google.protobuf.CodedInputStream input)static MysqlxPrepare.Prepare.OneOfMessageparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlxPrepare.Prepare.OneOfMessageparseFrom(java.io.InputStream input)static MysqlxPrepare.Prepare.OneOfMessageparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlxPrepare.Prepare.OneOfMessageparseFrom(java.nio.ByteBuffer data)static MysqlxPrepare.Prepare.OneOfMessageparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MysqlxPrepare.Prepare.OneOfMessage>parser()MysqlxPrepare.Prepare.OneOfMessage.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
- Constant Field Values
-
FIND_FIELD_NUMBER
public static final int FIND_FIELD_NUMBER- See Also:
- Constant Field Values
-
INSERT_FIELD_NUMBER
public static final int INSERT_FIELD_NUMBER- See Also:
- Constant Field Values
-
UPDATE_FIELD_NUMBER
public static final int UPDATE_FIELD_NUMBER- See Also:
- Constant Field Values
-
DELETE_FIELD_NUMBER
public static final int DELETE_FIELD_NUMBER- See Also:
- Constant Field Values
-
STMT_EXECUTE_FIELD_NUMBER
public static final int STMT_EXECUTE_FIELD_NUMBER- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<MysqlxPrepare.Prepare.OneOfMessage> PARSERDeprecated.
-
-
Method Details
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasType
public boolean hasType()required .Mysqlx.Prepare.Prepare.OneOfMessage.Type type = 1;- Specified by:
hasTypein interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder- Returns:
- Whether the type field is set.
-
getType
required .Mysqlx.Prepare.Prepare.OneOfMessage.Type type = 1;- Specified by:
getTypein interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder- Returns:
- The type.
-
hasFind
public boolean hasFind()optional .Mysqlx.Crud.Find find = 2;- Specified by:
hasFindin interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder- Returns:
- Whether the find field is set.
-
getFind
optional .Mysqlx.Crud.Find find = 2;- Specified by:
getFindin interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder- Returns:
- The find.
-
getFindOrBuilder
optional .Mysqlx.Crud.Find find = 2;- Specified by:
getFindOrBuilderin interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder
-
hasInsert
public boolean hasInsert()optional .Mysqlx.Crud.Insert insert = 3;- Specified by:
hasInsertin interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder- Returns:
- Whether the insert field is set.
-
getInsert
optional .Mysqlx.Crud.Insert insert = 3;- Specified by:
getInsertin interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder- Returns:
- The insert.
-
getInsertOrBuilder
optional .Mysqlx.Crud.Insert insert = 3;- Specified by:
getInsertOrBuilderin interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder
-
hasUpdate
public boolean hasUpdate()optional .Mysqlx.Crud.Update update = 4;- Specified by:
hasUpdatein interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder- Returns:
- Whether the update field is set.
-
getUpdate
optional .Mysqlx.Crud.Update update = 4;- Specified by:
getUpdatein interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder- Returns:
- The update.
-
getUpdateOrBuilder
optional .Mysqlx.Crud.Update update = 4;- Specified by:
getUpdateOrBuilderin interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder
-
hasDelete
public boolean hasDelete()optional .Mysqlx.Crud.Delete delete = 5;- Specified by:
hasDeletein interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder- Returns:
- Whether the delete field is set.
-
getDelete
optional .Mysqlx.Crud.Delete delete = 5;- Specified by:
getDeletein interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder- Returns:
- The delete.
-
getDeleteOrBuilder
optional .Mysqlx.Crud.Delete delete = 5;- Specified by:
getDeleteOrBuilderin interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder
-
hasStmtExecute
public boolean hasStmtExecute()optional .Mysqlx.Sql.StmtExecute stmt_execute = 6;- Specified by:
hasStmtExecutein interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder- Returns:
- Whether the stmtExecute field is set.
-
getStmtExecute
optional .Mysqlx.Sql.StmtExecute stmt_execute = 6;- Specified by:
getStmtExecutein interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder- Returns:
- The stmtExecute.
-
getStmtExecuteOrBuilder
optional .Mysqlx.Sql.StmtExecute stmt_execute = 6;- Specified by:
getStmtExecuteOrBuilderin interfaceMysqlxPrepare.Prepare.OneOfMessageOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MysqlxPrepare.Prepare.OneOfMessage parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxPrepare.Prepare.OneOfMessage parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxPrepare.Prepare.OneOfMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxPrepare.Prepare.OneOfMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxPrepare.Prepare.OneOfMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxPrepare.Prepare.OneOfMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxPrepare.Prepare.OneOfMessage parseFrom(java.io.InputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
parseFrom
public static MysqlxPrepare.Prepare.OneOfMessage parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MysqlxPrepare.Prepare.OneOfMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MysqlxPrepare.Prepare.OneOfMessage parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
parseFrom
public static MysqlxPrepare.Prepare.OneOfMessage parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
parseFrom
public static MysqlxPrepare.Prepare.OneOfMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static MysqlxPrepare.Prepare.OneOfMessage.Builder newBuilder(MysqlxPrepare.Prepare.OneOfMessage prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MysqlxPrepare.Prepare.OneOfMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-