Class LargeCustomDictionaryConfig.Builder (3.49.0)

public static final class LargeCustomDictionaryConfig.Builder extends GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder> implements LargeCustomDictionaryConfigOrBuilder

Configuration for a custom dictionary created from a data source of any size up to the maximum size defined in the limits page. The artifacts of dictionary creation are stored in the specified Cloud Storage location. Consider using CustomInfoType.Dictionary for smaller dictionaries that satisfy the size requirements.

Protobuf type google.privacy.dlp.v2.LargeCustomDictionaryConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LargeCustomDictionaryConfig build()
Returns
Type Description
LargeCustomDictionaryConfig

buildPartial()

public LargeCustomDictionaryConfig buildPartial()
Returns
Type Description
LargeCustomDictionaryConfig

clear()

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

clearBigQueryField()

public LargeCustomDictionaryConfig.Builder clearBigQueryField()

Field in a BigQuery table where each cell represents a dictionary phrase.

.google.privacy.dlp.v2.BigQueryField big_query_field = 3;

Returns
Type Description
LargeCustomDictionaryConfig.Builder

clearCloudStorageFileSet()

public LargeCustomDictionaryConfig.Builder clearCloudStorageFileSet()

Set of files containing newline-delimited lists of dictionary phrases.

.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;

Returns
Type Description
LargeCustomDictionaryConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputPath()

public LargeCustomDictionaryConfig.Builder clearOutputPath()

Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.

.google.privacy.dlp.v2.CloudStoragePath output_path = 1;

Returns
Type Description
LargeCustomDictionaryConfig.Builder

clearSource()

public LargeCustomDictionaryConfig.Builder clearSource()
Returns
Type Description
LargeCustomDictionaryConfig.Builder

clone()

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

getBigQueryField()

public BigQueryField getBigQueryField()

Field in a BigQuery table where each cell represents a dictionary phrase.

.google.privacy.dlp.v2.BigQueryField big_query_field = 3;

Returns
Type Description
BigQueryField

The bigQueryField.

getBigQueryFieldBuilder()

public BigQueryField.Builder getBigQueryFieldBuilder()

Field in a BigQuery table where each cell represents a dictionary phrase.

.google.privacy.dlp.v2.BigQueryField big_query_field = 3;

Returns
Type Description
BigQueryField.Builder

getBigQueryFieldOrBuilder()

public BigQueryFieldOrBuilder getBigQueryFieldOrBuilder()

Field in a BigQuery table where each cell represents a dictionary phrase.

.google.privacy.dlp.v2.BigQueryField big_query_field = 3;

Returns
Type Description
BigQueryFieldOrBuilder

getCloudStorageFileSet()

public CloudStorageFileSet getCloudStorageFileSet()

Set of files containing newline-delimited lists of dictionary phrases.

.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;

Returns
Type Description
CloudStorageFileSet

The cloudStorageFileSet.

getCloudStorageFileSetBuilder()

public CloudStorageFileSet.Builder getCloudStorageFileSetBuilder()

Set of files containing newline-delimited lists of dictionary phrases.

.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;

Returns
Type Description
CloudStorageFileSet.Builder

getCloudStorageFileSetOrBuilder()

public CloudStorageFileSetOrBuilder getCloudStorageFileSetOrBuilder()

Set of files containing newline-delimited lists of dictionary phrases.

.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;

Returns
Type Description
CloudStorageFileSetOrBuilder

getDefaultInstanceForType()

public LargeCustomDictionaryConfig getDefaultInstanceForType()
Returns
Type Description
LargeCustomDictionaryConfig

getDescriptorForType()

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

getOutputPath()

public CloudStoragePath getOutputPath()

Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.

.google.privacy.dlp.v2.CloudStoragePath output_path = 1;

Returns
Type Description
CloudStoragePath

The outputPath.

getOutputPathBuilder()

public CloudStoragePath.Builder getOutputPathBuilder()

Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.

.google.privacy.dlp.v2.CloudStoragePath output_path = 1;

Returns
Type Description
CloudStoragePath.Builder

getOutputPathOrBuilder()

public CloudStoragePathOrBuilder getOutputPathOrBuilder()

Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.

.google.privacy.dlp.v2.CloudStoragePath output_path = 1;

Returns
Type Description
CloudStoragePathOrBuilder

getSourceCase()

public LargeCustomDictionaryConfig.SourceCase getSourceCase()
Returns
Type Description
LargeCustomDictionaryConfig.SourceCase

hasBigQueryField()

public boolean hasBigQueryField()

Field in a BigQuery table where each cell represents a dictionary phrase.

.google.privacy.dlp.v2.BigQueryField big_query_field = 3;

Returns
Type Description
boolean

Whether the bigQueryField field is set.

hasCloudStorageFileSet()

public boolean hasCloudStorageFileSet()

Set of files containing newline-delimited lists of dictionary phrases.

.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;

Returns
Type Description
boolean

Whether the cloudStorageFileSet field is set.

hasOutputPath()

public boolean hasOutputPath()

Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.

.google.privacy.dlp.v2.CloudStoragePath output_path = 1;

Returns
Type Description
boolean

Whether the outputPath field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigQueryField(BigQueryField value)

public LargeCustomDictionaryConfig.Builder mergeBigQueryField(BigQueryField value)

Field in a BigQuery table where each cell represents a dictionary phrase.

.google.privacy.dlp.v2.BigQueryField big_query_field = 3;

Parameter
Name Description
value BigQueryField
Returns
Type Description
LargeCustomDictionaryConfig.Builder

mergeCloudStorageFileSet(CloudStorageFileSet value)

public LargeCustomDictionaryConfig.Builder mergeCloudStorageFileSet(CloudStorageFileSet value)

Set of files containing newline-delimited lists of dictionary phrases.

.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;

Parameter
Name Description
value CloudStorageFileSet
Returns
Type Description
LargeCustomDictionaryConfig.Builder

mergeFrom(LargeCustomDictionaryConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOutputPath(CloudStoragePath value)

public LargeCustomDictionaryConfig.Builder mergeOutputPath(CloudStoragePath value)

Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.

.google.privacy.dlp.v2.CloudStoragePath output_path = 1;

Parameter
Name Description
value CloudStoragePath
Returns
Type Description
LargeCustomDictionaryConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBigQueryField(BigQueryField value)

public LargeCustomDictionaryConfig.Builder setBigQueryField(BigQueryField value)

Field in a BigQuery table where each cell represents a dictionary phrase.

.google.privacy.dlp.v2.BigQueryField big_query_field = 3;

Parameter
Name Description
value BigQueryField
Returns
Type Description
LargeCustomDictionaryConfig.Builder

setBigQueryField(BigQueryField.Builder builderForValue)

public LargeCustomDictionaryConfig.Builder setBigQueryField(BigQueryField.Builder builderForValue)

Field in a BigQuery table where each cell represents a dictionary phrase.

.google.privacy.dlp.v2.BigQueryField big_query_field = 3;

Parameter
Name Description
builderForValue BigQueryField.Builder
Returns
Type Description
LargeCustomDictionaryConfig.Builder

setCloudStorageFileSet(CloudStorageFileSet value)

public LargeCustomDictionaryConfig.Builder setCloudStorageFileSet(CloudStorageFileSet value)

Set of files containing newline-delimited lists of dictionary phrases.

.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;

Parameter
Name Description
value CloudStorageFileSet
Returns
Type Description
LargeCustomDictionaryConfig.Builder

setCloudStorageFileSet(CloudStorageFileSet.Builder builderForValue)

public LargeCustomDictionaryConfig.Builder setCloudStorageFileSet(CloudStorageFileSet.Builder builderForValue)

Set of files containing newline-delimited lists of dictionary phrases.

.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;

Parameter
Name Description
builderForValue CloudStorageFileSet.Builder
Returns
Type Description
LargeCustomDictionaryConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setOutputPath(CloudStoragePath value)

public LargeCustomDictionaryConfig.Builder setOutputPath(CloudStoragePath value)

Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.

.google.privacy.dlp.v2.CloudStoragePath output_path = 1;

Parameter
Name Description
value CloudStoragePath
Returns
Type Description
LargeCustomDictionaryConfig.Builder

setOutputPath(CloudStoragePath.Builder builderForValue)

public LargeCustomDictionaryConfig.Builder setOutputPath(CloudStoragePath.Builder builderForValue)

Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.

.google.privacy.dlp.v2.CloudStoragePath output_path = 1;

Parameter
Name Description
builderForValue CloudStoragePath.Builder
Returns
Type Description
LargeCustomDictionaryConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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