public static final class Document.Revision.HumanReview.Builder extends GeneratedMessage.Builder<Document.Revision.HumanReview.Builder> implements Document.Revision.HumanReviewOrBuilderHuman Review information of the document.
Protobuf type google.cloud.documentai.v1.Document.Revision.HumanReview
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Document.Revision.HumanReview.BuilderImplements
Document.Revision.HumanReviewOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Document.Revision.HumanReview build()| Returns | |
|---|---|
| Type | Description |
Document.Revision.HumanReview |
|
buildPartial()
public Document.Revision.HumanReview buildPartial()| Returns | |
|---|---|
| Type | Description |
Document.Revision.HumanReview |
|
clear()
public Document.Revision.HumanReview.Builder clear()| Returns | |
|---|---|
| Type | Description |
Document.Revision.HumanReview.Builder |
|
clearState()
public Document.Revision.HumanReview.Builder clearState() Human review state. e.g. requested, succeeded, rejected.
string state = 1;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
Document.Revision.HumanReview.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Document.Revision.HumanReview getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Document.Revision.HumanReview |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Document.Revision.HumanReview other)
public Document.Revision.HumanReview.Builder mergeFrom(Document.Revision.HumanReview other)| Parameter | |
|---|---|
| Name | Description |
other |
Document.Revision.HumanReview |
| Returns | |
|---|---|
| Type | Description |
Document.Revision.HumanReview.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Document.Revision.HumanReview.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Document.Revision.HumanReview.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Document.Revision.HumanReview.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Document.Revision.HumanReview.Builder |
|
setState(String value)
public Document.Revision.HumanReview.Builder setState(String value) Human review state. e.g. requested, succeeded, rejected.
string state = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe state to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for state to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
StringThe stateMessage to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for stateMessage to set. |
| Returns | |
|---|---|
| Type | Description |
Document.Revision.HumanReview.Builder |
This builder for chaining. |