Class LargeCustomDictionaryConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LargeCustomDictionaryConfig.Builder>
com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder
All Implemented Interfaces:
LargeCustomDictionaryConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
LargeCustomDictionaryConfig

public static final class LargeCustomDictionaryConfig.Builder extends com.google.protobuf.GeneratedMessage.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](https://cloud.google.com/sensitive-data-protection/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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<LargeCustomDictionaryConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<LargeCustomDictionaryConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<LargeCustomDictionaryConfig.Builder>
    • getDefaultInstanceForType

      public LargeCustomDictionaryConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public LargeCustomDictionaryConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public LargeCustomDictionaryConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LargeCustomDictionaryConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<LargeCustomDictionaryConfig.Builder>
    • mergeFrom

      public LargeCustomDictionaryConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LargeCustomDictionaryConfig.Builder>
      Throws:
      IOException
    • getSourceCase

      Specified by:
      getSourceCase in interface LargeCustomDictionaryConfigOrBuilder
    • clearSource

    • 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;
      Specified by:
      hasOutputPath in interface LargeCustomDictionaryConfigOrBuilder
      Returns:
      Whether the outputPath field is set.
    • 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;
      Specified by:
      getOutputPath in interface LargeCustomDictionaryConfigOrBuilder
      Returns:
      The outputPath.
    • setOutputPath

       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;
    • setOutputPath

      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;
    • mergeOutputPath

      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;
    • 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;
    • 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;
    • 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;
      Specified by:
      getOutputPathOrBuilder in interface LargeCustomDictionaryConfigOrBuilder
    • hasCloudStorageFileSet

      public boolean hasCloudStorageFileSet()
       Set of files containing newline-delimited lists of dictionary phrases.
       
      .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
      Specified by:
      hasCloudStorageFileSet in interface LargeCustomDictionaryConfigOrBuilder
      Returns:
      Whether the cloudStorageFileSet field is set.
    • getCloudStorageFileSet

      public CloudStorageFileSet getCloudStorageFileSet()
       Set of files containing newline-delimited lists of dictionary phrases.
       
      .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
      Specified by:
      getCloudStorageFileSet in interface LargeCustomDictionaryConfigOrBuilder
      Returns:
      The cloudStorageFileSet.
    • setCloudStorageFileSet

      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;
    • setCloudStorageFileSet

      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;
    • mergeCloudStorageFileSet

      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;
    • 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;
    • 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;
    • getCloudStorageFileSetOrBuilder

      public CloudStorageFileSetOrBuilder getCloudStorageFileSetOrBuilder()
       Set of files containing newline-delimited lists of dictionary phrases.
       
      .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
      Specified by:
      getCloudStorageFileSetOrBuilder in interface LargeCustomDictionaryConfigOrBuilder
    • 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;
      Specified by:
      hasBigQueryField in interface LargeCustomDictionaryConfigOrBuilder
      Returns:
      Whether the bigQueryField field is set.
    • 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;
      Specified by:
      getBigQueryField in interface LargeCustomDictionaryConfigOrBuilder
      Returns:
      The bigQueryField.
    • setBigQueryField

      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;
    • setBigQueryField

      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;
    • mergeBigQueryField

      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;
    • 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;
    • 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;
    • 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;
      Specified by:
      getBigQueryFieldOrBuilder in interface LargeCustomDictionaryConfigOrBuilder