Interface ReviewDocumentRequestOrBuilder (2.46.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=1194

The document that needs human review.

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

Returns
Type Description
Document

The document.

getDocumentOrBuilder() (deprecated)

public abstract DocumentOrBuilder getDocumentOrBuilder()

The document that needs human review.

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

Returns
Type Description
DocumentOrBuilder

getDocumentSchema()

public abstract DocumentSchema getDocumentSchema()

The document schema of the human review task.

.google.cloud.documentai.v1beta3.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.v1beta3.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.v1beta3.Document inline_document = 4;

Returns
Type Description
Document

The inlineDocument.

getInlineDocumentOrBuilder()

public abstract DocumentOrBuilder getInlineDocumentOrBuilder()

An inline document proto.

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

Returns
Type Description
DocumentOrBuilder

getPriority()

public abstract ReviewDocumentRequest.Priority getPriority()

The priority of the human review task.

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

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=1194

The document that needs human review.

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

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

Whether the inlineDocument field is set.