public static enum Intent.Message.MessageCase extends java.lang.Enum<Intent.Message.MessageCase> implements Internal.EnumLite
Enum Constant and Description |
---|
BASIC_CARD |
CARD |
CAROUSEL_SELECT |
IMAGE |
LINK_OUT_SUGGESTION |
LIST_SELECT |
MESSAGE_NOT_SET |
PAYLOAD |
QUICK_REPLIES |
SIMPLE_RESPONSES |
SUGGESTIONS |
TEXT |
Modifier and Type | Method and Description |
---|---|
static Intent.Message.MessageCase |
forNumber(int value) |
int |
getNumber() |
static Intent.Message.MessageCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Intent.Message.MessageCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Intent.Message.MessageCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Intent.Message.MessageCase TEXT
public static final Intent.Message.MessageCase IMAGE
public static final Intent.Message.MessageCase QUICK_REPLIES
public static final Intent.Message.MessageCase CARD
public static final Intent.Message.MessageCase PAYLOAD
public static final Intent.Message.MessageCase SIMPLE_RESPONSES
public static final Intent.Message.MessageCase BASIC_CARD
public static final Intent.Message.MessageCase SUGGESTIONS
public static final Intent.Message.MessageCase LINK_OUT_SUGGESTION
public static final Intent.Message.MessageCase LIST_SELECT
public static final Intent.Message.MessageCase CAROUSEL_SELECT
public static final Intent.Message.MessageCase MESSAGE_NOT_SET
public static Intent.Message.MessageCase[] values()
for (Intent.Message.MessageCase c : Intent.Message.MessageCase.values()) System.out.println(c);
public static Intent.Message.MessageCase 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 Intent.Message.MessageCase valueOf(int value)
forNumber(int)
instead.public static Intent.Message.MessageCase forNumber(int value)
public int getNumber()
getNumber
in interface Internal.EnumLite