Class ProcessingLocation.Builder (3.63.0)

public static final class ProcessingLocation.Builder extends GeneratedMessageV3.Builder<ProcessingLocation.Builder> implements ProcessingLocationOrBuilder

Configure processing location for discovery and inspection. For example, image OCR is only provided in limited regions but configuring ProcessingLocation will redirect OCR to a location where OCR is provided.

Protobuf type google.privacy.dlp.v2.ProcessingLocation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProcessingLocation build()
Returns
Type Description
ProcessingLocation

buildPartial()

public ProcessingLocation buildPartial()
Returns
Type Description
ProcessingLocation

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearImageFallbackLocation()

public ProcessingLocation.Builder clearImageFallbackLocation()

Image processing will fall back using this configuration.

.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;

Returns
Type Description
ProcessingLocation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ProcessingLocation getDefaultInstanceForType()
Returns
Type Description
ProcessingLocation

getDescriptorForType()

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

getImageFallbackLocation()

public ProcessingLocation.ImageFallbackLocation getImageFallbackLocation()

Image processing will fall back using this configuration.

.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;

Returns
Type Description
ProcessingLocation.ImageFallbackLocation

The imageFallbackLocation.

getImageFallbackLocationBuilder()

public ProcessingLocation.ImageFallbackLocation.Builder getImageFallbackLocationBuilder()

Image processing will fall back using this configuration.

.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;

Returns
Type Description
ProcessingLocation.ImageFallbackLocation.Builder

getImageFallbackLocationOrBuilder()

public ProcessingLocation.ImageFallbackLocationOrBuilder getImageFallbackLocationOrBuilder()

Image processing will fall back using this configuration.

.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;

Returns
Type Description
ProcessingLocation.ImageFallbackLocationOrBuilder

hasImageFallbackLocation()

public boolean hasImageFallbackLocation()

Image processing will fall back using this configuration.

.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;

Returns
Type Description
boolean

Whether the imageFallbackLocation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProcessingLocation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeImageFallbackLocation(ProcessingLocation.ImageFallbackLocation value)

public ProcessingLocation.Builder mergeImageFallbackLocation(ProcessingLocation.ImageFallbackLocation value)

Image processing will fall back using this configuration.

.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;

Parameter
Name Description
value ProcessingLocation.ImageFallbackLocation
Returns
Type Description
ProcessingLocation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setImageFallbackLocation(ProcessingLocation.ImageFallbackLocation value)

public ProcessingLocation.Builder setImageFallbackLocation(ProcessingLocation.ImageFallbackLocation value)

Image processing will fall back using this configuration.

.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;

Parameter
Name Description
value ProcessingLocation.ImageFallbackLocation
Returns
Type Description
ProcessingLocation.Builder

setImageFallbackLocation(ProcessingLocation.ImageFallbackLocation.Builder builderForValue)

public ProcessingLocation.Builder setImageFallbackLocation(ProcessingLocation.ImageFallbackLocation.Builder builderForValue)

Image processing will fall back using this configuration.

.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;

Parameter
Name Description
builderForValue ProcessingLocation.ImageFallbackLocation.Builder
Returns
Type Description
ProcessingLocation.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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