Package com.google.cloud.documentai.v1
Enum ProcessorVersion.State
- java.lang.Object
-
- java.lang.Enum<ProcessorVersion.State>
-
- com.google.cloud.documentai.v1.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 enumgoogle.cloud.documentai.v1.ProcessorVersion.State
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATINGThe processor version is being created.DELETINGThe processor version is being deleted.DEPLOYEDThe processor version is deployed and can be used for processing.DEPLOYINGThe processor version is being deployed.FAILEDThe processor version failed and is in an indeterminate state.IMPORTINGThe processor version is being imported.STATE_UNSPECIFIEDThe processor version is in an unspecified state.UNDEPLOYEDThe processor version is not deployed and cannot be used for processing.UNDEPLOYINGThe processor version is being undeployed.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCREATING_VALUEThe processor version is being created.static intDELETING_VALUEThe processor version is being deleted.static intDEPLOYED_VALUEThe processor version is deployed and can be used for processing.static intDEPLOYING_VALUEThe processor version is being deployed.static intFAILED_VALUEThe processor version failed and is in an indeterminate state.static intIMPORTING_VALUEThe processor version is being imported.static intSTATE_UNSPECIFIED_VALUEThe processor version is in an unspecified state.static intUNDEPLOYED_VALUEThe processor version is not deployed and cannot be used for processing.static intUNDEPLOYING_VALUEThe processor version is being undeployed.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ProcessorVersion.StateforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ProcessorVersion.State>internalGetValueMap()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.StatevalueOf(String name)Returns 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 Detail
-
STATE_UNSPECIFIED
public static final ProcessorVersion.State STATE_UNSPECIFIED
The processor version is in an unspecified state.
STATE_UNSPECIFIED = 0;
-
DEPLOYED
public static final ProcessorVersion.State DEPLOYED
The processor version is deployed and can be used for processing.
DEPLOYED = 1;
-
DEPLOYING
public static final ProcessorVersion.State DEPLOYING
The processor version is being deployed.
DEPLOYING = 2;
-
UNDEPLOYED
public static final ProcessorVersion.State UNDEPLOYED
The processor version is not deployed and cannot be used for processing.
UNDEPLOYED = 3;
-
UNDEPLOYING
public static final ProcessorVersion.State UNDEPLOYING
The processor version is being undeployed.
UNDEPLOYING = 4;
-
CREATING
public static final ProcessorVersion.State CREATING
The processor version is being created.
CREATING = 5;
-
DELETING
public static final ProcessorVersion.State DELETING
The processor version is being deleted.
DELETING = 6;
-
FAILED
public static final ProcessorVersion.State FAILED
The processor version failed and is in an indeterminate state.
FAILED = 7;
-
IMPORTING
public static final ProcessorVersion.State IMPORTING
The processor version is being imported.
IMPORTING = 8;
-
UNRECOGNIZED
public static final ProcessorVersion.State UNRECOGNIZED
-
-
Field Detail
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUE
The processor version is in an unspecified state.
STATE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
DEPLOYED_VALUE
public static final int DEPLOYED_VALUE
The processor version is deployed and can be used for processing.
DEPLOYED = 1;- See Also:
- Constant Field Values
-
DEPLOYING_VALUE
public static final int DEPLOYING_VALUE
The processor version is being deployed.
DEPLOYING = 2;- See Also:
- Constant Field Values
-
UNDEPLOYED_VALUE
public static final int UNDEPLOYED_VALUE
The processor version is not deployed and cannot be used for processing.
UNDEPLOYED = 3;- See Also:
- Constant Field Values
-
UNDEPLOYING_VALUE
public static final int UNDEPLOYING_VALUE
The processor version is being undeployed.
UNDEPLOYING = 4;- See Also:
- Constant Field Values
-
CREATING_VALUE
public static final int CREATING_VALUE
The processor version is being created.
CREATING = 5;- See Also:
- Constant Field Values
-
DELETING_VALUE
public static final int DELETING_VALUE
The processor version is being deleted.
DELETING = 6;- See Also:
- Constant Field Values
-
FAILED_VALUE
public static final int FAILED_VALUE
The processor version failed and is in an indeterminate state.
FAILED = 7;- See Also:
- Constant Field Values
-
IMPORTING_VALUE
public static final int IMPORTING_VALUE
The processor version is being imported.
IMPORTING = 8;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ProcessorVersion.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 (ProcessorVersion.State c : ProcessorVersion.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 ProcessorVersion.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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ProcessorVersion.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 ProcessorVersion.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<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 final 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
-
-