public static enum Conversation.LifecycleState extends Enum<Conversation.LifecycleState> implements ProtocolMessageEnum
Enumeration of the completion status of the conversation.Protobuf enum
google.cloud.dialogflow.v2.Conversation.LifecycleState
Enum Constant and Description |
---|
COMPLETED
Conversation has been completed.
|
IN_PROGRESS
Conversation is currently open for media analysis.
|
LIFECYCLE_STATE_UNSPECIFIED
Unknown.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
COMPLETED_VALUE
Conversation has been completed.
|
static int |
IN_PROGRESS_VALUE
Conversation is currently open for media analysis.
|
static int |
LIFECYCLE_STATE_UNSPECIFIED_VALUE
Unknown.
|
Modifier and Type | Method and Description |
---|---|
static Conversation.LifecycleState |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Conversation.LifecycleState> |
internalGetValueMap() |
static Conversation.LifecycleState |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Conversation.LifecycleState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Conversation.LifecycleState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Conversation.LifecycleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Conversation.LifecycleState LIFECYCLE_STATE_UNSPECIFIED
Unknown.
LIFECYCLE_STATE_UNSPECIFIED = 0;
public static final Conversation.LifecycleState IN_PROGRESS
Conversation is currently open for media analysis.
IN_PROGRESS = 1;
public static final Conversation.LifecycleState COMPLETED
Conversation has been completed.
COMPLETED = 2;
public static final Conversation.LifecycleState UNRECOGNIZED
public static final int LIFECYCLE_STATE_UNSPECIFIED_VALUE
Unknown.
LIFECYCLE_STATE_UNSPECIFIED = 0;
public static final int IN_PROGRESS_VALUE
Conversation is currently open for media analysis.
IN_PROGRESS = 1;
public static final int COMPLETED_VALUE
Conversation has been completed.
COMPLETED = 2;
public static Conversation.LifecycleState[] values()
for (Conversation.LifecycleState c : Conversation.LifecycleState.values()) System.out.println(c);
public static Conversation.LifecycleState 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Conversation.LifecycleState valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Conversation.LifecycleState forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Conversation.LifecycleState> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Conversation.LifecycleState valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.