Interface ReviewDocumentResponseOrBuilder (2.8.0)

public interface ReviewDocumentResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGcsDestination()

public abstract String getGcsDestination()

The Cloud Storage uri for the human reviewed document if the review is succeeded.

string gcs_destination = 1;

Returns
TypeDescription
String

The gcsDestination.

getGcsDestinationBytes()

public abstract ByteString getGcsDestinationBytes()

The Cloud Storage uri for the human reviewed document if the review is succeeded.

string gcs_destination = 1;

Returns
TypeDescription
ByteString

The bytes for gcsDestination.

getRejectionReason()

public abstract String getRejectionReason()

The reason why the review is rejected by reviewer.

string rejection_reason = 3;

Returns
TypeDescription
String

The rejectionReason.

getRejectionReasonBytes()

public abstract ByteString getRejectionReasonBytes()

The reason why the review is rejected by reviewer.

string rejection_reason = 3;

Returns
TypeDescription
ByteString

The bytes for rejectionReason.

getState()

public abstract ReviewDocumentResponse.State getState()

The state of the review operation.

.google.cloud.documentai.v1beta3.ReviewDocumentResponse.State state = 2;

Returns
TypeDescription
ReviewDocumentResponse.State

The state.

getStateValue()

public abstract int getStateValue()

The state of the review operation.

.google.cloud.documentai.v1beta3.ReviewDocumentResponse.State state = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for state.