Interface ReviewDocumentResponseOrBuilder (2.50.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
Type Description
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
Type Description
ByteString

The bytes for gcsDestination.

getRejectionReason()

public abstract String getRejectionReason()

The reason why the review is rejected by reviewer.

string rejection_reason = 3;

Returns
Type Description
String

The rejectionReason.

getRejectionReasonBytes()

public abstract ByteString getRejectionReasonBytes()

The reason why the review is rejected by reviewer.

string rejection_reason = 3;

Returns
Type Description
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
Type Description
ReviewDocumentResponse.State

The state.

getStateValue()

public abstract int getStateValue()

The state of the review operation.

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

Returns
Type Description
int

The enum numeric value on the wire for state.