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 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;
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null