Interface ReviewDocumentRequestOrBuilder (2.3.1)

public interface ReviewDocumentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocument()

public abstract Document getDocument()

The document that needs human review.

.google.cloud.documentai.v1beta3.Document document = 2 [deprecated = true];

Returns
TypeDescription
Document

The document.

getDocumentOrBuilder()

public abstract DocumentOrBuilder getDocumentOrBuilder()

The document that needs human review.

.google.cloud.documentai.v1beta3.Document document = 2 [deprecated = true];

Returns
TypeDescription
DocumentOrBuilder

getEnableSchemaValidation()

public abstract boolean getEnableSchemaValidation()

Whether the validation should be performed on the ad-hoc review request.

bool enable_schema_validation = 3;

Returns
TypeDescription
boolean

The enableSchemaValidation.

getHumanReviewConfig()

public abstract String getHumanReviewConfig()

Required. The resource name of the HumanReviewConfig that the document will be reviewed with.

string human_review_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The humanReviewConfig.

getHumanReviewConfigBytes()

public abstract ByteString getHumanReviewConfigBytes()

Required. The resource name of the HumanReviewConfig that the document will be reviewed with.

string human_review_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for humanReviewConfig.

getInlineDocument()

public abstract Document getInlineDocument()

An inline document proto.

.google.cloud.documentai.v1beta3.Document inline_document = 4;

Returns
TypeDescription
Document

The inlineDocument.

getInlineDocumentOrBuilder()

public abstract DocumentOrBuilder getInlineDocumentOrBuilder()

An inline document proto.

.google.cloud.documentai.v1beta3.Document inline_document = 4;

Returns
TypeDescription
DocumentOrBuilder

getPriority()

public abstract ReviewDocumentRequest.Priority getPriority()

The priority of the human review task.

.google.cloud.documentai.v1beta3.ReviewDocumentRequest.Priority priority = 5;

Returns
TypeDescription
ReviewDocumentRequest.Priority

The priority.

getPriorityValue()

public abstract int getPriorityValue()

The priority of the human review task.

.google.cloud.documentai.v1beta3.ReviewDocumentRequest.Priority priority = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for priority.

getSourceCase()

public abstract ReviewDocumentRequest.SourceCase getSourceCase()
Returns
TypeDescription
ReviewDocumentRequest.SourceCase

hasDocument()

public abstract boolean hasDocument()

The document that needs human review.

.google.cloud.documentai.v1beta3.Document document = 2 [deprecated = true];

Returns
TypeDescription
boolean

Whether the document field is set.

hasInlineDocument()

public abstract boolean hasInlineDocument()

An inline document proto.

.google.cloud.documentai.v1beta3.Document inline_document = 4;

Returns
TypeDescription
boolean

Whether the inlineDocument field is set.