public static final class Document.Revision.HumanReview extends GeneratedMessageV3 implements Document.Revision.HumanReviewOrBuilder
Human Review information of the document.
Protobuf type google.cloud.documentai.v1beta3.Document.Revision.HumanReview
Static Fields
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
Static Methods
getDefaultInstance()
public static Document.Revision.HumanReview getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Document.Revision.HumanReview.Builder newBuilder()
Returns
newBuilder(Document.Revision.HumanReview prototype)
public static Document.Revision.HumanReview.Builder newBuilder(Document.Revision.HumanReview prototype)
Parameter
Returns
public static Document.Revision.HumanReview parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Document.Revision.HumanReview parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Document.Revision.HumanReview parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Document.Revision.HumanReview parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Document.Revision.HumanReview parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Document.Revision.HumanReview parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Document.Revision.HumanReview parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Document.Revision.HumanReview parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Document.Revision.HumanReview parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Document.Revision.HumanReview parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Document.Revision.HumanReview parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Document.Revision.HumanReview parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Document.Revision.HumanReview> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Document.Revision.HumanReview getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Document.Revision.HumanReview> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
Human review state. e.g. requested
, succeeded
, rejected
.
string state = 1;
Returns
Type | Description |
String | The state.
|
getStateBytes()
public ByteString getStateBytes()
Human review state. e.g. requested
, succeeded
, rejected
.
string state = 1;
Returns
getStateMessage()
public String getStateMessage()
A message providing more details about the current state of processing.
For example, the rejection reason when the state is rejected
.
string state_message = 2;
Returns
Type | Description |
String | The stateMessage.
|
getStateMessageBytes()
public ByteString getStateMessageBytes()
A message providing more details about the current state of processing.
For example, the rejection reason when the state is rejected
.
string state_message = 2;
Returns
Type | Description |
ByteString | The bytes for stateMessage.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Document.Revision.HumanReview.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Document.Revision.HumanReview.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Document.Revision.HumanReview.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions