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
CLOUD_STORAGE_FILE_SET_FIELD_NUMBER
public static final int CLOUD_STORAGE_FILE_SET_FIELD_NUMBER
Field Value
OUTPUT_PATH_FIELD_NUMBER
public static final int OUTPUT_PATH_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static LargeCustomDictionaryConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static LargeCustomDictionaryConfig.Builder newBuilder()
Returns
newBuilder(LargeCustomDictionaryConfig prototype)
public static LargeCustomDictionaryConfig.Builder newBuilder(LargeCustomDictionaryConfig prototype)
Parameter
Returns
public static LargeCustomDictionaryConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static LargeCustomDictionaryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static LargeCustomDictionaryConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LargeCustomDictionaryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static LargeCustomDictionaryConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LargeCustomDictionaryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LargeCustomDictionaryConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static LargeCustomDictionaryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LargeCustomDictionaryConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static LargeCustomDictionaryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static LargeCustomDictionaryConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LargeCustomDictionaryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<LargeCustomDictionaryConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
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
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
getDefaultInstanceForType()
public LargeCustomDictionaryConfig getDefaultInstanceForType()
Returns
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
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
getParserForType()
public Parser<LargeCustomDictionaryConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSourceCase()
public LargeCustomDictionaryConfig.SourceCase getSourceCase()
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public LargeCustomDictionaryConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LargeCustomDictionaryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public LargeCustomDictionaryConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions