Interface ReviewDocumentRequestOrBuilder (2.58.0)

public interface ReviewDocumentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocumentSchema()

public abstract DocumentSchema getDocumentSchema()

The document schema of the human review task.

.google.cloud.documentai.v1.DocumentSchema document_schema = 6;

Returns
Type Description
DocumentSchema

The documentSchema.

getDocumentSchemaOrBuilder()

public abstract DocumentSchemaOrBuilder getDocumentSchemaOrBuilder()

The document schema of the human review task.

.google.cloud.documentai.v1.DocumentSchema document_schema = 6;

Returns
Type Description
DocumentSchemaOrBuilder

getEnableSchemaValidation()

public abstract boolean getEnableSchemaValidation()

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

bool enable_schema_validation = 3;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for humanReviewConfig.

getInlineDocument()

public abstract Document getInlineDocument()

An inline document proto.

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

Returns
Type Description
Document

The inlineDocument.

getInlineDocumentOrBuilder()

public abstract DocumentOrBuilder getInlineDocumentOrBuilder()

An inline document proto.

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

Returns
Type Description
DocumentOrBuilder

getPriority()

public abstract ReviewDocumentRequest.Priority getPriority()

The priority of the human review task.

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

Returns
Type Description
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
Type Description
int

The enum numeric value on the wire for priority.

getSourceCase()

public abstract ReviewDocumentRequest.SourceCase getSourceCase()
Returns
Type Description
ReviewDocumentRequest.SourceCase

hasDocumentSchema()

public abstract boolean hasDocumentSchema()

The document schema of the human review task.

.google.cloud.documentai.v1.DocumentSchema document_schema = 6;

Returns
Type Description
boolean

Whether the documentSchema field is set.

hasInlineDocument()

public abstract boolean hasInlineDocument()

An inline document proto.

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

Returns
Type Description
boolean

Whether the inlineDocument field is set.