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