public static enum Version.VersionStatus extends Enum<Version.VersionStatus> implements 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 Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Version.VersionStatus> |
internalGetValueMap() |
static Version.VersionStatus |
valueOf(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 Internal.EnumLite
getNumber
in interface 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 Internal.EnumLiteMap<Version.VersionStatus> 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 Version.VersionStatus valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.