public static enum Version.State extends Enum<Version.State> implements com.google.protobuf.ProtocolMessageEnum
The state of the version.Protobuf enum
google.cloud.dialogflow.cx.v3.Version.State| Enum Constant and Description |
|---|
FAILED
Version training failed.
|
RUNNING
Version is not ready to serve (e.g. training is running).
|
STATE_UNSPECIFIED
Not specified.
|
SUCCEEDED
Training has succeeded and this version is ready to serve.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FAILED_VALUE
Version training failed.
|
static int |
RUNNING_VALUE
Version is not ready to serve (e.g. training is running).
|
static int |
STATE_UNSPECIFIED_VALUE
Not specified.
|
static int |
SUCCEEDED_VALUE
Training has succeeded and this version is ready to serve.
|
| Modifier and Type | Method and Description |
|---|---|
static Version.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<Version.State> |
internalGetValueMap() |
static Version.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Version.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Version.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Version.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Version.State STATE_UNSPECIFIED
Not specified. This value is not used.
STATE_UNSPECIFIED = 0;public static final Version.State RUNNING
Version is not ready to serve (e.g. training is running).
RUNNING = 1;public static final Version.State SUCCEEDED
Training has succeeded and this version is ready to serve.
SUCCEEDED = 2;public static final Version.State FAILED
Version training failed.
FAILED = 3;public static final Version.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Not specified. This value is not used.
STATE_UNSPECIFIED = 0;public static final int RUNNING_VALUE
Version is not ready to serve (e.g. training is running).
RUNNING = 1;public static final int SUCCEEDED_VALUE
Training has succeeded and this version is ready to serve.
SUCCEEDED = 2;public static final int FAILED_VALUE
Version training failed.
FAILED = 3;public static Version.State[] values()
for (Version.State c : Version.State.values()) System.out.println(c);
public static Version.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 Version.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Version.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Version.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 Version.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.