public static final class HumanReviewStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HumanReviewStatus.Builder> implements HumanReviewStatusOrBuilder
The status of human review on a processed document.Protobuf type
google.cloud.documentai.v1beta3.HumanReviewStatus| Modifier and Type | Method and Description |
|---|---|
HumanReviewStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HumanReviewStatus |
build() |
HumanReviewStatus |
buildPartial() |
HumanReviewStatus.Builder |
clear() |
HumanReviewStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HumanReviewStatus.Builder |
clearHumanReviewOperation()
The name of the operation triggered by the processed document.
|
HumanReviewStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HumanReviewStatus.Builder |
clearState()
The state of human review on the processing request.
|
HumanReviewStatus.Builder |
clearStateMessage()
A message providing more details about the human review state.
|
HumanReviewStatus.Builder |
clone() |
HumanReviewStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHumanReviewOperation()
The name of the operation triggered by the processed document.
|
com.google.protobuf.ByteString |
getHumanReviewOperationBytes()
The name of the operation triggered by the processed document.
|
HumanReviewStatus.State |
getState()
The state of human review on the processing request.
|
String |
getStateMessage()
A message providing more details about the human review state.
|
com.google.protobuf.ByteString |
getStateMessageBytes()
A message providing more details about the human review state.
|
int |
getStateValue()
The state of human review on the processing request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HumanReviewStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HumanReviewStatus.Builder |
mergeFrom(HumanReviewStatus other) |
HumanReviewStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
HumanReviewStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HumanReviewStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HumanReviewStatus.Builder |
setHumanReviewOperation(String value)
The name of the operation triggered by the processed document.
|
HumanReviewStatus.Builder |
setHumanReviewOperationBytes(com.google.protobuf.ByteString value)
The name of the operation triggered by the processed document.
|
HumanReviewStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HumanReviewStatus.Builder |
setState(HumanReviewStatus.State value)
The state of human review on the processing request.
|
HumanReviewStatus.Builder |
setStateMessage(String value)
A message providing more details about the human review state.
|
HumanReviewStatus.Builder |
setStateMessageBytes(com.google.protobuf.ByteString value)
A message providing more details about the human review state.
|
HumanReviewStatus.Builder |
setStateValue(int value)
The state of human review on the processing request.
|
HumanReviewStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HumanReviewStatus.Builder>public HumanReviewStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HumanReviewStatus.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HumanReviewStatus.Builder>public HumanReviewStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HumanReviewStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HumanReviewStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HumanReviewStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HumanReviewStatus.Builder>public HumanReviewStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HumanReviewStatus.Builder>public HumanReviewStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HumanReviewStatus.Builder>public HumanReviewStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HumanReviewStatus.Builder>public HumanReviewStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HumanReviewStatus.Builder>public HumanReviewStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HumanReviewStatus.Builder>public HumanReviewStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HumanReviewStatus.Builder>public HumanReviewStatus.Builder mergeFrom(HumanReviewStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HumanReviewStatus.Builder>public HumanReviewStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HumanReviewStatus.Builder>IOExceptionpublic int getStateValue()
The state of human review on the processing request.
.google.cloud.documentai.v1beta3.HumanReviewStatus.State state = 1;getStateValue in interface HumanReviewStatusOrBuilderpublic HumanReviewStatus.Builder setStateValue(int value)
The state of human review on the processing request.
.google.cloud.documentai.v1beta3.HumanReviewStatus.State state = 1;value - The enum numeric value on the wire for state to set.public HumanReviewStatus.State getState()
The state of human review on the processing request.
.google.cloud.documentai.v1beta3.HumanReviewStatus.State state = 1;getState in interface HumanReviewStatusOrBuilderpublic HumanReviewStatus.Builder setState(HumanReviewStatus.State value)
The state of human review on the processing request.
.google.cloud.documentai.v1beta3.HumanReviewStatus.State state = 1;value - The state to set.public HumanReviewStatus.Builder clearState()
The state of human review on the processing request.
.google.cloud.documentai.v1beta3.HumanReviewStatus.State state = 1;public String getStateMessage()
A message providing more details about the human review state.
string state_message = 2;getStateMessage in interface HumanReviewStatusOrBuilderpublic com.google.protobuf.ByteString getStateMessageBytes()
A message providing more details about the human review state.
string state_message = 2;getStateMessageBytes in interface HumanReviewStatusOrBuilderpublic HumanReviewStatus.Builder setStateMessage(String value)
A message providing more details about the human review state.
string state_message = 2;value - The stateMessage to set.public HumanReviewStatus.Builder clearStateMessage()
A message providing more details about the human review state.
string state_message = 2;public HumanReviewStatus.Builder setStateMessageBytes(com.google.protobuf.ByteString value)
A message providing more details about the human review state.
string state_message = 2;value - The bytes for stateMessage to set.public String getHumanReviewOperation()
The name of the operation triggered by the processed document. This field is populated only when the [state][google.cloud.documentai.v1beta3.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as the long-running operation returned by [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument].
string human_review_operation = 3;getHumanReviewOperation in interface HumanReviewStatusOrBuilderpublic com.google.protobuf.ByteString getHumanReviewOperationBytes()
The name of the operation triggered by the processed document. This field is populated only when the [state][google.cloud.documentai.v1beta3.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as the long-running operation returned by [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument].
string human_review_operation = 3;getHumanReviewOperationBytes in interface HumanReviewStatusOrBuilderpublic HumanReviewStatus.Builder setHumanReviewOperation(String value)
The name of the operation triggered by the processed document. This field is populated only when the [state][google.cloud.documentai.v1beta3.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as the long-running operation returned by [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument].
string human_review_operation = 3;value - The humanReviewOperation to set.public HumanReviewStatus.Builder clearHumanReviewOperation()
The name of the operation triggered by the processed document. This field is populated only when the [state][google.cloud.documentai.v1beta3.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as the long-running operation returned by [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument].
string human_review_operation = 3;public HumanReviewStatus.Builder setHumanReviewOperationBytes(com.google.protobuf.ByteString value)
The name of the operation triggered by the processed document. This field is populated only when the [state][google.cloud.documentai.v1beta3.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as the long-running operation returned by [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument].
string human_review_operation = 3;value - The bytes for humanReviewOperation to set.public final HumanReviewStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HumanReviewStatus.Builder>public final HumanReviewStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HumanReviewStatus.Builder>Copyright © 2024 Google LLC. All rights reserved.