Enum IssueModel.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<IssueModel.State>
- Enclosing class:
- IssueModel
public static enum IssueModel.State
extends Enum<IssueModel.State>
implements com.google.protobuf.ProtocolMessageEnum
State of the model.Protobuf enum
google.cloud.contactcenterinsights.v1.IssueModel.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionModel is being deleted.Model is deployed and is ready to be used.Model is being deployed.Unspecified.Model is not deployed but is ready to deploy.Model is being undeployed. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intModel is being deleted.static final intModel is deployed and is ready to be used.static final intModel is being deployed.static final intUnspecified.static final intModel is not deployed but is ready to deploy.static final intModel is being undeployed. -
Method Summary
Modifier and TypeMethodDescriptionstatic IssueModel.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<IssueModel.State>static IssueModel.StatevalueOf(int value) Deprecated.static IssueModel.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static IssueModel.StateReturns the enum constant of this type with the specified name.static IssueModel.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
Unspecified.
STATE_UNSPECIFIED = 0; -
UNDEPLOYED
Model is not deployed but is ready to deploy.
UNDEPLOYED = 1; -
DEPLOYING
Model is being deployed.
DEPLOYING = 2; -
DEPLOYED
Model is deployed and is ready to be used. A model can only be used in analysis if it's in this state.
DEPLOYED = 3; -
UNDEPLOYING
Model is being undeployed.
UNDEPLOYING = 4; -
DELETING
Model is being deleted.
DELETING = 5; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEUnspecified.
STATE_UNSPECIFIED = 0;- See Also:
-
UNDEPLOYED_VALUE
public static final int UNDEPLOYED_VALUEModel is not deployed but is ready to deploy.
UNDEPLOYED = 1;- See Also:
-
DEPLOYING_VALUE
public static final int DEPLOYING_VALUEModel is being deployed.
DEPLOYING = 2;- See Also:
-
DEPLOYED_VALUE
public static final int DEPLOYED_VALUEModel is deployed and is ready to be used. A model can only be used in analysis if it's in this state.
DEPLOYED = 3;- See Also:
-
UNDEPLOYING_VALUE
public static final int UNDEPLOYING_VALUEModel is being undeployed.
UNDEPLOYING = 4;- See Also:
-
DELETING_VALUE
public static final int DELETING_VALUEModel is being deleted.
DELETING = 5;- 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
-
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
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
-