Enum HumanReviewStatus.State

java.lang.Object
java.lang.Enum<HumanReviewStatus.State>
com.google.cloud.documentai.v1.HumanReviewStatus.State
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<HumanReviewStatus.State>
Enclosing class:
HumanReviewStatus

public static enum HumanReviewStatus.State extends Enum<HumanReviewStatus.State> implements com.google.protobuf.ProtocolMessageEnum
 The final state of human review on a processed document.
 
Protobuf enum google.cloud.documentai.v1.HumanReviewStatus.State
  • Enum Constant Details

    • STATE_UNSPECIFIED

      public static final HumanReviewStatus.State STATE_UNSPECIFIED
       Human review state is unspecified. Most likely due to an internal error.
       
      STATE_UNSPECIFIED = 0;
    • SKIPPED

      public static final HumanReviewStatus.State SKIPPED
       Human review is skipped for the document. This can happen because human
       review isn't enabled on the processor or the processing request has
       been set to skip this document.
       
      SKIPPED = 1;
    • VALIDATION_PASSED

      public static final HumanReviewStatus.State VALIDATION_PASSED
       Human review validation is triggered and passed, so no review is needed.
       
      VALIDATION_PASSED = 2;
    • IN_PROGRESS

      public static final HumanReviewStatus.State IN_PROGRESS
       Human review validation is triggered and the document is under review.
       
      IN_PROGRESS = 3;
    • ERROR

      public static final HumanReviewStatus.State ERROR
       Some error happened during triggering human review, see the
       [state_message][google.cloud.documentai.v1.HumanReviewStatus.state_message]
       for details.
       
      ERROR = 4;
    • UNRECOGNIZED

      public static final HumanReviewStatus.State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

      public static final int STATE_UNSPECIFIED_VALUE
       Human review state is unspecified. Most likely due to an internal error.
       
      STATE_UNSPECIFIED = 0;
      See Also:
    • SKIPPED_VALUE

      public static final int SKIPPED_VALUE
       Human review is skipped for the document. This can happen because human
       review isn't enabled on the processor or the processing request has
       been set to skip this document.
       
      SKIPPED = 1;
      See Also:
    • VALIDATION_PASSED_VALUE

      public static final int VALIDATION_PASSED_VALUE
       Human review validation is triggered and passed, so no review is needed.
       
      VALIDATION_PASSED = 2;
      See Also:
    • IN_PROGRESS_VALUE

      public static final int IN_PROGRESS_VALUE
       Human review validation is triggered and the document is under review.
       
      IN_PROGRESS = 3;
      See Also:
    • ERROR_VALUE

      public static final int ERROR_VALUE
       Some error happened during triggering human review, see the
       [state_message][google.cloud.documentai.v1.HumanReviewStatus.state_message]
       for details.
       
      ERROR = 4;
      See Also:
  • Method Details

    • values

      public static HumanReviewStatus.State[] 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

      public static HumanReviewStatus.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 HumanReviewStatus.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 HumanReviewStatus.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<HumanReviewStatus.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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static HumanReviewStatus.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