Class LargeCustomDictionaryConfig.Builder

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 Google Cloud Storage location. Consider using CustomInfoType.Dictionary for smaller dictionaries that satisfy the size requirements.

Protobuf type google.privacy.dlp.v2.LargeCustomDictionaryConfig

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LargeCustomDictionaryConfig build()
Returns
TypeDescription
LargeCustomDictionaryConfig

buildPartial()

public LargeCustomDictionaryConfig buildPartial()
Returns
TypeDescription
LargeCustomDictionaryConfig

clear()

public LargeCustomDictionaryConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
LargeCustomDictionaryConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputPath()

public LargeCustomDictionaryConfig.Builder clearOutputPath()

Location to store dictionary artifacts in Google 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
TypeDescription
LargeCustomDictionaryConfig.Builder

clearSource()

public LargeCustomDictionaryConfig.Builder clearSource()
Returns
TypeDescription
LargeCustomDictionaryConfig.Builder

clone()

public LargeCustomDictionaryConfig.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CloudStorageFileSetOrBuilder

getDefaultInstanceForType()

public LargeCustomDictionaryConfig getDefaultInstanceForType()
Returns
TypeDescription
LargeCustomDictionaryConfig

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOutputPath()

public CloudStoragePath getOutputPath()

Location to store dictionary artifacts in Google 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
TypeDescription
CloudStoragePath

The outputPath.

getOutputPathBuilder()

public CloudStoragePath.Builder getOutputPathBuilder()

Location to store dictionary artifacts in Google 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
TypeDescription
CloudStoragePath.Builder

getOutputPathOrBuilder()

public CloudStoragePathOrBuilder getOutputPathOrBuilder()

Location to store dictionary artifacts in Google 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
TypeDescription
CloudStoragePathOrBuilder

getSourceCase()

public LargeCustomDictionaryConfig.SourceCase getSourceCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the cloudStorageFileSet field is set.

hasOutputPath()

public boolean hasOutputPath()

Location to store dictionary artifacts in Google 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
TypeDescription
boolean

Whether the outputPath field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueBigQueryField
Returns
TypeDescription
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
NameDescription
valueCloudStorageFileSet
Returns
TypeDescription
LargeCustomDictionaryConfig.Builder

mergeFrom(LargeCustomDictionaryConfig other)

public LargeCustomDictionaryConfig.Builder mergeFrom(LargeCustomDictionaryConfig other)
Parameter
NameDescription
otherLargeCustomDictionaryConfig
Returns
TypeDescription
LargeCustomDictionaryConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOutputPath(CloudStoragePath value)

public LargeCustomDictionaryConfig.Builder mergeOutputPath(CloudStoragePath value)

Location to store dictionary artifacts in Google 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
NameDescription
valueCloudStoragePath
Returns
TypeDescription
LargeCustomDictionaryConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LargeCustomDictionaryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueBigQueryField
Returns
TypeDescription
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
NameDescription
builderForValueBigQueryField.Builder
Returns
TypeDescription
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
NameDescription
valueCloudStorageFileSet
Returns
TypeDescription
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
NameDescription
builderForValueCloudStorageFileSet.Builder
Returns
TypeDescription
LargeCustomDictionaryConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setOutputPath(CloudStoragePath value)

public LargeCustomDictionaryConfig.Builder setOutputPath(CloudStoragePath value)

Location to store dictionary artifacts in Google 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
NameDescription
valueCloudStoragePath
Returns
TypeDescription
LargeCustomDictionaryConfig.Builder

setOutputPath(CloudStoragePath.Builder builderForValue)

public LargeCustomDictionaryConfig.Builder setOutputPath(CloudStoragePath.Builder builderForValue)

Location to store dictionary artifacts in Google 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
NameDescription
builderForValueCloudStoragePath.Builder
Returns
TypeDescription
LargeCustomDictionaryConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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