Class EnableProcessorMetadata.Builder (2.50.0)

public static final class EnableProcessorMetadata.Builder extends GeneratedMessageV3.Builder<EnableProcessorMetadata.Builder> implements EnableProcessorMetadataOrBuilder

The long-running operation metadata for the EnableProcessor method.

Protobuf type google.cloud.documentai.v1.EnableProcessorMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EnableProcessorMetadata build()
Returns
Type Description
EnableProcessorMetadata

buildPartial()

public EnableProcessorMetadata buildPartial()
Returns
Type Description
EnableProcessorMetadata

clear()

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

clearCommonMetadata()

public EnableProcessorMetadata.Builder clearCommonMetadata()

The basic metadata of the long-running operation.

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

Returns
Type Description
EnableProcessorMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCommonMetadata()

public CommonOperationMetadata getCommonMetadata()

The basic metadata of the long-running operation.

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

Returns
Type Description
CommonOperationMetadata

The commonMetadata.

getCommonMetadataBuilder()

public CommonOperationMetadata.Builder getCommonMetadataBuilder()

The basic metadata of the long-running operation.

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

Returns
Type Description
CommonOperationMetadata.Builder

getCommonMetadataOrBuilder()

public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()

The basic metadata of the long-running operation.

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

Returns
Type Description
CommonOperationMetadataOrBuilder

getDefaultInstanceForType()

public EnableProcessorMetadata getDefaultInstanceForType()
Returns
Type Description
EnableProcessorMetadata

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.v1.CommonOperationMetadata common_metadata = 5;

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 EnableProcessorMetadata.Builder mergeCommonMetadata(CommonOperationMetadata value)

The basic metadata of the long-running operation.

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

Parameter
Name Description
value CommonOperationMetadata
Returns
Type Description
EnableProcessorMetadata.Builder

mergeFrom(EnableProcessorMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommonMetadata(CommonOperationMetadata value)

public EnableProcessorMetadata.Builder setCommonMetadata(CommonOperationMetadata value)

The basic metadata of the long-running operation.

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

Parameter
Name Description
value CommonOperationMetadata
Returns
Type Description
EnableProcessorMetadata.Builder

setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

public EnableProcessorMetadata.Builder setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

The basic metadata of the long-running operation.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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