Package com.google.cloud.documentai.v1
Enum ProcessorVersion.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ProcessorVersion.State>
- Enclosing class:
- ProcessorVersion
public static enum ProcessorVersion.State
extends Enum<ProcessorVersion.State>
implements com.google.protobuf.ProtocolMessageEnum
The possible states of the processor version.Protobuf enum
google.cloud.documentai.v1.ProcessorVersion.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe processor version is being created.The processor version is being deleted.The processor version is deployed and can be used for processing.The processor version is being deployed.The processor version failed and is in an indeterminate state.The processor version is being imported.The processor version is in an unspecified state.The processor version is not deployed and cannot be used for processing.The processor version is being undeployed. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe processor version is being created.static final intThe processor version is being deleted.static final intThe processor version is deployed and can be used for processing.static final intThe processor version is being deployed.static final intThe processor version failed and is in an indeterminate state.static final intThe processor version is being imported.static final intThe processor version is in an unspecified state.static final intThe processor version is not deployed and cannot be used for processing.static final intThe processor version is being undeployed. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessorVersion.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<ProcessorVersion.State>static ProcessorVersion.StatevalueOf(int value) Deprecated.static ProcessorVersion.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ProcessorVersion.StateReturns the enum constant of this type with the specified name.static ProcessorVersion.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
The processor version is in an unspecified state.
STATE_UNSPECIFIED = 0; -
DEPLOYED
The processor version is deployed and can be used for processing.
DEPLOYED = 1; -
DEPLOYING
The processor version is being deployed.
DEPLOYING = 2; -
UNDEPLOYED
The processor version is not deployed and cannot be used for processing.
UNDEPLOYED = 3; -
UNDEPLOYING
The processor version is being undeployed.
UNDEPLOYING = 4; -
CREATING
The processor version is being created.
CREATING = 5; -
DELETING
The processor version is being deleted.
DELETING = 6; -
FAILED
The processor version failed and is in an indeterminate state.
FAILED = 7; -
IMPORTING
The processor version is being imported.
IMPORTING = 8; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEThe processor version is in an unspecified state.
STATE_UNSPECIFIED = 0;- See Also:
-
DEPLOYED_VALUE
public static final int DEPLOYED_VALUEThe processor version is deployed and can be used for processing.
DEPLOYED = 1;- See Also:
-
DEPLOYING_VALUE
public static final int DEPLOYING_VALUEThe processor version is being deployed.
DEPLOYING = 2;- See Also:
-
UNDEPLOYED_VALUE
public static final int UNDEPLOYED_VALUEThe processor version is not deployed and cannot be used for processing.
UNDEPLOYED = 3;- See Also:
-
UNDEPLOYING_VALUE
public static final int UNDEPLOYING_VALUEThe processor version is being undeployed.
UNDEPLOYING = 4;- See Also:
-
CREATING_VALUE
public static final int CREATING_VALUEThe processor version is being created.
CREATING = 5;- See Also:
-
DELETING_VALUE
public static final int DELETING_VALUEThe processor version is being deleted.
DELETING = 6;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEThe processor version failed and is in an indeterminate state.
FAILED = 7;- See Also:
-
IMPORTING_VALUE
public static final int IMPORTING_VALUEThe processor version is being imported.
IMPORTING = 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<ProcessorVersion.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 ProcessorVersion.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
-