Class EnableProcessorMetadata.Builder (2.8.0)

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

The long running operation metadata for enable processor method.

Protobuf type google.cloud.documentai.v1beta3.EnableProcessorMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EnableProcessorMetadata build()
Returns
TypeDescription
EnableProcessorMetadata

buildPartial()

public EnableProcessorMetadata buildPartial()
Returns
TypeDescription
EnableProcessorMetadata

clear()

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

clearCommonMetadata()

public EnableProcessorMetadata.Builder clearCommonMetadata()

The basic metadata of the long running operation.

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

Returns
TypeDescription
EnableProcessorMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCommonMetadata()

public CommonOperationMetadata getCommonMetadata()

The basic metadata of the long running operation.

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

Returns
TypeDescription
CommonOperationMetadata.Builder

getCommonMetadataOrBuilder()

public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()

The basic metadata of the long running operation.

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

Returns
TypeDescription
CommonOperationMetadataOrBuilder

getDefaultInstanceForType()

public EnableProcessorMetadata getDefaultInstanceForType()
Returns
TypeDescription
EnableProcessorMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasCommonMetadata()

public boolean hasCommonMetadata()

The basic metadata of the long running operation.

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

The basic metadata of the long running operation.

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

Parameter
NameDescription
valueCommonOperationMetadata
Returns
TypeDescription
EnableProcessorMetadata.Builder

mergeFrom(EnableProcessorMetadata other)

public EnableProcessorMetadata.Builder mergeFrom(EnableProcessorMetadata other)
Parameter
NameDescription
otherEnableProcessorMetadata
Returns
TypeDescription
EnableProcessorMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommonMetadata(CommonOperationMetadata value)

public EnableProcessorMetadata.Builder setCommonMetadata(CommonOperationMetadata value)

The basic metadata of the long running operation.

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

Parameter
NameDescription
valueCommonOperationMetadata
Returns
TypeDescription
EnableProcessorMetadata.Builder

setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

public EnableProcessorMetadata.Builder setCommonMetadata(CommonOperationMetadata.Builder builderForValue)

The basic metadata of the long running operation.

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

Parameter
NameDescription
builderForValueCommonOperationMetadata.Builder
Returns
TypeDescription
EnableProcessorMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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