Class Document.Revision.HumanReview.Builder (2.43.0)

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

Human Review information of the document.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Document.Revision.HumanReview.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Document.Revision.HumanReview.Builder
Overrides

build()

public Document.Revision.HumanReview build()
Returns
TypeDescription
Document.Revision.HumanReview

buildPartial()

public Document.Revision.HumanReview buildPartial()
Returns
TypeDescription
Document.Revision.HumanReview

clear()

public Document.Revision.HumanReview.Builder clear()
Returns
TypeDescription
Document.Revision.HumanReview.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Document.Revision.HumanReview.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Document.Revision.HumanReview.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Document.Revision.HumanReview.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Document.Revision.HumanReview.Builder
Overrides

clearState()

public Document.Revision.HumanReview.Builder clearState()

Human review state. e.g. requested, succeeded, rejected.

string state = 1;

Returns
TypeDescription
Document.Revision.HumanReview.Builder

This builder for chaining.

clearStateMessage()

public Document.Revision.HumanReview.Builder clearStateMessage()

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
TypeDescription
Document.Revision.HumanReview.Builder

This builder for chaining.

clone()

public Document.Revision.HumanReview.Builder clone()
Returns
TypeDescription
Document.Revision.HumanReview.Builder
Overrides

getDefaultInstanceForType()

public Document.Revision.HumanReview getDefaultInstanceForType()
Returns
TypeDescription
Document.Revision.HumanReview

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getState()

public String getState()

Human review state. e.g. requested, succeeded, rejected.

string state = 1;

Returns
TypeDescription
String

The state.

getStateBytes()

public ByteString getStateBytes()

Human review state. e.g. requested, succeeded, rejected.

string state = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for stateMessage.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Document.Revision.HumanReview other)

public Document.Revision.HumanReview.Builder mergeFrom(Document.Revision.HumanReview other)
Parameter
NameDescription
otherDocument.Revision.HumanReview
Returns
TypeDescription
Document.Revision.HumanReview.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Document.Revision.HumanReview.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Document.Revision.HumanReview.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Document.Revision.HumanReview.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Document.Revision.HumanReview.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Document.Revision.HumanReview.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Document.Revision.HumanReview.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Document.Revision.HumanReview.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Document.Revision.HumanReview.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Document.Revision.HumanReview.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Document.Revision.HumanReview.Builder
Overrides

setState(String value)

public Document.Revision.HumanReview.Builder setState(String value)

Human review state. e.g. requested, succeeded, rejected.

string state = 1;

Parameter
NameDescription
valueString

The state to set.

Returns
TypeDescription
Document.Revision.HumanReview.Builder

This builder for chaining.

setStateBytes(ByteString value)

public Document.Revision.HumanReview.Builder setStateBytes(ByteString value)

Human review state. e.g. requested, succeeded, rejected.

string state = 1;

Parameter
NameDescription
valueByteString

The bytes for state to set.

Returns
TypeDescription
Document.Revision.HumanReview.Builder

This builder for chaining.

setStateMessage(String value)

public Document.Revision.HumanReview.Builder setStateMessage(String value)

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;

Parameter
NameDescription
valueString

The stateMessage to set.

Returns
TypeDescription
Document.Revision.HumanReview.Builder

This builder for chaining.

setStateMessageBytes(ByteString value)

public Document.Revision.HumanReview.Builder setStateMessageBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for stateMessage to set.

Returns
TypeDescription
Document.Revision.HumanReview.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Document.Revision.HumanReview.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Document.Revision.HumanReview.Builder
Overrides