public static enum MysqlxNotice.Frame.Type extends java.lang.Enum<MysqlxNotice.Frame.Type> implements com.google.protobuf.ProtocolMessageEnum
type of notice payloadProtobuf enum
Mysqlx.Notice.Frame.Type| Enum Constant and Description |
|---|
GROUP_REPLICATION_STATE_CHANGED
GROUP_REPLICATION_STATE_CHANGED = 4; |
SERVER_HELLO
SERVER_HELLO = 5; |
SESSION_STATE_CHANGED
SESSION_STATE_CHANGED = 3; |
SESSION_VARIABLE_CHANGED
SESSION_VARIABLE_CHANGED = 2; |
WARNING
WARNING = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
GROUP_REPLICATION_STATE_CHANGED_VALUE
GROUP_REPLICATION_STATE_CHANGED = 4; |
static int |
SERVER_HELLO_VALUE
SERVER_HELLO = 5; |
static int |
SESSION_STATE_CHANGED_VALUE
SESSION_STATE_CHANGED = 3; |
static int |
SESSION_VARIABLE_CHANGED_VALUE
SESSION_VARIABLE_CHANGED = 2; |
static int |
WARNING_VALUE
WARNING = 1; |
| Modifier and Type | Method and Description |
|---|---|
static MysqlxNotice.Frame.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<MysqlxNotice.Frame.Type> |
internalGetValueMap() |
static MysqlxNotice.Frame.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MysqlxNotice.Frame.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MysqlxNotice.Frame.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MysqlxNotice.Frame.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MysqlxNotice.Frame.Type WARNING
WARNING = 1;public static final MysqlxNotice.Frame.Type SESSION_VARIABLE_CHANGED
SESSION_VARIABLE_CHANGED = 2;public static final MysqlxNotice.Frame.Type SESSION_STATE_CHANGED
SESSION_STATE_CHANGED = 3;public static final MysqlxNotice.Frame.Type GROUP_REPLICATION_STATE_CHANGED
GROUP_REPLICATION_STATE_CHANGED = 4;public static final MysqlxNotice.Frame.Type SERVER_HELLO
SERVER_HELLO = 5;public static final int WARNING_VALUE
WARNING = 1;public static final int SESSION_VARIABLE_CHANGED_VALUE
SESSION_VARIABLE_CHANGED = 2;public static final int SESSION_STATE_CHANGED_VALUE
SESSION_STATE_CHANGED = 3;public static final int GROUP_REPLICATION_STATE_CHANGED_VALUE
GROUP_REPLICATION_STATE_CHANGED = 4;public static final int SERVER_HELLO_VALUE
SERVER_HELLO = 5;public static MysqlxNotice.Frame.Type[] values()
for (MysqlxNotice.Frame.Type c : MysqlxNotice.Frame.Type.values()) System.out.println(c);
public static MysqlxNotice.Frame.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 MysqlxNotice.Frame.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MysqlxNotice.Frame.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MysqlxNotice.Frame.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 MysqlxNotice.Frame.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)