Class DisableProcessorMetadata.Builder (2.13.0)

public static final class DisableProcessorMetadata.Builder extends GeneratedMessageV3.Builder<DisableProcessorMetadata.Builder> implements DisableProcessorMetadataOrBuilder

The long running operation metadata for disable processor method.

Protobuf type google.cloud.documentai.v1.DisableProcessorMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DisableProcessorMetadata build()
Returns
TypeDescription
DisableProcessorMetadata

buildPartial()

public DisableProcessorMetadata buildPartial()
Returns
TypeDescription
DisableProcessorMetadata

clear()

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

clearCommonMetadata()

public DisableProcessorMetadata.Builder clearCommonMetadata()

The basic metadata of the long running operation.

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

Returns
TypeDescription
DisableProcessorMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCommonMetadata()

public CommonOperationMetadata getCommonMetadata()

The basic metadata of the long running operation.

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

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 = 5;

Returns
TypeDescription
CommonOperationMetadata.Builder

getCommonMetadataOrBuilder()

public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()

The basic metadata of the long running operation.

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

Returns
TypeDescription
CommonOperationMetadataOrBuilder

getDefaultInstanceForType()

public DisableProcessorMetadata getDefaultInstanceForType()
Returns
TypeDescription
DisableProcessorMetadata

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 = 5;

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

The basic metadata of the long running operation.

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

Parameter
NameDescription
valueCommonOperationMetadata
Returns
TypeDescription
DisableProcessorMetadata.Builder

mergeFrom(DisableProcessorMetadata other)

public DisableProcessorMetadata.Builder mergeFrom(DisableProcessorMetadata other)
Parameter
NameDescription
otherDisableProcessorMetadata
Returns
TypeDescription
DisableProcessorMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommonMetadata(CommonOperationMetadata value)

public DisableProcessorMetadata.Builder setCommonMetadata(CommonOperationMetadata value)

The basic metadata of the long running operation.

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

Parameter
NameDescription
valueCommonOperationMetadata
Returns
TypeDescription
DisableProcessorMetadata.Builder

setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

public DisableProcessorMetadata.Builder setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

The basic metadata of the long running operation.

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

Parameter
NameDescription
builderForValueCommonOperationMetadata.Builder
Returns
TypeDescription
DisableProcessorMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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