Interface ProcessResponseOrBuilder

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

@Generated public interface ProcessResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The document payload, will populate fields based on the processor's behavior.
    The document payload, will populate fields based on the processor's behavior.
    Deprecated.
    google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is deprecated.
    The status of human review on the processed document.
    The status of human review on the processed document.
    boolean
    The document payload, will populate fields based on the processor's behavior.
    boolean
    The status of human review on the processed document.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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=555
       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=555
       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;