public static enum ResponseMessage.MessageCase extends Enum<ResponseMessage.MessageCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
Enum Constant and Description |
---|
END_INTERACTION |
LIVE_AGENT_HANDOFF |
MESSAGE_NOT_SET |
MIXED_AUDIO |
PAYLOAD |
TELEPHONY_TRANSFER_CALL |
TEXT |
Modifier and Type | Method and Description |
---|---|
static ResponseMessage.MessageCase |
forNumber(int value) |
int |
getNumber() |
static ResponseMessage.MessageCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ResponseMessage.MessageCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseMessage.MessageCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseMessage.MessageCase TEXT
public static final ResponseMessage.MessageCase PAYLOAD
public static final ResponseMessage.MessageCase LIVE_AGENT_HANDOFF
public static final ResponseMessage.MessageCase END_INTERACTION
public static final ResponseMessage.MessageCase MIXED_AUDIO
public static final ResponseMessage.MessageCase TELEPHONY_TRANSFER_CALL
public static final ResponseMessage.MessageCase MESSAGE_NOT_SET
public static ResponseMessage.MessageCase[] values()
for (ResponseMessage.MessageCase c : ResponseMessage.MessageCase.values()) System.out.println(c);
public static ResponseMessage.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 ResponseMessage.MessageCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static ResponseMessage.MessageCase forNumber(int value)
public int getNumber()
getNumber
in interface AbstractMessageLite.InternalOneOfEnum
getNumber
in interface Internal.EnumLite
Copyright © 2022 Google LLC. All rights reserved.