Package com.google.cloud.documentai.v1
Interface HumanReviewStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HumanReviewStatus,HumanReviewStatus.Builder
@Generated
public interface HumanReviewStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the operation triggered by the processed document.com.google.protobuf.ByteStringThe name of the operation triggered by the processed document.getState()The state of human review on the processing request.A message providing more details about the human review state.com.google.protobuf.ByteStringA message providing more details about the human review state.intThe state of human review on the processing request.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
-
getStateValue
int getStateValue()The state of human review on the processing request.
.google.cloud.documentai.v1.HumanReviewStatus.State state = 1;- Returns:
- The enum numeric value on the wire for state.
-
getState
HumanReviewStatus.State getState()The state of human review on the processing request.
.google.cloud.documentai.v1.HumanReviewStatus.State state = 1;- Returns:
- The state.
-
getStateMessage
String getStateMessage()A message providing more details about the human review state.
string state_message = 2;- Returns:
- The stateMessage.
-
getStateMessageBytes
com.google.protobuf.ByteString getStateMessageBytes()A message providing more details about the human review state.
string state_message = 2;- Returns:
- The bytes for stateMessage.
-
getHumanReviewOperation
String getHumanReviewOperation()The name of the operation triggered by the processed document. This field is populated only when the [state][google.cloud.documentai.v1.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as the long-running operation returned by [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
string human_review_operation = 3;- Returns:
- The humanReviewOperation.
-
getHumanReviewOperationBytes
com.google.protobuf.ByteString getHumanReviewOperationBytes()The name of the operation triggered by the processed document. This field is populated only when the [state][google.cloud.documentai.v1.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as the long-running operation returned by [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
string human_review_operation = 3;- Returns:
- The bytes for humanReviewOperation.
-