Interface ProcessResponseOrBuilder (2.53.0)

public interface ProcessResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocument()

public abstract Document getDocument()

The document payload, will populate fields based on the processor's behavior.

.google.cloud.documentai.v1beta3.Document document = 1;

Returns
Type Description
Document

The document.

getDocumentOrBuilder()

public abstract DocumentOrBuilder getDocumentOrBuilder()

The document payload, will populate fields based on the processor's behavior.

.google.cloud.documentai.v1beta3.Document document = 1;

Returns
Type Description
DocumentOrBuilder

getHumanReviewOperation() (deprecated)

public abstract String getHumanReviewOperation()

Deprecated. google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=529

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.

string human_review_operation = 2 [deprecated = true];

Returns
Type Description
String

The humanReviewOperation.

getHumanReviewOperationBytes() (deprecated)

public abstract ByteString getHumanReviewOperationBytes()

Deprecated. google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=529

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.

string human_review_operation = 2 [deprecated = true];

Returns
Type Description
ByteString

The bytes for humanReviewOperation.

getHumanReviewStatus()

public abstract HumanReviewStatus getHumanReviewStatus()

The status of human review on the processed document.

.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;

Returns
Type Description
HumanReviewStatus

The humanReviewStatus.

getHumanReviewStatusOrBuilder()

public abstract HumanReviewStatusOrBuilder getHumanReviewStatusOrBuilder()

The status of human review on the processed document.

.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;

Returns
Type Description
HumanReviewStatusOrBuilder

hasDocument()

public abstract boolean hasDocument()

The document payload, will populate fields based on the processor's behavior.

.google.cloud.documentai.v1beta3.Document document = 1;

Returns
Type Description
boolean

Whether the document field is set.

hasHumanReviewStatus()

public abstract boolean hasHumanReviewStatus()

The status of human review on the processed document.

.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;

Returns
Type Description
boolean

Whether the humanReviewStatus field is set.