public static enum Conversation.ConversationStage extends Enum<Conversation.ConversationStage> implements com.google.protobuf.ProtocolMessageEnum
Enumeration of the different conversation stages a conversation can be in. Reference: https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stagesProtobuf enum
google.cloud.dialogflow.v2beta1.Conversation.ConversationStage| Enum Constant and Description |
|---|
CONVERSATION_STAGE_UNSPECIFIED
Unknown.
|
HUMAN_ASSIST_STAGE
The conversation should not provide responses, just listen and provide
suggestions.
|
UNRECOGNIZED |
VIRTUAL_AGENT_STAGE
The conversation should return virtual agent responses into the
conversation.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CONVERSATION_STAGE_UNSPECIFIED_VALUE
Unknown.
|
static int |
HUMAN_ASSIST_STAGE_VALUE
The conversation should not provide responses, just listen and provide
suggestions.
|
static int |
VIRTUAL_AGENT_STAGE_VALUE
The conversation should return virtual agent responses into the
conversation.
|
| Modifier and Type | Method and Description |
|---|---|
static Conversation.ConversationStage |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Conversation.ConversationStage> |
internalGetValueMap() |
static Conversation.ConversationStage |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Conversation.ConversationStage |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Conversation.ConversationStage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Conversation.ConversationStage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Conversation.ConversationStage CONVERSATION_STAGE_UNSPECIFIED
Unknown. Should never be used after a conversation is successfully created.
CONVERSATION_STAGE_UNSPECIFIED = 0;public static final Conversation.ConversationStage VIRTUAL_AGENT_STAGE
The conversation should return virtual agent responses into the conversation.
VIRTUAL_AGENT_STAGE = 1;public static final Conversation.ConversationStage HUMAN_ASSIST_STAGE
The conversation should not provide responses, just listen and provide suggestions.
HUMAN_ASSIST_STAGE = 2;public static final Conversation.ConversationStage UNRECOGNIZED
public static final int CONVERSATION_STAGE_UNSPECIFIED_VALUE
Unknown. Should never be used after a conversation is successfully created.
CONVERSATION_STAGE_UNSPECIFIED = 0;public static final int VIRTUAL_AGENT_STAGE_VALUE
The conversation should return virtual agent responses into the conversation.
VIRTUAL_AGENT_STAGE = 1;public static final int HUMAN_ASSIST_STAGE_VALUE
The conversation should not provide responses, just listen and provide suggestions.
HUMAN_ASSIST_STAGE = 2;public static Conversation.ConversationStage[] values()
for (Conversation.ConversationStage c : Conversation.ConversationStage.values()) System.out.println(c);
public static Conversation.ConversationStage 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Conversation.ConversationStage valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Conversation.ConversationStage forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Conversation.ConversationStage> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Conversation.ConversationStage valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.