Interface ReviewDocumentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReviewDocumentRequest
,ReviewDocumentRequest.Builder
public interface ReviewDocumentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Document
getDocument()
Deprecated.google.cloud.documentai.v1beta3.ReviewDocumentRequest.document is deprecated.DocumentOrBuilder
getDocumentOrBuilder()
Deprecated.DocumentSchema
getDocumentSchema()
The document schema of the human review task.DocumentSchemaOrBuilder
getDocumentSchemaOrBuilder()
The document schema of the human review task.boolean
getEnableSchemaValidation()
Whether the validation should be performed on the ad-hoc review request.String
getHumanReviewConfig()
Required.com.google.protobuf.ByteString
getHumanReviewConfigBytes()
Required.Document
getInlineDocument()
An inline document proto.DocumentOrBuilder
getInlineDocumentOrBuilder()
An inline document proto.ReviewDocumentRequest.Priority
getPriority()
The priority of the human review task.int
getPriorityValue()
The priority of the human review task.ReviewDocumentRequest.SourceCase
getSourceCase()
boolean
hasDocument()
Deprecated.google.cloud.documentai.v1beta3.ReviewDocumentRequest.document is deprecated.boolean
hasDocumentSchema()
The document schema of the human review task.boolean
hasInlineDocument()
An inline document proto.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasInlineDocument
boolean hasInlineDocument()
An inline document proto.
.google.cloud.documentai.v1beta3.Document inline_document = 4;
- Returns:
- Whether the inlineDocument field is set.
-
getInlineDocument
Document getInlineDocument()
An inline document proto.
.google.cloud.documentai.v1beta3.Document inline_document = 4;
- Returns:
- The inlineDocument.
-
getInlineDocumentOrBuilder
DocumentOrBuilder getInlineDocumentOrBuilder()
An inline document proto.
.google.cloud.documentai.v1beta3.Document inline_document = 4;
-
getHumanReviewConfig
String getHumanReviewConfig()
Required. The resource name of the [HumanReviewConfig][google.cloud.documentai.v1beta3.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.v1beta3.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.
-
hasDocument
@Deprecated boolean hasDocument()
Deprecated.google.cloud.documentai.v1beta3.ReviewDocumentRequest.document is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=1099The document that needs human review.
.google.cloud.documentai.v1beta3.Document document = 2 [deprecated = true];
- Returns:
- Whether the document field is set.
-
getDocument
@Deprecated Document getDocument()
Deprecated.google.cloud.documentai.v1beta3.ReviewDocumentRequest.document is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=1099The document that needs human review.
.google.cloud.documentai.v1beta3.Document document = 2 [deprecated = true];
- Returns:
- The document.
-
getDocumentOrBuilder
@Deprecated DocumentOrBuilder getDocumentOrBuilder()
Deprecated.The document that needs human review.
.google.cloud.documentai.v1beta3.Document document = 2 [deprecated = true];
-
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.v1beta3.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.v1beta3.ReviewDocumentRequest.Priority priority = 5;
- Returns:
- The priority.
-
hasDocumentSchema
boolean hasDocumentSchema()
The document schema of the human review task.
.google.cloud.documentai.v1beta3.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.v1beta3.DocumentSchema document_schema = 6;
- Returns:
- The documentSchema.
-
getDocumentSchemaOrBuilder
DocumentSchemaOrBuilder getDocumentSchemaOrBuilder()
The document schema of the human review task.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 6;
-
getSourceCase
ReviewDocumentRequest.SourceCase getSourceCase()
-
-