Package com.google.cloud.documentai.v1
Interface ReviewDocumentRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReviewDocumentRequest,ReviewDocumentRequest.Builder
@Generated
public interface ReviewDocumentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe document schema of the human review task.The document schema of the human review task.booleanWhether the validation should be performed on the ad-hoc review request.Required.com.google.protobuf.ByteStringRequired.An inline document proto.An inline document proto.The priority of the human review task.intThe priority of the human review task.booleanThe document schema of the human review task.booleanAn inline document proto.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInlineDocument
boolean hasInlineDocument()An inline document proto.
.google.cloud.documentai.v1.Document inline_document = 4;- Returns:
- Whether the inlineDocument field is set.
-
getInlineDocument
Document getInlineDocument()An inline document proto.
.google.cloud.documentai.v1.Document inline_document = 4;- Returns:
- The inlineDocument.
-
getInlineDocumentOrBuilder
DocumentOrBuilder getInlineDocumentOrBuilder()An inline document proto.
.google.cloud.documentai.v1.Document inline_document = 4; -
getHumanReviewConfig
String getHumanReviewConfig()Required. The resource name of the [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the document will be reviewed with.
string human_review_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The humanReviewConfig.
-
getHumanReviewConfigBytes
com.google.protobuf.ByteString getHumanReviewConfigBytes()Required. The resource name of the [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the document will be reviewed with.
string human_review_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for humanReviewConfig.
-
getEnableSchemaValidation
boolean getEnableSchemaValidation()Whether the validation should be performed on the ad-hoc review request.
bool enable_schema_validation = 3;- Returns:
- The enableSchemaValidation.
-
getPriorityValue
int getPriorityValue()The priority of the human review task.
.google.cloud.documentai.v1.ReviewDocumentRequest.Priority priority = 5;- Returns:
- The enum numeric value on the wire for priority.
-
getPriority
ReviewDocumentRequest.Priority getPriority()The priority of the human review task.
.google.cloud.documentai.v1.ReviewDocumentRequest.Priority priority = 5;- Returns:
- The priority.
-
hasDocumentSchema
boolean hasDocumentSchema()The document schema of the human review task.
.google.cloud.documentai.v1.DocumentSchema document_schema = 6;- Returns:
- Whether the documentSchema field is set.
-
getDocumentSchema
DocumentSchema getDocumentSchema()The document schema of the human review task.
.google.cloud.documentai.v1.DocumentSchema document_schema = 6;- Returns:
- The documentSchema.
-
getDocumentSchemaOrBuilder
DocumentSchemaOrBuilder getDocumentSchemaOrBuilder()The document schema of the human review task.
.google.cloud.documentai.v1.DocumentSchema document_schema = 6; -
getSourceCase
ReviewDocumentRequest.SourceCase getSourceCase()
-