Interface ReviewDocumentResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReviewDocumentResponse
,ReviewDocumentResponse.Builder
public interface ReviewDocumentResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getGcsDestination()
The Cloud Storage uri for the human reviewed document if the review is succeeded.com.google.protobuf.ByteString
getGcsDestinationBytes()
The Cloud Storage uri for the human reviewed document if the review is succeeded.String
getRejectionReason()
The reason why the review is rejected by reviewer.com.google.protobuf.ByteString
getRejectionReasonBytes()
The reason why the review is rejected by reviewer.ReviewDocumentResponse.State
getState()
The state of the review operation.int
getStateValue()
The state of the review operation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.v1beta3.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.v1beta3.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.
-
-