Interface ReviewDocumentRequestOrBuilder (2.6.0)

public interface ReviewDocumentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.v1.Document inline_document = 4;

Returns
TypeDescription
Document

The inlineDocument.

getInlineDocumentOrBuilder()

public abstract DocumentOrBuilder getInlineDocumentOrBuilder()

An inline document proto.

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

Returns
TypeDescription
DocumentOrBuilder

getPriority()

public abstract ReviewDocumentRequest.Priority getPriority()

The priority of the human review task.

.google.cloud.documentai.v1.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.v1.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

hasInlineDocument()

public abstract boolean hasInlineDocument()

An inline document proto.

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

Returns
TypeDescription
boolean

Whether the inlineDocument field is set.