public static enum ConversationModel.State extends Enum<ConversationModel.State> implements ProtocolMessageEnum
State of the model.Protobuf enum
google.cloud.dialogflow.v2.ConversationModel.State
Enum Constant and Description |
---|
CREATING
Model being created.
|
DELETING
Model is deleting.
|
DEPLOYED
Model is deployed and ready to use.
|
DEPLOYING
Model is deploying.
|
FAILED
Model is in error state.
|
PENDING
Model is being created but the training has not started,
The model may remain in this state until there is enough capacity to
start training.
|
STATE_UNSPECIFIED
Should not be used, an un-set enum has this value by default.
|
UNDEPLOYED
Model is not deployed but ready to deploy.
|
UNDEPLOYING
Model is undeploying.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CREATING_VALUE
Model being created.
|
static int |
DELETING_VALUE
Model is deleting.
|
static int |
DEPLOYED_VALUE
Model is deployed and ready to use.
|
static int |
DEPLOYING_VALUE
Model is deploying.
|
static int |
FAILED_VALUE
Model is in error state.
|
static int |
PENDING_VALUE
Model is being created but the training has not started,
The model may remain in this state until there is enough capacity to
start training.
|
static int |
STATE_UNSPECIFIED_VALUE
Should not be used, an un-set enum has this value by default.
|
static int |
UNDEPLOYED_VALUE
Model is not deployed but ready to deploy.
|
static int |
UNDEPLOYING_VALUE
Model is undeploying.
|
Modifier and Type | Method and Description |
---|---|
static ConversationModel.State |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ConversationModel.State> |
internalGetValueMap() |
static ConversationModel.State |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ConversationModel.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ConversationModel.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConversationModel.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConversationModel.State STATE_UNSPECIFIED
Should not be used, an un-set enum has this value by default.
STATE_UNSPECIFIED = 0;
public static final ConversationModel.State CREATING
Model being created.
CREATING = 1;
public static final ConversationModel.State UNDEPLOYED
Model is not deployed but ready to deploy.
UNDEPLOYED = 2;
public static final ConversationModel.State DEPLOYING
Model is deploying.
DEPLOYING = 3;
public static final ConversationModel.State DEPLOYED
Model is deployed and ready to use.
DEPLOYED = 4;
public static final ConversationModel.State UNDEPLOYING
Model is undeploying.
UNDEPLOYING = 5;
public static final ConversationModel.State DELETING
Model is deleting.
DELETING = 6;
public static final ConversationModel.State FAILED
Model is in error state. Not ready to deploy and use.
FAILED = 7;
public static final ConversationModel.State PENDING
Model is being created but the training has not started, The model may remain in this state until there is enough capacity to start training.
PENDING = 8;
public static final ConversationModel.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Should not be used, an un-set enum has this value by default.
STATE_UNSPECIFIED = 0;
public static final int CREATING_VALUE
Model being created.
CREATING = 1;
public static final int UNDEPLOYED_VALUE
Model is not deployed but ready to deploy.
UNDEPLOYED = 2;
public static final int DEPLOYING_VALUE
Model is deploying.
DEPLOYING = 3;
public static final int DEPLOYED_VALUE
Model is deployed and ready to use.
DEPLOYED = 4;
public static final int UNDEPLOYING_VALUE
Model is undeploying.
UNDEPLOYING = 5;
public static final int DELETING_VALUE
Model is deleting.
DELETING = 6;
public static final int FAILED_VALUE
Model is in error state. Not ready to deploy and use.
FAILED = 7;
public static final int PENDING_VALUE
Model is being created but the training has not started, The model may remain in this state until there is enough capacity to start training.
PENDING = 8;
public static ConversationModel.State[] values()
for (ConversationModel.State c : ConversationModel.State.values()) System.out.println(c);
public static ConversationModel.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 ConversationModel.State valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ConversationModel.State forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<ConversationModel.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 ConversationModel.State valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.