Interface ProcessResponseOrBuilder

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

    public interface ProcessResponseOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasDocument

        boolean hasDocument()
         The document payload, will populate fields based on the processor's
         behavior.
         
        .google.cloud.documentai.v1beta3.Document document = 1;
        Returns:
        Whether the document field is set.
      • getDocument

        Document getDocument()
         The document payload, will populate fields based on the processor's
         behavior.
         
        .google.cloud.documentai.v1beta3.Document document = 1;
        Returns:
        The document.
      • getDocumentOrBuilder

        DocumentOrBuilder getDocumentOrBuilder()
         The document payload, will populate fields based on the processor's
         behavior.
         
        .google.cloud.documentai.v1beta3.Document document = 1;
      • getHumanReviewOperation

        @Deprecated
        String getHumanReviewOperation()
        Deprecated.
        google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=451
         The name of the operation triggered by the processed document. If the human
         review process isn't triggered, this field is empty. It has the same
         response type and metadata as the long-running operation returned by
         [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument].
         
        string human_review_operation = 2 [deprecated = true];
        Returns:
        The humanReviewOperation.
      • getHumanReviewOperationBytes

        @Deprecated
        com.google.protobuf.ByteString getHumanReviewOperationBytes()
        Deprecated.
        google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=451
         The name of the operation triggered by the processed document. If the human
         review process isn't triggered, this field is empty. It has the same
         response type and metadata as the long-running operation returned by
         [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument].
         
        string human_review_operation = 2 [deprecated = true];
        Returns:
        The bytes for humanReviewOperation.
      • hasHumanReviewStatus

        boolean hasHumanReviewStatus()
         The status of human review on the processed document.
         
        .google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;
        Returns:
        Whether the humanReviewStatus field is set.
      • getHumanReviewStatus

        HumanReviewStatus getHumanReviewStatus()
         The status of human review on the processed document.
         
        .google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;
        Returns:
        The humanReviewStatus.
      • getHumanReviewStatusOrBuilder

        HumanReviewStatusOrBuilder getHumanReviewStatusOrBuilder()
         The status of human review on the processed document.
         
        .google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;