Interface ProcessResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProcessResponse
,ProcessResponse.Builder
public interface ProcessResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Document
getDocument()
The document payload, will populate fields based on the processor's behavior.DocumentOrBuilder
getDocumentOrBuilder()
The document payload, will populate fields based on the processor's behavior.String
getHumanReviewOperation()
Deprecated.google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is deprecated.com.google.protobuf.ByteString
getHumanReviewOperationBytes()
Deprecated.google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is deprecated.HumanReviewStatus
getHumanReviewStatus()
The status of human review on the processed document.HumanReviewStatusOrBuilder
getHumanReviewStatusOrBuilder()
The status of human review on the processed document.boolean
hasDocument()
The document payload, will populate fields based on the processor's behavior.boolean
hasHumanReviewStatus()
The status of human review on the processed document.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDocument
boolean hasDocument()
The document payload, will populate fields based on the processor's behavior.
.google.cloud.documentai.v1beta3.Document document = 1;
- Returns:
- Whether the document field is set.
-
getDocument
Document getDocument()
The document payload, will populate fields based on the processor's behavior.
.google.cloud.documentai.v1beta3.Document document = 1;
- Returns:
- The document.
-
getDocumentOrBuilder
DocumentOrBuilder getDocumentOrBuilder()
The document payload, will populate fields based on the processor's behavior.
.google.cloud.documentai.v1beta3.Document document = 1;
-
getHumanReviewOperation
@Deprecated String getHumanReviewOperation()
Deprecated.google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=451The name of the operation triggered by the processed document. If the human review process isn't triggered, this field is empty. It has the same response type and metadata as the long-running operation returned by [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument].
string human_review_operation = 2 [deprecated = true];
- Returns:
- The humanReviewOperation.
-
getHumanReviewOperationBytes
@Deprecated com.google.protobuf.ByteString getHumanReviewOperationBytes()
Deprecated.google.cloud.documentai.v1beta3.ProcessResponse.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=451The name of the operation triggered by the processed document. If the human review process isn't triggered, this field is empty. It has the same response type and metadata as the long-running operation returned by [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument].
string human_review_operation = 2 [deprecated = true];
- Returns:
- The bytes for humanReviewOperation.
-
hasHumanReviewStatus
boolean hasHumanReviewStatus()
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;
- Returns:
- Whether the humanReviewStatus field is set.
-
getHumanReviewStatus
HumanReviewStatus getHumanReviewStatus()
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;
- Returns:
- The humanReviewStatus.
-
getHumanReviewStatusOrBuilder
HumanReviewStatusOrBuilder getHumanReviewStatusOrBuilder()
The status of human review on the processed document.
.google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 3;
-
-