public final class HumanReviewStatus extends GeneratedMessageV3 implements HumanReviewStatusOrBuilder
The status of human review on a processed document.
Protobuf type google.cloud.documentai.v1beta3.HumanReviewStatus
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static HumanReviewStatus.Builder newBuilder()
newBuilder(HumanReviewStatus prototype)
public static HumanReviewStatus.Builder newBuilder(HumanReviewStatus prototype)
public static HumanReviewStatus parseDelimitedFrom(InputStream input)
public static HumanReviewStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static HumanReviewStatus parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HumanReviewStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static HumanReviewStatus parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HumanReviewStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HumanReviewStatus parseFrom(CodedInputStream input)
public static HumanReviewStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static HumanReviewStatus parseFrom(InputStream input)
public static HumanReviewStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static HumanReviewStatus parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HumanReviewStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<HumanReviewStatus> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public HumanReviewStatus getDefaultInstanceForType()
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()
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;
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public HumanReviewStatus.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HumanReviewStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public HumanReviewStatus.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides