public static final class ReviewDocumentOperationMetadata.Builder extends GeneratedMessageV3.Builder<ReviewDocumentOperationMetadata.Builder> implements ReviewDocumentOperationMetadataOrBuilder
The long running operation metadata for review document method.
Protobuf type google.cloud.documentai.v1.ReviewDocumentOperationMetadata
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ReviewDocumentOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ReviewDocumentOperationMetadata build()
Returns
public ReviewDocumentOperationMetadata buildPartial()
Returns
public ReviewDocumentOperationMetadata.Builder clear()
Returns
Overrides
public ReviewDocumentOperationMetadata.Builder clearCommonMetadata()
The basic metadata of the long running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
Returns
public ReviewDocumentOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ReviewDocumentOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ReviewDocumentOperationMetadata.Builder clearQuestionId()
The Crowd Compute question ID.
string question_id = 6;
Returns
public ReviewDocumentOperationMetadata.Builder clone()
Returns
Overrides
public CommonOperationMetadata getCommonMetadata()
The basic metadata of the long running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
Returns
public CommonOperationMetadata.Builder getCommonMetadataBuilder()
The basic metadata of the long running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
Returns
public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()
The basic metadata of the long running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
Returns
public ReviewDocumentOperationMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ReviewDocumentOperationMetadata.Builder mergeCommonMetadata(CommonOperationMetadata value)
The basic metadata of the long running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
Parameter
Returns
public ReviewDocumentOperationMetadata.Builder mergeFrom(ReviewDocumentOperationMetadata other)
Parameter
Returns
public ReviewDocumentOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ReviewDocumentOperationMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ReviewDocumentOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ReviewDocumentOperationMetadata.Builder setCommonMetadata(CommonOperationMetadata value)
The basic metadata of the long running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
Parameter
Returns
public ReviewDocumentOperationMetadata.Builder setCommonMetadata(CommonOperationMetadata.Builder builderForValue)
The basic metadata of the long running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
Parameter
Returns
public ReviewDocumentOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
public ReviewDocumentOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ReviewDocumentOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides