public static enum CommandAlert.PagerDutySeverity extends java.lang.Enum<CommandAlert.PagerDutySeverity> implements com.google.protobuf.ProtocolMessageEnum
command_alert.PagerDutySeverity
Enum Constant and Description |
---|
critical
critical = 0; |
error
error = 1; |
info
info = 3; |
UNRECOGNIZED |
warning
warning = 2; |
Modifier and Type | Field and Description |
---|---|
static int |
critical_VALUE
critical = 0; |
static int |
error_VALUE
error = 1; |
static int |
info_VALUE
info = 3; |
static int |
warning_VALUE
warning = 2; |
Modifier and Type | Method and Description |
---|---|
static CommandAlert.PagerDutySeverity |
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<CommandAlert.PagerDutySeverity> |
internalGetValueMap() |
static CommandAlert.PagerDutySeverity |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CommandAlert.PagerDutySeverity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CommandAlert.PagerDutySeverity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandAlert.PagerDutySeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandAlert.PagerDutySeverity critical
critical = 0;
public static final CommandAlert.PagerDutySeverity error
error = 1;
public static final CommandAlert.PagerDutySeverity warning
warning = 2;
public static final CommandAlert.PagerDutySeverity info
info = 3;
public static final CommandAlert.PagerDutySeverity UNRECOGNIZED
public static final int critical_VALUE
critical = 0;
public static final int error_VALUE
error = 1;
public static final int warning_VALUE
warning = 2;
public static final int info_VALUE
info = 3;
public static CommandAlert.PagerDutySeverity[] values()
for (CommandAlert.PagerDutySeverity c : CommandAlert.PagerDutySeverity.values()) System.out.println(c);
public static CommandAlert.PagerDutySeverity 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static CommandAlert.PagerDutySeverity valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static CommandAlert.PagerDutySeverity forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CommandAlert.PagerDutySeverity> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static CommandAlert.PagerDutySeverity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)