public static enum MysqlxPrepare.Prepare.OneOfMessage.Type extends java.lang.Enum<MysqlxPrepare.Prepare.OneOfMessage.Type> implements com.google.protobuf.ProtocolMessageEnum
Determine which of optional fields was set by the client (Workaround for missing "oneof" keyword in pb2.5)Protobuf enum
Mysqlx.Prepare.Prepare.OneOfMessage.Type| Enum Constant and Description |
|---|
DELETE
DELETE = 4; |
FIND
FIND = 0; |
INSERT
INSERT = 1; |
STMT
STMT = 5; |
UPDATE
UPDATE = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
DELETE_VALUE
DELETE = 4; |
static int |
FIND_VALUE
FIND = 0; |
static int |
INSERT_VALUE
INSERT = 1; |
static int |
STMT_VALUE
STMT = 5; |
static int |
UPDATE_VALUE
UPDATE = 2; |
| Modifier and Type | Method and Description |
|---|---|
static MysqlxPrepare.Prepare.OneOfMessage.Type |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<MysqlxPrepare.Prepare.OneOfMessage.Type> |
internalGetValueMap() |
static MysqlxPrepare.Prepare.OneOfMessage.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MysqlxPrepare.Prepare.OneOfMessage.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MysqlxPrepare.Prepare.OneOfMessage.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MysqlxPrepare.Prepare.OneOfMessage.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MysqlxPrepare.Prepare.OneOfMessage.Type FIND
FIND = 0;public static final MysqlxPrepare.Prepare.OneOfMessage.Type INSERT
INSERT = 1;public static final MysqlxPrepare.Prepare.OneOfMessage.Type UPDATE
UPDATE = 2;public static final MysqlxPrepare.Prepare.OneOfMessage.Type DELETE
DELETE = 4;public static final MysqlxPrepare.Prepare.OneOfMessage.Type STMT
STMT = 5;public static final int FIND_VALUE
FIND = 0;public static final int INSERT_VALUE
INSERT = 1;public static final int UPDATE_VALUE
UPDATE = 2;public static final int DELETE_VALUE
DELETE = 4;public static final int STMT_VALUE
STMT = 5;public static MysqlxPrepare.Prepare.OneOfMessage.Type[] values()
for (MysqlxPrepare.Prepare.OneOfMessage.Type c : MysqlxPrepare.Prepare.OneOfMessage.Type.values()) System.out.println(c);
public static MysqlxPrepare.Prepare.OneOfMessage.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static MysqlxPrepare.Prepare.OneOfMessage.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MysqlxPrepare.Prepare.OneOfMessage.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MysqlxPrepare.Prepare.OneOfMessage.Type> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MysqlxPrepare.Prepare.OneOfMessage.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)