Class SetDefaultProcessorVersionMetadata.Builder (2.47.0)

public static final class SetDefaultProcessorVersionMetadata.Builder extends GeneratedMessageV3.Builder<SetDefaultProcessorVersionMetadata.Builder> implements SetDefaultProcessorVersionMetadataOrBuilder

The long-running operation metadata for the SetDefaultProcessorVersion method.

Protobuf type google.cloud.documentai.v1beta3.SetDefaultProcessorVersionMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SetDefaultProcessorVersionMetadata build()
Returns
Type Description
SetDefaultProcessorVersionMetadata

buildPartial()

public SetDefaultProcessorVersionMetadata buildPartial()
Returns
Type Description
SetDefaultProcessorVersionMetadata

clear()

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

clearCommonMetadata()

public SetDefaultProcessorVersionMetadata.Builder clearCommonMetadata()

The basic metadata of the long-running operation.

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

Returns
Type Description
SetDefaultProcessorVersionMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCommonMetadata()

public CommonOperationMetadata getCommonMetadata()

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

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

Returns
Type Description
CommonOperationMetadata.Builder

getCommonMetadataOrBuilder()

public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()

The basic metadata of the long-running operation.

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

Returns
Type Description
CommonOperationMetadataOrBuilder

getDefaultInstanceForType()

public SetDefaultProcessorVersionMetadata getDefaultInstanceForType()
Returns
Type Description
SetDefaultProcessorVersionMetadata

getDescriptorForType()

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

hasCommonMetadata()

public boolean hasCommonMetadata()

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

The basic metadata of the long-running operation.

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

Parameter
Name Description
value CommonOperationMetadata
Returns
Type Description
SetDefaultProcessorVersionMetadata.Builder

mergeFrom(SetDefaultProcessorVersionMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommonMetadata(CommonOperationMetadata value)

public SetDefaultProcessorVersionMetadata.Builder setCommonMetadata(CommonOperationMetadata value)

The basic metadata of the long-running operation.

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

Parameter
Name Description
value CommonOperationMetadata
Returns
Type Description
SetDefaultProcessorVersionMetadata.Builder

setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

public SetDefaultProcessorVersionMetadata.Builder setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

The basic metadata of the long-running operation.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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