Class ImportProcessorVersionMetadata.Builder (2.48.0)

public static final class ImportProcessorVersionMetadata.Builder extends GeneratedMessageV3.Builder<ImportProcessorVersionMetadata.Builder> implements ImportProcessorVersionMetadataOrBuilder

The long-running operation metadata for the ImportProcessorVersion method.

Protobuf type google.cloud.documentai.v1beta3.ImportProcessorVersionMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportProcessorVersionMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportProcessorVersionMetadata.Builder
Overrides

build()

public ImportProcessorVersionMetadata build()
Returns
Type Description
ImportProcessorVersionMetadata

buildPartial()

public ImportProcessorVersionMetadata buildPartial()
Returns
Type Description
ImportProcessorVersionMetadata

clear()

public ImportProcessorVersionMetadata.Builder clear()
Returns
Type Description
ImportProcessorVersionMetadata.Builder
Overrides

clearCommonMetadata()

public ImportProcessorVersionMetadata.Builder clearCommonMetadata()

The basic metadata for the long-running operation.

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

Returns
Type Description
ImportProcessorVersionMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportProcessorVersionMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportProcessorVersionMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportProcessorVersionMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportProcessorVersionMetadata.Builder
Overrides

clone()

public ImportProcessorVersionMetadata.Builder clone()
Returns
Type Description
ImportProcessorVersionMetadata.Builder
Overrides

getCommonMetadata()

public CommonOperationMetadata getCommonMetadata()

The basic metadata for the long-running operation.

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

Returns
Type Description
CommonOperationMetadata

The commonMetadata.

getCommonMetadataBuilder()

public CommonOperationMetadata.Builder getCommonMetadataBuilder()

The basic metadata for the long-running operation.

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

Returns
Type Description
CommonOperationMetadata.Builder

getCommonMetadataOrBuilder()

public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()

The basic metadata for the long-running operation.

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

Returns
Type Description
CommonOperationMetadataOrBuilder

getDefaultInstanceForType()

public ImportProcessorVersionMetadata getDefaultInstanceForType()
Returns
Type Description
ImportProcessorVersionMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasCommonMetadata()

public boolean hasCommonMetadata()

The basic metadata for the long-running operation.

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

Returns
Type Description
boolean

Whether the commonMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCommonMetadata(CommonOperationMetadata value)

public ImportProcessorVersionMetadata.Builder mergeCommonMetadata(CommonOperationMetadata value)

The basic metadata for the long-running operation.

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

Parameter
Name Description
value CommonOperationMetadata
Returns
Type Description
ImportProcessorVersionMetadata.Builder

mergeFrom(ImportProcessorVersionMetadata other)

public ImportProcessorVersionMetadata.Builder mergeFrom(ImportProcessorVersionMetadata other)
Parameter
Name Description
other ImportProcessorVersionMetadata
Returns
Type Description
ImportProcessorVersionMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportProcessorVersionMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportProcessorVersionMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportProcessorVersionMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportProcessorVersionMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportProcessorVersionMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportProcessorVersionMetadata.Builder
Overrides

setCommonMetadata(CommonOperationMetadata value)

public ImportProcessorVersionMetadata.Builder setCommonMetadata(CommonOperationMetadata value)

The basic metadata for the long-running operation.

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

Parameter
Name Description
value CommonOperationMetadata
Returns
Type Description
ImportProcessorVersionMetadata.Builder

setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

public ImportProcessorVersionMetadata.Builder setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

The basic metadata for the long-running operation.

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

Parameter
Name Description
builderForValue CommonOperationMetadata.Builder
Returns
Type Description
ImportProcessorVersionMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportProcessorVersionMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportProcessorVersionMetadata.Builder
Overrides

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

public ImportProcessorVersionMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportProcessorVersionMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportProcessorVersionMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportProcessorVersionMetadata.Builder
Overrides