Interface ReviewDocumentRequestOrBuilder (2.27.0)

public interface ReviewDocumentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocument() (deprecated)

public abstract Document getDocument()

Deprecated. google.cloud.documentai.v1beta3.ReviewDocumentRequest.document is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=1099

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

getDocumentSchema()

public abstract DocumentSchema getDocumentSchema()

The document schema of the human review task.

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

Returns
TypeDescription
DocumentSchema

The documentSchema.

getDocumentSchemaOrBuilder()

public abstract DocumentSchemaOrBuilder getDocumentSchemaOrBuilder()

The document schema of the human review task.

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

Returns
TypeDescription
DocumentSchemaOrBuilder

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() (deprecated)

public abstract boolean hasDocument()

Deprecated. google.cloud.documentai.v1beta3.ReviewDocumentRequest.document is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=1099

The document that needs human review.

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

Returns
TypeDescription
boolean

Whether the document field is set.

hasDocumentSchema()

public abstract boolean hasDocumentSchema()

The document schema of the human review task.

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

Returns
TypeDescription
boolean

Whether the documentSchema 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.