Class LargeCustomDictionaryConfig (3.57.0)

public final class LargeCustomDictionaryConfig extends GeneratedMessageV3 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 Fields

BIG_QUERY_FIELD_FIELD_NUMBER

public static final int BIG_QUERY_FIELD_FIELD_NUMBER
Field Value
Type Description
int

CLOUD_STORAGE_FILE_SET_FIELD_NUMBER

public static final int CLOUD_STORAGE_FILE_SET_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_PATH_FIELD_NUMBER

public static final int OUTPUT_PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LargeCustomDictionaryConfig getDefaultInstance()
Returns
Type Description
LargeCustomDictionaryConfig

getDescriptor()

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

newBuilder()

public static LargeCustomDictionaryConfig.Builder newBuilder()
Returns
Type Description
LargeCustomDictionaryConfig.Builder

newBuilder(LargeCustomDictionaryConfig prototype)

public static LargeCustomDictionaryConfig.Builder newBuilder(LargeCustomDictionaryConfig prototype)
Parameter
Name Description
prototype LargeCustomDictionaryConfig
Returns
Type Description
LargeCustomDictionaryConfig.Builder

parseDelimitedFrom(InputStream input)

public static LargeCustomDictionaryConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LargeCustomDictionaryConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LargeCustomDictionaryConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static LargeCustomDictionaryConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LargeCustomDictionaryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LargeCustomDictionaryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LargeCustomDictionaryConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LargeCustomDictionaryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LargeCustomDictionaryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LargeCustomDictionaryConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LargeCustomDictionaryConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LargeCustomDictionaryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static LargeCustomDictionaryConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LargeCustomDictionaryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LargeCustomDictionaryConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static LargeCustomDictionaryConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LargeCustomDictionaryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LargeCustomDictionaryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<LargeCustomDictionaryConfig> parser()
Returns
Type Description
Parser<LargeCustomDictionaryConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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

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.

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

getParserForType()

public Parser<LargeCustomDictionaryConfig> getParserForType()
Returns
Type Description
Parser<LargeCustomDictionaryConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LargeCustomDictionaryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LargeCustomDictionaryConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException