Package com.google.cloud.dialogflow.v2
Enum ConversationModel.State
- java.lang.Object
-
- java.lang.Enum<ConversationModel.State>
-
- com.google.cloud.dialogflow.v2.ConversationModel.State
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<ConversationModel.State>
- Enclosing class:
- ConversationModel
public static enum ConversationModel.State extends Enum<ConversationModel.State> implements com.google.protobuf.ProtocolMessageEnum
State of the model.
Protobuf enumgoogle.cloud.dialogflow.v2.ConversationModel.State
-
-
Enum Constant Summary
Enum Constants Enum Constant 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
-
Field Summary
Fields Modifier and Type Field 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ConversationModel.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<ConversationModel.State>
internalGetValueMap()
static ConversationModel.State
valueOf(int value)
Deprecated.static ConversationModel.State
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.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.
-
-
-
Enum Constant Detail
-
STATE_UNSPECIFIED
public static final ConversationModel.State STATE_UNSPECIFIED
Should not be used, an un-set enum has this value by default.
STATE_UNSPECIFIED = 0;
-
CREATING
public static final ConversationModel.State CREATING
Model being created.
CREATING = 1;
-
UNDEPLOYED
public static final ConversationModel.State UNDEPLOYED
Model is not deployed but ready to deploy.
UNDEPLOYED = 2;
-
DEPLOYING
public static final ConversationModel.State DEPLOYING
Model is deploying.
DEPLOYING = 3;
-
DEPLOYED
public static final ConversationModel.State DEPLOYED
Model is deployed and ready to use.
DEPLOYED = 4;
-
UNDEPLOYING
public static final ConversationModel.State UNDEPLOYING
Model is undeploying.
UNDEPLOYING = 5;
-
DELETING
public static final ConversationModel.State DELETING
Model is deleting.
DELETING = 6;
-
FAILED
public static final ConversationModel.State FAILED
Model is in error state. Not ready to deploy and use.
FAILED = 7;
-
PENDING
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;
-
UNRECOGNIZED
public static final ConversationModel.State UNRECOGNIZED
-
-
Field Detail
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUE
Should not be used, an un-set enum has this value by default.
STATE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
CREATING_VALUE
public static final int CREATING_VALUE
Model being created.
CREATING = 1;
- See Also:
- Constant Field Values
-
UNDEPLOYED_VALUE
public static final int UNDEPLOYED_VALUE
Model is not deployed but ready to deploy.
UNDEPLOYED = 2;
- See Also:
- Constant Field Values
-
DEPLOYING_VALUE
public static final int DEPLOYING_VALUE
Model is deploying.
DEPLOYING = 3;
- See Also:
- Constant Field Values
-
DEPLOYED_VALUE
public static final int DEPLOYED_VALUE
Model is deployed and ready to use.
DEPLOYED = 4;
- See Also:
- Constant Field Values
-
UNDEPLOYING_VALUE
public static final int UNDEPLOYING_VALUE
Model is undeploying.
UNDEPLOYING = 5;
- See Also:
- Constant Field Values
-
DELETING_VALUE
public static final int DELETING_VALUE
Model is deleting.
DELETING = 6;
- See Also:
- Constant Field Values
-
FAILED_VALUE
public static final int FAILED_VALUE
Model is in error state. Not ready to deploy and use.
FAILED = 7;
- See Also:
- Constant Field Values
-
PENDING_VALUE
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;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ConversationModel.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConversationModel.State c : ConversationModel.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConversationModel.State valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ConversationModel.State valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static ConversationModel.State forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ConversationModel.State> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ConversationModel.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-