Class UpdateDatasetOperationMetadata.Builder (2.44.0)

public static final class UpdateDatasetOperationMetadata.Builder extends GeneratedMessageV3.Builder<UpdateDatasetOperationMetadata.Builder> implements UpdateDatasetOperationMetadataOrBuilder

Protobuf type google.cloud.documentai.v1beta3.UpdateDatasetOperationMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatasetOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder
Overrides

build()

public UpdateDatasetOperationMetadata build()
Returns
TypeDescription
UpdateDatasetOperationMetadata

buildPartial()

public UpdateDatasetOperationMetadata buildPartial()
Returns
TypeDescription
UpdateDatasetOperationMetadata

clear()

public UpdateDatasetOperationMetadata.Builder clear()
Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder
Overrides

clearCommonMetadata()

public UpdateDatasetOperationMetadata.Builder clearCommonMetadata()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDatasetOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDatasetOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder
Overrides

clone()

public UpdateDatasetOperationMetadata.Builder clone()
Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder
Overrides

getCommonMetadata()

public CommonOperationMetadata getCommonMetadata()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
CommonOperationMetadata

The commonMetadata.

getCommonMetadataBuilder()

public CommonOperationMetadata.Builder getCommonMetadataBuilder()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
CommonOperationMetadata.Builder

getCommonMetadataOrBuilder()

public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
CommonOperationMetadataOrBuilder

getDefaultInstanceForType()

public UpdateDatasetOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
UpdateDatasetOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasCommonMetadata()

public boolean hasCommonMetadata()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
boolean

Whether the commonMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCommonMetadata(CommonOperationMetadata value)

public UpdateDatasetOperationMetadata.Builder mergeCommonMetadata(CommonOperationMetadata value)

The basic metadata of the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;

Parameter
NameDescription
valueCommonOperationMetadata
Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder

mergeFrom(UpdateDatasetOperationMetadata other)

public UpdateDatasetOperationMetadata.Builder mergeFrom(UpdateDatasetOperationMetadata other)
Parameter
NameDescription
otherUpdateDatasetOperationMetadata
Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateDatasetOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateDatasetOperationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatasetOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder
Overrides

setCommonMetadata(CommonOperationMetadata value)

public UpdateDatasetOperationMetadata.Builder setCommonMetadata(CommonOperationMetadata value)

The basic metadata of the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;

Parameter
NameDescription
valueCommonOperationMetadata
Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder

setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

public UpdateDatasetOperationMetadata.Builder setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

The basic metadata of the long-running operation.

.google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1;

Parameter
NameDescription
builderForValueCommonOperationMetadata.Builder
Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatasetOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateDatasetOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatasetOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateDatasetOperationMetadata.Builder
Overrides