public static enum Conversation.Type extends Enum<Conversation.Type> implements com.google.protobuf.ProtocolMessageEnum
Represents the type of a conversation.Protobuf enum
google.cloud.dialogflow.cx.v3beta1.Conversation.Type| Enum Constant and Description |
|---|
AUDIO
Audio conversation.
|
TEXT
Text conversation.
|
TYPE_UNSPECIFIED
Not specified.
|
UNDETERMINED
Default conversation type for a conversation.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AUDIO_VALUE
Audio conversation.
|
static int |
TEXT_VALUE
Text conversation.
|
static int |
TYPE_UNSPECIFIED_VALUE
Not specified.
|
static int |
UNDETERMINED_VALUE
Default conversation type for a conversation.
|
| Modifier and Type | Method and Description |
|---|---|
static Conversation.Type |
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.Type> |
internalGetValueMap() |
static Conversation.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Conversation.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Conversation.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Conversation.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Conversation.Type TYPE_UNSPECIFIED
Not specified. This value should never be used.
TYPE_UNSPECIFIED = 0;public static final Conversation.Type AUDIO
Audio conversation. A conversation is classified as an audio conversation if any request has STT input audio or any response has TTS output audio.
AUDIO = 1;public static final Conversation.Type TEXT
Text conversation. A conversation is classified as a text conversation if any request has text input and no request has STT input audio and no response has TTS output audio.
TEXT = 2;public static final Conversation.Type UNDETERMINED
Default conversation type for a conversation. A conversation is classified as undetermined if none of the requests contain text or audio input (eg. event or intent input).
UNDETERMINED = 3;public static final Conversation.Type UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
Not specified. This value should never be used.
TYPE_UNSPECIFIED = 0;public static final int AUDIO_VALUE
Audio conversation. A conversation is classified as an audio conversation if any request has STT input audio or any response has TTS output audio.
AUDIO = 1;public static final int TEXT_VALUE
Text conversation. A conversation is classified as a text conversation if any request has text input and no request has STT input audio and no response has TTS output audio.
TEXT = 2;public static final int UNDETERMINED_VALUE
Default conversation type for a conversation. A conversation is classified as undetermined if none of the requests contain text or audio input (eg. event or intent input).
UNDETERMINED = 3;public static Conversation.Type[] values()
for (Conversation.Type c : Conversation.Type.values()) System.out.println(c);
public static Conversation.Type 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.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Conversation.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Conversation.Type> 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.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.