public static enum Conversation.State extends Enum<Conversation.State> implements com.google.protobuf.ProtocolMessageEnum
Enumeration of the state of the conversation.Protobuf enum
google.cloud.discoveryengine.v1beta.Conversation.State| Enum Constant and Description |
|---|
COMPLETED
Conversation has been completed.
|
IN_PROGRESS
Conversation is currently open.
|
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.
|
static int |
STATE_UNSPECIFIED_VALUE
Unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static Conversation.State |
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.State> |
internalGetValueMap() |
static Conversation.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Conversation.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Conversation.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Conversation.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Conversation.State STATE_UNSPECIFIED
Unknown.
STATE_UNSPECIFIED = 0;public static final Conversation.State IN_PROGRESS
Conversation is currently open.
IN_PROGRESS = 1;public static final Conversation.State COMPLETED
Conversation has been completed.
COMPLETED = 2;public static final Conversation.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Unknown.
STATE_UNSPECIFIED = 0;public static final int IN_PROGRESS_VALUE
Conversation is currently open.
IN_PROGRESS = 1;public static final int COMPLETED_VALUE
Conversation has been completed.
COMPLETED = 2;public static Conversation.State[] values()
for (Conversation.State c : Conversation.State.values()) System.out.println(c);
public static Conversation.State 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.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Conversation.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Conversation.State> 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.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.