Interface HumanReviewStatusOrBuilder (2.52.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.

string human_review_operation = 3;

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

string human_review_operation = 3;

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

The state.

getStateMessage()

public abstract String getStateMessage()

A message providing more details about the human review state.

string state_message = 2;

Returns
Type Description
String

The stateMessage.

getStateMessageBytes()

public abstract ByteString getStateMessageBytes()

A message providing more details about the human review state.

string state_message = 2;

Returns
Type Description
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
Type Description
int

The enum numeric value on the wire for state.