Interface ReviewDocumentRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ReviewDocumentRequest, ReviewDocumentRequest.Builder

@Generated public interface ReviewDocumentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasInlineDocument

      boolean hasInlineDocument()
       An inline document proto.
       
      .google.cloud.documentai.v1.Document inline_document = 4;
      Returns:
      Whether the inlineDocument field is set.
    • getInlineDocument

      Document getInlineDocument()
       An inline document proto.
       
      .google.cloud.documentai.v1.Document inline_document = 4;
      Returns:
      The inlineDocument.
    • getInlineDocumentOrBuilder

      DocumentOrBuilder getInlineDocumentOrBuilder()
       An inline document proto.
       
      .google.cloud.documentai.v1.Document inline_document = 4;
    • getHumanReviewConfig

      String getHumanReviewConfig()
       Required. The resource name of the
       [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the
       document will be reviewed with.
       
      string human_review_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The humanReviewConfig.
    • getHumanReviewConfigBytes

      com.google.protobuf.ByteString getHumanReviewConfigBytes()
       Required. The resource name of the
       [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the
       document will be reviewed with.
       
      string human_review_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for humanReviewConfig.
    • getEnableSchemaValidation

      boolean getEnableSchemaValidation()
       Whether the validation should be performed on the ad-hoc review request.
       
      bool enable_schema_validation = 3;
      Returns:
      The enableSchemaValidation.
    • getPriorityValue

      int getPriorityValue()
       The priority of the human review task.
       
      .google.cloud.documentai.v1.ReviewDocumentRequest.Priority priority = 5;
      Returns:
      The enum numeric value on the wire for priority.
    • getPriority

       The priority of the human review task.
       
      .google.cloud.documentai.v1.ReviewDocumentRequest.Priority priority = 5;
      Returns:
      The priority.
    • hasDocumentSchema

      boolean hasDocumentSchema()
       The document schema of the human review task.
       
      .google.cloud.documentai.v1.DocumentSchema document_schema = 6;
      Returns:
      Whether the documentSchema field is set.
    • getDocumentSchema

      DocumentSchema getDocumentSchema()
       The document schema of the human review task.
       
      .google.cloud.documentai.v1.DocumentSchema document_schema = 6;
      Returns:
      The documentSchema.
    • getDocumentSchemaOrBuilder

      DocumentSchemaOrBuilder getDocumentSchemaOrBuilder()
       The document schema of the human review task.
       
      .google.cloud.documentai.v1.DocumentSchema document_schema = 6;
    • getSourceCase