public static final class ReviewDocumentOperationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReviewDocumentOperationMetadata.Builder> implements ReviewDocumentOperationMetadataOrBuilder
The long-running operation metadata for the [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument] method.Protobuf type
google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata| Modifier and Type | Method and Description |
|---|---|
ReviewDocumentOperationMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReviewDocumentOperationMetadata |
build() |
ReviewDocumentOperationMetadata |
buildPartial() |
ReviewDocumentOperationMetadata.Builder |
clear() |
ReviewDocumentOperationMetadata.Builder |
clearCommonMetadata()
The basic metadata of the long-running operation.
|
ReviewDocumentOperationMetadata.Builder |
clearCreateTime()
The creation time of the operation.
|
ReviewDocumentOperationMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ReviewDocumentOperationMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ReviewDocumentOperationMetadata.Builder |
clearQuestionId()
The Crowd Compute question ID.
|
ReviewDocumentOperationMetadata.Builder |
clearState()
Used only when Operation.done is false.
|
ReviewDocumentOperationMetadata.Builder |
clearStateMessage()
A message providing more details about the current state of processing.
|
ReviewDocumentOperationMetadata.Builder |
clearUpdateTime()
The last update time of the operation.
|
ReviewDocumentOperationMetadata.Builder |
clone() |
CommonOperationMetadata |
getCommonMetadata()
The basic metadata of the long-running operation.
|
CommonOperationMetadata.Builder |
getCommonMetadataBuilder()
The basic metadata of the long-running operation.
|
CommonOperationMetadataOrBuilder |
getCommonMetadataOrBuilder()
The basic metadata of the long-running operation.
|
com.google.protobuf.Timestamp |
getCreateTime()
The creation time of the operation.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
The creation time of the operation.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The creation time of the operation.
|
ReviewDocumentOperationMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getQuestionId()
The Crowd Compute question ID.
|
com.google.protobuf.ByteString |
getQuestionIdBytes()
The Crowd Compute question ID.
|
ReviewDocumentOperationMetadata.State |
getState()
Used only when Operation.done is false.
|
String |
getStateMessage()
A message providing more details about the current state of processing.
|
com.google.protobuf.ByteString |
getStateMessageBytes()
A message providing more details about the current state of processing.
|
int |
getStateValue()
Used only when Operation.done is false.
|
com.google.protobuf.Timestamp |
getUpdateTime()
The last update time of the operation.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
The last update time of the operation.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
The last update time of the operation.
|
boolean |
hasCommonMetadata()
The basic metadata of the long-running operation.
|
boolean |
hasCreateTime()
The creation time of the operation.
|
boolean |
hasUpdateTime()
The last update time of the operation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ReviewDocumentOperationMetadata.Builder |
mergeCommonMetadata(CommonOperationMetadata value)
The basic metadata of the long-running operation.
|
ReviewDocumentOperationMetadata.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
The creation time of the operation.
|
ReviewDocumentOperationMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ReviewDocumentOperationMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
ReviewDocumentOperationMetadata.Builder |
mergeFrom(ReviewDocumentOperationMetadata other) |
ReviewDocumentOperationMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ReviewDocumentOperationMetadata.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
The last update time of the operation.
|
ReviewDocumentOperationMetadata.Builder |
setCommonMetadata(CommonOperationMetadata.Builder builderForValue)
The basic metadata of the long-running operation.
|
ReviewDocumentOperationMetadata.Builder |
setCommonMetadata(CommonOperationMetadata value)
The basic metadata of the long-running operation.
|
ReviewDocumentOperationMetadata.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The creation time of the operation.
|
ReviewDocumentOperationMetadata.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
The creation time of the operation.
|
ReviewDocumentOperationMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReviewDocumentOperationMetadata.Builder |
setQuestionId(String value)
The Crowd Compute question ID.
|
ReviewDocumentOperationMetadata.Builder |
setQuestionIdBytes(com.google.protobuf.ByteString value)
The Crowd Compute question ID.
|
ReviewDocumentOperationMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ReviewDocumentOperationMetadata.Builder |
setState(ReviewDocumentOperationMetadata.State value)
Used only when Operation.done is false.
|
ReviewDocumentOperationMetadata.Builder |
setStateMessage(String value)
A message providing more details about the current state of processing.
|
ReviewDocumentOperationMetadata.Builder |
setStateMessageBytes(com.google.protobuf.ByteString value)
A message providing more details about the current state of processing.
|
ReviewDocumentOperationMetadata.Builder |
setStateValue(int value)
Used only when Operation.done is false.
|
ReviewDocumentOperationMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ReviewDocumentOperationMetadata.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The last update time of the operation.
|
ReviewDocumentOperationMetadata.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
The last update time of the operation.
|
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<ReviewDocumentOperationMetadata.Builder>public ReviewDocumentOperationMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ReviewDocumentOperationMetadata.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<ReviewDocumentOperationMetadata.Builder>public ReviewDocumentOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ReviewDocumentOperationMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ReviewDocumentOperationMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ReviewDocumentOperationMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ReviewDocumentOperationMetadata.Builder>public ReviewDocumentOperationMetadata.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<ReviewDocumentOperationMetadata.Builder>public ReviewDocumentOperationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReviewDocumentOperationMetadata.Builder>public ReviewDocumentOperationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReviewDocumentOperationMetadata.Builder>public ReviewDocumentOperationMetadata.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<ReviewDocumentOperationMetadata.Builder>public ReviewDocumentOperationMetadata.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<ReviewDocumentOperationMetadata.Builder>public ReviewDocumentOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReviewDocumentOperationMetadata.Builder>public ReviewDocumentOperationMetadata.Builder mergeFrom(ReviewDocumentOperationMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ReviewDocumentOperationMetadata.Builder>public ReviewDocumentOperationMetadata.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<ReviewDocumentOperationMetadata.Builder>IOExceptionpublic int getStateValue()
Used only when Operation.done is false.
.google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.State state = 1;
getStateValue in interface ReviewDocumentOperationMetadataOrBuilderpublic ReviewDocumentOperationMetadata.Builder setStateValue(int value)
Used only when Operation.done is false.
.google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.State state = 1;
value - The enum numeric value on the wire for state to set.public ReviewDocumentOperationMetadata.State getState()
Used only when Operation.done is false.
.google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.State state = 1;
getState in interface ReviewDocumentOperationMetadataOrBuilderpublic ReviewDocumentOperationMetadata.Builder setState(ReviewDocumentOperationMetadata.State value)
Used only when Operation.done is false.
.google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.State state = 1;
value - The state to set.public ReviewDocumentOperationMetadata.Builder clearState()
Used only when Operation.done is false.
.google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.State state = 1;
public String getStateMessage()
A message providing more details about the current state of processing. For example, the error message if the operation is failed.
string state_message = 2;getStateMessage in interface ReviewDocumentOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getStateMessageBytes()
A message providing more details about the current state of processing. For example, the error message if the operation is failed.
string state_message = 2;getStateMessageBytes in interface ReviewDocumentOperationMetadataOrBuilderpublic ReviewDocumentOperationMetadata.Builder setStateMessage(String value)
A message providing more details about the current state of processing. For example, the error message if the operation is failed.
string state_message = 2;value - The stateMessage to set.public ReviewDocumentOperationMetadata.Builder clearStateMessage()
A message providing more details about the current state of processing. For example, the error message if the operation is failed.
string state_message = 2;public ReviewDocumentOperationMetadata.Builder setStateMessageBytes(com.google.protobuf.ByteString value)
A message providing more details about the current state of processing. For example, the error message if the operation is failed.
string state_message = 2;value - The bytes for stateMessage to set.public boolean hasCreateTime()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;hasCreateTime in interface ReviewDocumentOperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;getCreateTime in interface ReviewDocumentOperationMetadataOrBuilderpublic ReviewDocumentOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;public ReviewDocumentOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;public ReviewDocumentOperationMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;public ReviewDocumentOperationMetadata.Builder clearCreateTime()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;getCreateTimeOrBuilder in interface ReviewDocumentOperationMetadataOrBuilderpublic boolean hasUpdateTime()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;hasUpdateTime in interface ReviewDocumentOperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;getUpdateTime in interface ReviewDocumentOperationMetadataOrBuilderpublic ReviewDocumentOperationMetadata.Builder setUpdateTime(com.google.protobuf.Timestamp value)
The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;public ReviewDocumentOperationMetadata.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;public ReviewDocumentOperationMetadata.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;public ReviewDocumentOperationMetadata.Builder clearUpdateTime()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;getUpdateTimeOrBuilder in interface ReviewDocumentOperationMetadataOrBuilderpublic boolean hasCommonMetadata()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 5;hasCommonMetadata in interface ReviewDocumentOperationMetadataOrBuilderpublic CommonOperationMetadata getCommonMetadata()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 5;getCommonMetadata in interface ReviewDocumentOperationMetadataOrBuilderpublic ReviewDocumentOperationMetadata.Builder setCommonMetadata(CommonOperationMetadata value)
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 5;public ReviewDocumentOperationMetadata.Builder setCommonMetadata(CommonOperationMetadata.Builder builderForValue)
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 5;public ReviewDocumentOperationMetadata.Builder mergeCommonMetadata(CommonOperationMetadata value)
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 5;public ReviewDocumentOperationMetadata.Builder clearCommonMetadata()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 5;public CommonOperationMetadata.Builder getCommonMetadataBuilder()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 5;public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 5;getCommonMetadataOrBuilder in interface ReviewDocumentOperationMetadataOrBuilderpublic String getQuestionId()
The Crowd Compute question ID.
string question_id = 6;getQuestionId in interface ReviewDocumentOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getQuestionIdBytes()
The Crowd Compute question ID.
string question_id = 6;getQuestionIdBytes in interface ReviewDocumentOperationMetadataOrBuilderpublic ReviewDocumentOperationMetadata.Builder setQuestionId(String value)
The Crowd Compute question ID.
string question_id = 6;value - The questionId to set.public ReviewDocumentOperationMetadata.Builder clearQuestionId()
The Crowd Compute question ID.
string question_id = 6;public ReviewDocumentOperationMetadata.Builder setQuestionIdBytes(com.google.protobuf.ByteString value)
The Crowd Compute question ID.
string question_id = 6;value - The bytes for questionId to set.public final ReviewDocumentOperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReviewDocumentOperationMetadata.Builder>public final ReviewDocumentOperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReviewDocumentOperationMetadata.Builder>Copyright © 2024 Google LLC. All rights reserved.