Package com.google.cloud.dialogflow.v2
Enum 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 enum
google.cloud.dialogflow.v2.ConversationModel.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionModel being created.Model is deleting.Model is deployed and ready to use.Model is deploying.Model is in error state.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.Should not be used, an un-set enum has this value by default.Model is not deployed but ready to deploy.Model is undeploying. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intModel being created.static final intModel is deleting.static final intModel is deployed and ready to use.static final intModel is deploying.static final intModel is in error state.static final intModel 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 final intShould not be used, an un-set enum has this value by default.static final intModel is not deployed but ready to deploy.static final intModel is undeploying. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConversationModel.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ConversationModel.State>static ConversationModel.StatevalueOf(int value) Deprecated.static ConversationModel.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ConversationModel.StateReturns 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 Details
-
STATE_UNSPECIFIED
Should not be used, an un-set enum has this value by default.
STATE_UNSPECIFIED = 0; -
CREATING
Model being created.
CREATING = 1; -
UNDEPLOYED
Model is not deployed but ready to deploy.
UNDEPLOYED = 2; -
DEPLOYING
Model is deploying.
DEPLOYING = 3; -
DEPLOYED
Model is deployed and ready to use.
DEPLOYED = 4; -
UNDEPLOYING
Model is undeploying.
UNDEPLOYING = 5; -
DELETING
Model is deleting.
DELETING = 6; -
FAILED
Model is in error state. Not ready to deploy and use.
FAILED = 7; -
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
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEShould not be used, an un-set enum has this value by default.
STATE_UNSPECIFIED = 0;- See Also:
-
CREATING_VALUE
public static final int CREATING_VALUEModel being created.
CREATING = 1;- See Also:
-
UNDEPLOYED_VALUE
public static final int UNDEPLOYED_VALUEModel is not deployed but ready to deploy.
UNDEPLOYED = 2;- See Also:
-
DEPLOYING_VALUE
public static final int DEPLOYING_VALUEModel is deploying.
DEPLOYING = 3;- See Also:
-
DEPLOYED_VALUE
public static final int DEPLOYED_VALUEModel is deployed and ready to use.
DEPLOYED = 4;- See Also:
-
UNDEPLOYING_VALUE
public static final int UNDEPLOYING_VALUEModel is undeploying.
UNDEPLOYING = 5;- See Also:
-
DELETING_VALUE
public static final int DELETING_VALUEModel is deleting.
DELETING = 6;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEModel is in error state. Not ready to deploy and use.
FAILED = 7;- See Also:
-
PENDING_VALUE
public static final int PENDING_VALUEModel 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:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static 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
-