/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/documentai/v1beta3/document_processor_service.proto

package com.google.cloud.documentai.v1beta3;

public interface ProcessResponseOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.ProcessResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The document payload, will populate fields based on the processor's
   * behavior.
   * </pre>
   *
   * <code>.google.cloud.documentai.v1beta3.Document document = 1;</code>
   *
   * @return Whether the document field is set.
   */
  boolean hasDocument();
  /**
   *
   *
   * <pre>
   * The document payload, will populate fields based on the processor's
   * behavior.
   * </pre>
   *
   * <code>.google.cloud.documentai.v1beta3.Document document = 1;</code>
   *
   * @return The document.
   */
  com.google.cloud.documentai.v1beta3.Document getDocument();
  /**
   *
   *
   * <pre>
   * The document payload, will populate fields based on the processor's
   * behavior.
   * </pre>
   *
   * <code>.google.cloud.documentai.v1beta3.Document document = 1;</code>
   */
  com.google.cloud.documentai.v1beta3.DocumentOrBuilder getDocumentOrBuilder();

  /**
   *
   *
   * <pre>
   * The name of the operation triggered by the processed document. If the human
   * review process is not triggered, this field will be empty. It has the same
   * response type and metadata as the long running operation returned by
   * ReviewDocument method.
   * </pre>
   *
   * <code>string human_review_operation = 2 [deprecated = true];</code>
   *
   * @deprecated google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is
   *     deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=434
   * @return The humanReviewOperation.
   */
  @java.lang.Deprecated
  java.lang.String getHumanReviewOperation();
  /**
   *
   *
   * <pre>
   * The name of the operation triggered by the processed document. If the human
   * review process is not triggered, this field will be empty. It has the same
   * response type and metadata as the long running operation returned by
   * ReviewDocument method.
   * </pre>
   *
   * <code>string human_review_operation = 2 [deprecated = true];</code>
   *
   * @deprecated google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is
   *     deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=434
   * @return The bytes for humanReviewOperation.
   */
  @java.lang.Deprecated
  com.google.protobuf.ByteString getHumanReviewOperationBytes();

  /**
   *
   *
   * <pre>
   * The status of human review on the processed document.
   * </pre>
   *
   * <code>.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;</code>
   *
   * @return Whether the humanReviewStatus field is set.
   */
  boolean hasHumanReviewStatus();
  /**
   *
   *
   * <pre>
   * The status of human review on the processed document.
   * </pre>
   *
   * <code>.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;</code>
   *
   * @return The humanReviewStatus.
   */
  com.google.cloud.documentai.v1beta3.HumanReviewStatus getHumanReviewStatus();
  /**
   *
   *
   * <pre>
   * The status of human review on the processed document.
   * </pre>
   *
   * <code>.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;</code>
   */
  com.google.cloud.documentai.v1beta3.HumanReviewStatusOrBuilder getHumanReviewStatusOrBuilder();
}
