public static enum Intent.Message.MessageCase extends Enum<Intent.Message.MessageCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
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(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 TELEPHONY_PLAY_AUDIO
public static final Intent.Message.MessageCase TELEPHONY_SYNTHESIZE_SPEECH
public static final Intent.Message.MessageCase TELEPHONY_TRANSFER_CALL
public static final Intent.Message.MessageCase RBM_TEXT
public static final Intent.Message.MessageCase RBM_STANDALONE_RICH_CARD
public static final Intent.Message.MessageCase RBM_CAROUSEL_RICH_CARD
public static final Intent.Message.MessageCase BROWSE_CAROUSEL_CARD
public static final Intent.Message.MessageCase TABLE_CARD
public static final Intent.Message.MessageCase MEDIA_CONTENT
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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Deprecated public static Intent.Message.MessageCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static Intent.Message.MessageCase forNumber(int value)
public int getNumber()
getNumber
in interface AbstractMessageLite.InternalOneOfEnum
getNumber
in interface Internal.EnumLite
Copyright © 2022 Google LLC. All rights reserved.