public static enum ConversationParticipant.ParticipantCase extends Enum<ConversationParticipant.ParticipantCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
DIALOGFLOW_PARTICIPANT_NAME |
PARTICIPANT_NOT_SET |
USER_ID |
| Modifier and Type | Method and Description |
|---|---|
static ConversationParticipant.ParticipantCase |
forNumber(int value) |
int |
getNumber() |
static ConversationParticipant.ParticipantCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ConversationParticipant.ParticipantCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConversationParticipant.ParticipantCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConversationParticipant.ParticipantCase DIALOGFLOW_PARTICIPANT_NAME
public static final ConversationParticipant.ParticipantCase USER_ID
public static final ConversationParticipant.ParticipantCase PARTICIPANT_NOT_SET
public static ConversationParticipant.ParticipantCase[] values()
for (ConversationParticipant.ParticipantCase c : ConversationParticipant.ParticipantCase.values()) System.out.println(c);
public static ConversationParticipant.ParticipantCase 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 ConversationParticipant.ParticipantCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static ConversationParticipant.ParticipantCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2023 Google LLC. All rights reserved.