Package com.google.cloud.documentai.v1
Interface ReviewDocumentResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReviewDocumentResponse,ReviewDocumentResponse.Builder
@Generated
public interface ReviewDocumentResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe Cloud Storage uri for the human reviewed document if the review is succeeded.com.google.protobuf.ByteStringThe Cloud Storage uri for the human reviewed document if the review is succeeded.The reason why the review is rejected by reviewer.com.google.protobuf.ByteStringThe reason why the review is rejected by reviewer.getState()The state of the review operation.intThe state of the review operation.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
-
getGcsDestination
String getGcsDestination()The Cloud Storage uri for the human reviewed document if the review is succeeded.
string gcs_destination = 1;- Returns:
- The gcsDestination.
-
getGcsDestinationBytes
com.google.protobuf.ByteString getGcsDestinationBytes()The Cloud Storage uri for the human reviewed document if the review is succeeded.
string gcs_destination = 1;- Returns:
- The bytes for gcsDestination.
-
getStateValue
int getStateValue()The state of the review operation.
.google.cloud.documentai.v1.ReviewDocumentResponse.State state = 2;- Returns:
- The enum numeric value on the wire for state.
-
getState
ReviewDocumentResponse.State getState()The state of the review operation.
.google.cloud.documentai.v1.ReviewDocumentResponse.State state = 2;- Returns:
- The state.
-
getRejectionReason
String getRejectionReason()The reason why the review is rejected by reviewer.
string rejection_reason = 3;- Returns:
- The rejectionReason.
-
getRejectionReasonBytes
com.google.protobuf.ByteString getRejectionReasonBytes()The reason why the review is rejected by reviewer.
string rejection_reason = 3;- Returns:
- The bytes for rejectionReason.
-