public final class HumanReviewStatus extends GeneratedMessageV3 implements HumanReviewStatusOrBuilder
The status of human review on a processed document.
Protobuf type google.cloud.documentai.v1beta3.HumanReviewStatus
Fields
HUMAN_REVIEW_OPERATION_FIELD_NUMBER
public static final int HUMAN_REVIEW_OPERATION_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
STATE_MESSAGE_FIELD_NUMBER
public static final int STATE_MESSAGE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static HumanReviewStatus getDefaultInstance()
Returns
getDefaultInstanceForType()
public HumanReviewStatus getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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] method.
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] method.
string human_review_operation = 3;
Returns
Type | Description |
ByteString | The bytes for humanReviewOperation.
|
getParserForType()
public Parser<HumanReviewStatus> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
public HumanReviewStatus.State getState()
The state of human review on the processing request.
.google.cloud.documentai.v1beta3.HumanReviewStatus.State state = 1;
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static HumanReviewStatus.Builder newBuilder()
Returns
newBuilder(HumanReviewStatus prototype)
public static HumanReviewStatus.Builder newBuilder(HumanReviewStatus prototype)
Parameter
Returns
newBuilderForType()
public HumanReviewStatus.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HumanReviewStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static HumanReviewStatus parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static HumanReviewStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static HumanReviewStatus parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HumanReviewStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static HumanReviewStatus parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HumanReviewStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HumanReviewStatus parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static HumanReviewStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HumanReviewStatus parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static HumanReviewStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static HumanReviewStatus parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HumanReviewStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<HumanReviewStatus> parser()
Returns
toBuilder()
public HumanReviewStatus.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions