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