public static enum CreateConversationModelOperationMetadata.State extends Enum<CreateConversationModelOperationMetadata.State> implements ProtocolMessageEnum
State of CreateConversationModel operation.Protobuf enum
google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State
Enum Constant and Description |
---|
CANCELLED
The training has been cancelled.
|
CANCELLING
The training is in cancelling state.
|
FAILED
The training has succeeded.
|
PENDING
Request is submitted, but training has not started yet.
|
STATE_UNSPECIFIED
Invalid.
|
SUCCEEDED
The training has succeeded.
|
TRAINING
Custom model is training.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CANCELLED_VALUE
The training has been cancelled.
|
static int |
CANCELLING_VALUE
The training is in cancelling state.
|
static int |
FAILED_VALUE
The training has succeeded.
|
static int |
PENDING_VALUE
Request is submitted, but training has not started yet.
|
static int |
STATE_UNSPECIFIED_VALUE
Invalid.
|
static int |
SUCCEEDED_VALUE
The training has succeeded.
|
static int |
TRAINING_VALUE
Custom model is training.
|
Modifier and Type | Method and Description |
---|---|
static CreateConversationModelOperationMetadata.State |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<CreateConversationModelOperationMetadata.State> |
internalGetValueMap() |
static CreateConversationModelOperationMetadata.State |
valueOf(Descriptors.EnumValueDescriptor desc) |
static CreateConversationModelOperationMetadata.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CreateConversationModelOperationMetadata.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateConversationModelOperationMetadata.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateConversationModelOperationMetadata.State STATE_UNSPECIFIED
Invalid.
STATE_UNSPECIFIED = 0;
public static final CreateConversationModelOperationMetadata.State PENDING
Request is submitted, but training has not started yet. The model may remain in this state until there is enough capacity to start training.
PENDING = 1;
public static final CreateConversationModelOperationMetadata.State SUCCEEDED
The training has succeeded.
SUCCEEDED = 2;
public static final CreateConversationModelOperationMetadata.State FAILED
The training has succeeded.
FAILED = 3;
public static final CreateConversationModelOperationMetadata.State CANCELLED
The training has been cancelled.
CANCELLED = 4;
public static final CreateConversationModelOperationMetadata.State CANCELLING
The training is in cancelling state.
CANCELLING = 5;
public static final CreateConversationModelOperationMetadata.State TRAINING
Custom model is training.
TRAINING = 6;
public static final CreateConversationModelOperationMetadata.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Invalid.
STATE_UNSPECIFIED = 0;
public static final int PENDING_VALUE
Request is submitted, but training has not started yet. The model may remain in this state until there is enough capacity to start training.
PENDING = 1;
public static final int SUCCEEDED_VALUE
The training has succeeded.
SUCCEEDED = 2;
public static final int FAILED_VALUE
The training has succeeded.
FAILED = 3;
public static final int CANCELLED_VALUE
The training has been cancelled.
CANCELLED = 4;
public static final int CANCELLING_VALUE
The training is in cancelling state.
CANCELLING = 5;
public static final int TRAINING_VALUE
Custom model is training.
TRAINING = 6;
public static CreateConversationModelOperationMetadata.State[] values()
for (CreateConversationModelOperationMetadata.State c : CreateConversationModelOperationMetadata.State.values()) System.out.println(c);
public static CreateConversationModelOperationMetadata.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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static CreateConversationModelOperationMetadata.State valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static CreateConversationModelOperationMetadata.State forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<CreateConversationModelOperationMetadata.State> 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 CreateConversationModelOperationMetadata.State valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.