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.v1.Document.Revision.HumanReview
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document.Revision.HumanReview.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Document.Revision.HumanReview build()
Returns
buildPartial()
public Document.Revision.HumanReview buildPartial()
Returns
clear()
public Document.Revision.HumanReview.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Document.Revision.HumanReview.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Document.Revision.HumanReview.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearState()
public Document.Revision.HumanReview.Builder clearState()
Human review state. e.g. requested
, succeeded
, rejected
.
string state = 1;
Returns
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
clone()
public Document.Revision.HumanReview.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Document.Revision.HumanReview getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Document.Revision.HumanReview other)
public Document.Revision.HumanReview.Builder mergeFrom(Document.Revision.HumanReview other)
Parameter
Returns
public Document.Revision.HumanReview.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Document.Revision.HumanReview.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document.Revision.HumanReview.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Document.Revision.HumanReview.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document.Revision.HumanReview.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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 | String
The state to set.
|
Returns
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 | ByteString
The bytes for state to set.
|
Returns
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 | String
The stateMessage to set.
|
Returns
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 | ByteString
The bytes for stateMessage to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Document.Revision.HumanReview.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides