Class HumanReviewStatus (2.48.0)

public final class HumanReviewStatus extends GeneratedMessageV3 implements HumanReviewStatusOrBuilder

The status of human review on a processed document.

Protobuf type google.cloud.documentai.v1beta3.HumanReviewStatus

Static Fields

HUMAN_REVIEW_OPERATION_FIELD_NUMBER

public static final int HUMAN_REVIEW_OPERATION_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

STATE_MESSAGE_FIELD_NUMBER

public static final int STATE_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HumanReviewStatus getDefaultInstance()
Returns
Type Description
HumanReviewStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static HumanReviewStatus.Builder newBuilder()
Returns
Type Description
HumanReviewStatus.Builder

newBuilder(HumanReviewStatus prototype)

public static HumanReviewStatus.Builder newBuilder(HumanReviewStatus prototype)
Parameter
Name Description
prototype HumanReviewStatus
Returns
Type Description
HumanReviewStatus.Builder

parseDelimitedFrom(InputStream input)

public static HumanReviewStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HumanReviewStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanReviewStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanReviewStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HumanReviewStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HumanReviewStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HumanReviewStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanReviewStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HumanReviewStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HumanReviewStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HumanReviewStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanReviewStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HumanReviewStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HumanReviewStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanReviewStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanReviewStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HumanReviewStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HumanReviewStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanReviewStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanReviewStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HumanReviewStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HumanReviewStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HumanReviewStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanReviewStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HumanReviewStatus> parser()
Returns
Type Description
Parser<HumanReviewStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public HumanReviewStatus getDefaultInstanceForType()
Returns
Type Description
HumanReviewStatus

getHumanReviewOperation()

public 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 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.

getParserForType()

public Parser<HumanReviewStatus> getParserForType()
Returns
Type Description
Parser<HumanReviewStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public HumanReviewStatus.State getState()

The state of human review on the processing request.

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

Returns
Type Description
HumanReviewStatus.State

The state.

getStateMessage()

public String getStateMessage()

A message providing more details about the human review state.

string state_message = 2;

Returns
Type Description
String

The stateMessage.

getStateMessageBytes()

public 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 int getStateValue()

The state of human review on the processing request.

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

Returns
Type Description
int

The enum numeric value on the wire for state.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HumanReviewStatus.Builder newBuilderForType()
Returns
Type Description
HumanReviewStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HumanReviewStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HumanReviewStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public HumanReviewStatus.Builder toBuilder()
Returns
Type Description
HumanReviewStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException