Class DeployProcessorVersionMetadata.Builder (2.25.0)

public static final class DeployProcessorVersionMetadata.Builder extends GeneratedMessageV3.Builder<DeployProcessorVersionMetadata.Builder> implements DeployProcessorVersionMetadataOrBuilder

The long-running operation metadata for the DeployProcessorVersion method.

Protobuf type google.cloud.documentai.v1.DeployProcessorVersionMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeployProcessorVersionMetadata build()
Returns
TypeDescription
DeployProcessorVersionMetadata

buildPartial()

public DeployProcessorVersionMetadata buildPartial()
Returns
TypeDescription
DeployProcessorVersionMetadata

clear()

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

clearCommonMetadata()

public DeployProcessorVersionMetadata.Builder clearCommonMetadata()

The basic metadata of the long-running operation.

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

Returns
TypeDescription
DeployProcessorVersionMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCommonMetadata()

public CommonOperationMetadata getCommonMetadata()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1.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.v1.CommonOperationMetadata common_metadata = 1;

Returns
TypeDescription
CommonOperationMetadata.Builder

getCommonMetadataOrBuilder()

public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()

The basic metadata of the long-running operation.

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

Returns
TypeDescription
CommonOperationMetadataOrBuilder

getDefaultInstanceForType()

public DeployProcessorVersionMetadata getDefaultInstanceForType()
Returns
TypeDescription
DeployProcessorVersionMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasCommonMetadata()

public boolean hasCommonMetadata()

The basic metadata of the long-running operation.

.google.cloud.documentai.v1.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 DeployProcessorVersionMetadata.Builder mergeCommonMetadata(CommonOperationMetadata value)

The basic metadata of the long-running operation.

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

Parameter
NameDescription
valueCommonOperationMetadata
Returns
TypeDescription
DeployProcessorVersionMetadata.Builder

mergeFrom(DeployProcessorVersionMetadata other)

public DeployProcessorVersionMetadata.Builder mergeFrom(DeployProcessorVersionMetadata other)
Parameter
NameDescription
otherDeployProcessorVersionMetadata
Returns
TypeDescription
DeployProcessorVersionMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommonMetadata(CommonOperationMetadata value)

public DeployProcessorVersionMetadata.Builder setCommonMetadata(CommonOperationMetadata value)

The basic metadata of the long-running operation.

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

Parameter
NameDescription
valueCommonOperationMetadata
Returns
TypeDescription
DeployProcessorVersionMetadata.Builder

setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

public DeployProcessorVersionMetadata.Builder setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

The basic metadata of the long-running operation.

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

Parameter
NameDescription
builderForValueCommonOperationMetadata.Builder
Returns
TypeDescription
DeployProcessorVersionMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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