public static enum Alert.ActionInfo.ActionCase extends java.lang.Enum<Alert.ActionInfo.ActionCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
ACTION_NOT_SET |
EMAIL |
WEBHOOK |
Modifier and Type | Method and Description |
---|---|
static Alert.ActionInfo.ActionCase |
forNumber(int value) |
int |
getNumber() |
static Alert.ActionInfo.ActionCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Alert.ActionInfo.ActionCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Alert.ActionInfo.ActionCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alert.ActionInfo.ActionCase EMAIL
public static final Alert.ActionInfo.ActionCase WEBHOOK
public static final Alert.ActionInfo.ActionCase ACTION_NOT_SET
public static Alert.ActionInfo.ActionCase[] values()
for (Alert.ActionInfo.ActionCase c : Alert.ActionInfo.ActionCase.values()) System.out.println(c);
public static Alert.ActionInfo.ActionCase 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 null@Deprecated public static Alert.ActionInfo.ActionCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static Alert.ActionInfo.ActionCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite