public static final class ReviewDocumentOperationMetadata.Builder extends GeneratedMessageV3.Builder<ReviewDocumentOperationMetadata.Builder> implements ReviewDocumentOperationMetadataOrBuilder
The long-running operation metadata for the
ReviewDocument method.
Protobuf type google.cloud.documentai.v1.ReviewDocumentOperationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public ReviewDocumentOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ReviewDocumentOperationMetadata build()
public ReviewDocumentOperationMetadata buildPartial()
public ReviewDocumentOperationMetadata.Builder clear()
Overrides
public ReviewDocumentOperationMetadata.Builder clearCommonMetadata()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
public ReviewDocumentOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ReviewDocumentOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ReviewDocumentOperationMetadata.Builder clearQuestionId()
The Crowd Compute question ID.
string question_id = 6;
public ReviewDocumentOperationMetadata.Builder clone()
Overrides
public CommonOperationMetadata getCommonMetadata()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
public CommonOperationMetadata.Builder getCommonMetadataBuilder()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
public ReviewDocumentOperationMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getQuestionId()
The Crowd Compute question ID.
string question_id = 6;
Returns |
Type |
Description |
String |
The questionId.
|
public ByteString getQuestionIdBytes()
The Crowd Compute question ID.
string question_id = 6;
Returns |
Type |
Description |
ByteString |
The bytes for questionId.
|
public boolean hasCommonMetadata()
The basic metadata of the long-running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
Returns |
Type |
Description |
boolean |
Whether the commonMetadata field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ReviewDocumentOperationMetadata.Builder mergeCommonMetadata(CommonOperationMetadata value)
The basic metadata of the long-running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
public ReviewDocumentOperationMetadata.Builder mergeFrom(ReviewDocumentOperationMetadata other)
public ReviewDocumentOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ReviewDocumentOperationMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ReviewDocumentOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ReviewDocumentOperationMetadata.Builder setCommonMetadata(CommonOperationMetadata value)
The basic metadata of the long-running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
public ReviewDocumentOperationMetadata.Builder setCommonMetadata(CommonOperationMetadata.Builder builderForValue)
The basic metadata of the long-running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
public ReviewDocumentOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ReviewDocumentOperationMetadata.Builder setQuestionId(String value)
The Crowd Compute question ID.
string question_id = 6;
Parameter |
Name |
Description |
value |
String
The questionId to set.
|
public ReviewDocumentOperationMetadata.Builder setQuestionIdBytes(ByteString value)
The Crowd Compute question ID.
string question_id = 6;
Parameter |
Name |
Description |
value |
ByteString
The bytes for questionId to set.
|
public ReviewDocumentOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ReviewDocumentOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides