Interface ProcessResponseOrBuilder (2.38.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
TypeDescription
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
TypeDescription
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=483

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
TypeDescription
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=483

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the humanReviewStatus field is set.