Class ImportProcessorVersionMetadata.Builder (2.21.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportProcessorVersionMetadata build()
Returns
TypeDescription
ImportProcessorVersionMetadata

buildPartial()

public ImportProcessorVersionMetadata buildPartial()
Returns
TypeDescription
ImportProcessorVersionMetadata

clear()

public ImportProcessorVersionMetadata.Builder clear()
Returns
TypeDescription
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
TypeDescription
ImportProcessorVersionMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCommonMetadata()

public CommonOperationMetadata getCommonMetadata()

The basic metadata for 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 for the long running operation.

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

Returns
TypeDescription
CommonOperationMetadata.Builder

getCommonMetadataOrBuilder()

public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()

The basic metadata for the long running operation.

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

Returns
TypeDescription
CommonOperationMetadataOrBuilder

getDefaultInstanceForType()

public ImportProcessorVersionMetadata getDefaultInstanceForType()
Returns
TypeDescription
ImportProcessorVersionMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasCommonMetadata()

public boolean hasCommonMetadata()

The basic metadata for 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 ImportProcessorVersionMetadata.Builder mergeCommonMetadata(CommonOperationMetadata value)

The basic metadata for the long running operation.

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

Parameter
NameDescription
valueCommonOperationMetadata
Returns
TypeDescription
ImportProcessorVersionMetadata.Builder

mergeFrom(ImportProcessorVersionMetadata other)

public ImportProcessorVersionMetadata.Builder mergeFrom(ImportProcessorVersionMetadata other)
Parameter
NameDescription
otherImportProcessorVersionMetadata
Returns
TypeDescription
ImportProcessorVersionMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportProcessorVersionMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCommonOperationMetadata
Returns
TypeDescription
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
NameDescription
builderForValueCommonOperationMetadata.Builder
Returns
TypeDescription
ImportProcessorVersionMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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