public static final class ProcessingLocation.Builder extends GeneratedMessage.Builder<ProcessingLocation.Builder> implements ProcessingLocationOrBuilderConfigure 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProcessingLocation.BuilderImplements
ProcessingLocationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearDocumentFallbackLocation()
public ProcessingLocation.Builder clearDocumentFallbackLocation()Document processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
| Returns | |
|---|---|
| Type | Description |
ProcessingLocation.Builder |
|
clearImageFallbackLocation()
public ProcessingLocation.Builder clearImageFallbackLocation()Image processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;
| Returns | |
|---|---|
| Type | Description |
ProcessingLocation.Builder |
|
getDefaultInstanceForType()
public ProcessingLocation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProcessingLocation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDocumentFallbackLocation()
public ProcessingLocation.DocumentFallbackLocation getDocumentFallbackLocation()Document processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
| Returns | |
|---|---|
| Type | Description |
ProcessingLocation.DocumentFallbackLocation |
The documentFallbackLocation. |
getDocumentFallbackLocationBuilder()
public ProcessingLocation.DocumentFallbackLocation.Builder getDocumentFallbackLocationBuilder()Document processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
| Returns | |
|---|---|
| Type | Description |
ProcessingLocation.DocumentFallbackLocation.Builder |
|
getDocumentFallbackLocationOrBuilder()
public ProcessingLocation.DocumentFallbackLocationOrBuilder getDocumentFallbackLocationOrBuilder()Document processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
| Returns | |
|---|---|
| Type | Description |
ProcessingLocation.DocumentFallbackLocationOrBuilder |
|
getImageFallbackLocation()
public ProcessingLocation.ImageFallbackLocation getImageFallbackLocation()Image processing falls 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 falls 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 falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;
| Returns | |
|---|---|
| Type | Description |
ProcessingLocation.ImageFallbackLocationOrBuilder |
|
hasDocumentFallbackLocation()
public boolean hasDocumentFallbackLocation()Document processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the documentFallbackLocation field is set. |
hasImageFallbackLocation()
public boolean hasImageFallbackLocation()Image processing falls 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDocumentFallbackLocation(ProcessingLocation.DocumentFallbackLocation value)
public ProcessingLocation.Builder mergeDocumentFallbackLocation(ProcessingLocation.DocumentFallbackLocation value)Document processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ProcessingLocation.DocumentFallbackLocation |
| Returns | |
|---|---|
| Type | Description |
ProcessingLocation.Builder |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProcessingLocation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProcessingLocation.Builder |
|
mergeImageFallbackLocation(ProcessingLocation.ImageFallbackLocation value)
public ProcessingLocation.Builder mergeImageFallbackLocation(ProcessingLocation.ImageFallbackLocation value)Image processing falls 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 |
|
setDocumentFallbackLocation(ProcessingLocation.DocumentFallbackLocation value)
public ProcessingLocation.Builder setDocumentFallbackLocation(ProcessingLocation.DocumentFallbackLocation value)Document processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ProcessingLocation.DocumentFallbackLocation |
| Returns | |
|---|---|
| Type | Description |
ProcessingLocation.Builder |
|
setDocumentFallbackLocation(ProcessingLocation.DocumentFallbackLocation.Builder builderForValue)
public ProcessingLocation.Builder setDocumentFallbackLocation(ProcessingLocation.DocumentFallbackLocation.Builder builderForValue)Document processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ProcessingLocation.DocumentFallbackLocation.Builder |
| Returns | |
|---|---|
| Type | Description |
ProcessingLocation.Builder |
|
setImageFallbackLocation(ProcessingLocation.ImageFallbackLocation value)
public ProcessingLocation.Builder setImageFallbackLocation(ProcessingLocation.ImageFallbackLocation value)Image processing falls 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 falls 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 |
|