Class LargeCustomDictionaryConfig (3.12.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
TypeDescription
int

CLOUD_STORAGE_FILE_SET_FIELD_NUMBER

public static final int CLOUD_STORAGE_FILE_SET_FIELD_NUMBER
Field Value
TypeDescription
int

OUTPUT_PATH_FIELD_NUMBER

public static final int OUTPUT_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LargeCustomDictionaryConfig getDefaultInstance()
Returns
TypeDescription
LargeCustomDictionaryConfig

getDescriptor()

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

newBuilder()

public static LargeCustomDictionaryConfig.Builder newBuilder()
Returns
TypeDescription
LargeCustomDictionaryConfig.Builder

newBuilder(LargeCustomDictionaryConfig prototype)

public static LargeCustomDictionaryConfig.Builder newBuilder(LargeCustomDictionaryConfig prototype)
Parameter
NameDescription
prototypeLargeCustomDictionaryConfig
Returns
TypeDescription
LargeCustomDictionaryConfig.Builder

parseDelimitedFrom(InputStream input)

public static LargeCustomDictionaryConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LargeCustomDictionaryConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeCustomDictionaryConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LargeCustomDictionaryConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LargeCustomDictionaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeCustomDictionaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LargeCustomDictionaryConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LargeCustomDictionaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeCustomDictionaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LargeCustomDictionaryConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LargeCustomDictionaryConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeCustomDictionaryConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LargeCustomDictionaryConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LargeCustomDictionaryConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeCustomDictionaryConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LargeCustomDictionaryConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LargeCustomDictionaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeCustomDictionaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LargeCustomDictionaryConfig> parser()
Returns
TypeDescription
Parser<LargeCustomDictionaryConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
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.

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

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
TypeDescription
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
TypeDescription
CloudStoragePathOrBuilder

getParserForType()

public Parser<LargeCustomDictionaryConfig> getParserForType()
Returns
TypeDescription
Parser<LargeCustomDictionaryConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceCase()

public LargeCustomDictionaryConfig.SourceCase getSourceCase()
Returns
TypeDescription
LargeCustomDictionaryConfig.SourceCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LargeCustomDictionaryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LargeCustomDictionaryConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException