Class SetDefaultProcessorVersionMetadata.Builder (2.26.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.v1.SetDefaultProcessorVersionMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SetDefaultProcessorVersionMetadata build()
Returns
TypeDescription
SetDefaultProcessorVersionMetadata

buildPartial()

public SetDefaultProcessorVersionMetadata buildPartial()
Returns
TypeDescription
SetDefaultProcessorVersionMetadata

clear()

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

clearCommonMetadata()

public SetDefaultProcessorVersionMetadata.Builder clearCommonMetadata()

The basic metadata of the long-running operation.

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

Returns
TypeDescription
SetDefaultProcessorVersionMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public SetDefaultProcessorVersionMetadata.Builder clone()
Returns
TypeDescription
SetDefaultProcessorVersionMetadata.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 SetDefaultProcessorVersionMetadata getDefaultInstanceForType()
Returns
TypeDescription
SetDefaultProcessorVersionMetadata

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 SetDefaultProcessorVersionMetadata.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
SetDefaultProcessorVersionMetadata.Builder

mergeFrom(SetDefaultProcessorVersionMetadata other)

public SetDefaultProcessorVersionMetadata.Builder mergeFrom(SetDefaultProcessorVersionMetadata other)
Parameter
NameDescription
otherSetDefaultProcessorVersionMetadata
Returns
TypeDescription
SetDefaultProcessorVersionMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommonMetadata(CommonOperationMetadata value)

public SetDefaultProcessorVersionMetadata.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
SetDefaultProcessorVersionMetadata.Builder

setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

public SetDefaultProcessorVersionMetadata.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
SetDefaultProcessorVersionMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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