Interface ReviewDocumentResponseOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The Cloud Storage uri for the human reviewed document if the review is succeeded.
    com.google.protobuf.ByteString
    The Cloud Storage uri for the human reviewed document if the review is succeeded.
    The reason why the review is rejected by reviewer.
    com.google.protobuf.ByteString
    The reason why the review is rejected by reviewer.
    The state of the review operation.
    int
    The state of the review operation.

    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

    • getGcsDestination

      String getGcsDestination()
       The Cloud Storage uri for the human reviewed document if the review is
       succeeded.
       
      string gcs_destination = 1;
      Returns:
      The gcsDestination.
    • getGcsDestinationBytes

      com.google.protobuf.ByteString getGcsDestinationBytes()
       The Cloud Storage uri for the human reviewed document if the review is
       succeeded.
       
      string gcs_destination = 1;
      Returns:
      The bytes for gcsDestination.
    • getStateValue

      int getStateValue()
       The state of the review operation.
       
      .google.cloud.documentai.v1.ReviewDocumentResponse.State state = 2;
      Returns:
      The enum numeric value on the wire for state.
    • getState

       The state of the review operation.
       
      .google.cloud.documentai.v1.ReviewDocumentResponse.State state = 2;
      Returns:
      The state.
    • getRejectionReason

      String getRejectionReason()
       The reason why the review is rejected by reviewer.
       
      string rejection_reason = 3;
      Returns:
      The rejectionReason.
    • getRejectionReasonBytes

      com.google.protobuf.ByteString getRejectionReasonBytes()
       The reason why the review is rejected by reviewer.
       
      string rejection_reason = 3;
      Returns:
      The bytes for rejectionReason.