public static enum Mysqlx.Error.Severity extends java.lang.Enum<Mysqlx.Error.Severity> implements com.google.protobuf.ProtocolMessageEnum
Mysqlx.Error.Severity| Enum Constant and Description |
|---|
ERROR
ERROR = 0; |
FATAL
FATAL = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_VALUE
ERROR = 0; |
static int |
FATAL_VALUE
FATAL = 1; |
| Modifier and Type | Method and Description |
|---|---|
static Mysqlx.Error.Severity |
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<Mysqlx.Error.Severity> |
internalGetValueMap() |
static Mysqlx.Error.Severity |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Mysqlx.Error.Severity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Mysqlx.Error.Severity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Mysqlx.Error.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mysqlx.Error.Severity ERROR
ERROR = 0;public static final Mysqlx.Error.Severity FATAL
FATAL = 1;public static final int ERROR_VALUE
ERROR = 0;public static final int FATAL_VALUE
FATAL = 1;public static Mysqlx.Error.Severity[] values()
for (Mysqlx.Error.Severity c : Mysqlx.Error.Severity.values()) System.out.println(c);
public static Mysqlx.Error.Severity 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 Mysqlx.Error.Severity valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Mysqlx.Error.Severity forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Mysqlx.Error.Severity> 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 Mysqlx.Error.Severity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)