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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProcessingLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ProcessingLocation build()
buildPartial()
public ProcessingLocation buildPartial()
clear()
public ProcessingLocation.Builder clear()
Overrides
clearDocumentFallbackLocation()
public ProcessingLocation.Builder clearDocumentFallbackLocation()
Document processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
clearField(Descriptors.FieldDescriptor field)
public ProcessingLocation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearImageFallbackLocation()
public ProcessingLocation.Builder clearImageFallbackLocation()
Image processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessingLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ProcessingLocation.Builder clone()
Overrides
getDefaultInstanceForType()
public ProcessingLocation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDocumentFallbackLocation()
public ProcessingLocation.DocumentFallbackLocation getDocumentFallbackLocation()
Document processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
getDocumentFallbackLocationBuilder()
public ProcessingLocation.DocumentFallbackLocation.Builder getDocumentFallbackLocationBuilder()
Document processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
getDocumentFallbackLocationOrBuilder()
public ProcessingLocation.DocumentFallbackLocationOrBuilder getDocumentFallbackLocationOrBuilder()
Document processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
getImageFallbackLocation()
public ProcessingLocation.ImageFallbackLocation getImageFallbackLocation()
Image processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;
getImageFallbackLocationBuilder()
public ProcessingLocation.ImageFallbackLocation.Builder getImageFallbackLocationBuilder()
Image processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;
getImageFallbackLocationOrBuilder()
public ProcessingLocation.ImageFallbackLocationOrBuilder getImageFallbackLocationOrBuilder()
Image processing falls back using this configuration.
.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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;
mergeFrom(ProcessingLocation other)
public ProcessingLocation.Builder mergeFrom(ProcessingLocation other)
public ProcessingLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ProcessingLocation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessingLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessingLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProcessingLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessingLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides