Class Document.Revision.HumanReview (2.57.0)

public static final class Document.Revision.HumanReview extends GeneratedMessageV3 implements Document.Revision.HumanReviewOrBuilder

Human Review information of the document.

Protobuf type google.cloud.documentai.v1.Document.Revision.HumanReview

Static Fields

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 Document.Revision.HumanReview getDefaultInstance()
Returns
Type Description
Document.Revision.HumanReview

getDescriptor()

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

newBuilder()

public static Document.Revision.HumanReview.Builder newBuilder()
Returns
Type Description
Document.Revision.HumanReview.Builder

newBuilder(Document.Revision.HumanReview prototype)

public static Document.Revision.HumanReview.Builder newBuilder(Document.Revision.HumanReview prototype)
Parameter
Name Description
prototype Document.Revision.HumanReview
Returns
Type Description
Document.Revision.HumanReview.Builder

parseDelimitedFrom(InputStream input)

public static Document.Revision.HumanReview parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Document.Revision.HumanReview
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Document.Revision.HumanReview parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.Revision.HumanReview
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Document.Revision.HumanReview parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Document.Revision.HumanReview
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Document.Revision.HumanReview parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.Revision.HumanReview
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Document.Revision.HumanReview parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Document.Revision.HumanReview
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Document.Revision.HumanReview parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.Revision.HumanReview
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Document.Revision.HumanReview parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Document.Revision.HumanReview
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Document.Revision.HumanReview parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.Revision.HumanReview
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Document.Revision.HumanReview parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Document.Revision.HumanReview
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Document.Revision.HumanReview parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.Revision.HumanReview
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Document.Revision.HumanReview parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Document.Revision.HumanReview
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Document.Revision.HumanReview parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.Revision.HumanReview
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Document.Revision.HumanReview> parser()
Returns
Type Description
Parser<HumanReview>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Document.Revision.HumanReview getDefaultInstanceForType()
Returns
Type Description
Document.Revision.HumanReview

getParserForType()

public Parser<Document.Revision.HumanReview> getParserForType()
Returns
Type Description
Parser<HumanReview>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public String 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
Type Description
ByteString

The bytes for state.

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.

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 Document.Revision.HumanReview.Builder newBuilderForType()
Returns
Type Description
Document.Revision.HumanReview.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Document.Revision.HumanReview.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Document.Revision.HumanReview.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Document.Revision.HumanReview.Builder toBuilder()
Returns
Type Description
Document.Revision.HumanReview.Builder

writeTo(CodedOutputStream output)

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