Interface HumanReviewStatusOrBuilder (2.21.0)

public interface HumanReviewStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHumanReviewOperation()

public abstract String getHumanReviewOperation()

The name of the operation triggered by the processed document. This field is populated only when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has the same response type and metadata as the long running operation returned by [ReviewDocument] method.

string human_review_operation = 3;

Returns
TypeDescription
String

The humanReviewOperation.

getHumanReviewOperationBytes()

public abstract ByteString getHumanReviewOperationBytes()

The name of the operation triggered by the processed document. This field is populated only when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has the same response type and metadata as the long running operation returned by [ReviewDocument] method.

string human_review_operation = 3;

Returns
TypeDescription
ByteString

The bytes for humanReviewOperation.

getState()

public abstract HumanReviewStatus.State getState()

The state of human review on the processing request.

.google.cloud.documentai.v1.HumanReviewStatus.State state = 1;

Returns
TypeDescription
HumanReviewStatus.State

The state.

getStateMessage()

public abstract String getStateMessage()

A message providing more details about the human review state.

string state_message = 2;

Returns
TypeDescription
String

The stateMessage.

getStateMessageBytes()

public abstract ByteString getStateMessageBytes()

A message providing more details about the human review state.

string state_message = 2;

Returns
TypeDescription
ByteString

The bytes for stateMessage.

getStateValue()

public abstract int getStateValue()

The state of human review on the processing request.

.google.cloud.documentai.v1.HumanReviewStatus.State state = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for state.