Class 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.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](https://cloud.google.com/dlp/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 Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

        public LargeCustomDictionaryConfig 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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

        public LargeCustomDictionaryConfig.Builder setOutputPath​(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;
      • 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.
      • 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;
      • 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.
      • 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;
      • mergeUnknownFields

        public final LargeCustomDictionaryConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>