Class DiscoveryBigQueryFilter.Builder

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

public static final class DiscoveryBigQueryFilter.Builder extends com.google.protobuf.GeneratedMessage.Builder<DiscoveryBigQueryFilter.Builder> implements DiscoveryBigQueryFilterOrBuilder
 Determines what tables will have profiles generated within an organization
 or project. Includes the ability to filter by regular expression patterns
 on project ID, dataset ID, and table ID.
 
Protobuf type google.privacy.dlp.v2.DiscoveryBigQueryFilter
  • 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<DiscoveryBigQueryFilter.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<DiscoveryBigQueryFilter.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<DiscoveryBigQueryFilter.Builder>
    • getDefaultInstanceForType

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

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

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

      public DiscoveryBigQueryFilter.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<DiscoveryBigQueryFilter.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<DiscoveryBigQueryFilter.Builder>
    • mergeFrom

      public DiscoveryBigQueryFilter.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<DiscoveryBigQueryFilter.Builder>
      Throws:
      IOException
    • getFilterCase

      public DiscoveryBigQueryFilter.FilterCase getFilterCase()
      Specified by:
      getFilterCase in interface DiscoveryBigQueryFilterOrBuilder
    • clearFilter

      public DiscoveryBigQueryFilter.Builder clearFilter()
    • hasTables

      public boolean hasTables()
       A specific set of tables for this filter to apply to. A table collection
       must be specified in only one filter per config.
       If a table id or dataset is empty, Cloud DLP assumes all tables in that
       collection must be profiled. Must specify a project ID.
       
      .google.privacy.dlp.v2.BigQueryTableCollection tables = 1;
      Specified by:
      hasTables in interface DiscoveryBigQueryFilterOrBuilder
      Returns:
      Whether the tables field is set.
    • getTables

      public BigQueryTableCollection getTables()
       A specific set of tables for this filter to apply to. A table collection
       must be specified in only one filter per config.
       If a table id or dataset is empty, Cloud DLP assumes all tables in that
       collection must be profiled. Must specify a project ID.
       
      .google.privacy.dlp.v2.BigQueryTableCollection tables = 1;
      Specified by:
      getTables in interface DiscoveryBigQueryFilterOrBuilder
      Returns:
      The tables.
    • setTables

       A specific set of tables for this filter to apply to. A table collection
       must be specified in only one filter per config.
       If a table id or dataset is empty, Cloud DLP assumes all tables in that
       collection must be profiled. Must specify a project ID.
       
      .google.privacy.dlp.v2.BigQueryTableCollection tables = 1;
    • setTables

       A specific set of tables for this filter to apply to. A table collection
       must be specified in only one filter per config.
       If a table id or dataset is empty, Cloud DLP assumes all tables in that
       collection must be profiled. Must specify a project ID.
       
      .google.privacy.dlp.v2.BigQueryTableCollection tables = 1;
    • mergeTables

       A specific set of tables for this filter to apply to. A table collection
       must be specified in only one filter per config.
       If a table id or dataset is empty, Cloud DLP assumes all tables in that
       collection must be profiled. Must specify a project ID.
       
      .google.privacy.dlp.v2.BigQueryTableCollection tables = 1;
    • clearTables

      public DiscoveryBigQueryFilter.Builder clearTables()
       A specific set of tables for this filter to apply to. A table collection
       must be specified in only one filter per config.
       If a table id or dataset is empty, Cloud DLP assumes all tables in that
       collection must be profiled. Must specify a project ID.
       
      .google.privacy.dlp.v2.BigQueryTableCollection tables = 1;
    • getTablesBuilder

      public BigQueryTableCollection.Builder getTablesBuilder()
       A specific set of tables for this filter to apply to. A table collection
       must be specified in only one filter per config.
       If a table id or dataset is empty, Cloud DLP assumes all tables in that
       collection must be profiled. Must specify a project ID.
       
      .google.privacy.dlp.v2.BigQueryTableCollection tables = 1;
    • getTablesOrBuilder

      public BigQueryTableCollectionOrBuilder getTablesOrBuilder()
       A specific set of tables for this filter to apply to. A table collection
       must be specified in only one filter per config.
       If a table id or dataset is empty, Cloud DLP assumes all tables in that
       collection must be profiled. Must specify a project ID.
       
      .google.privacy.dlp.v2.BigQueryTableCollection tables = 1;
      Specified by:
      getTablesOrBuilder in interface DiscoveryBigQueryFilterOrBuilder
    • hasOtherTables

      public boolean hasOtherTables()
       Catch-all. This should always be the last filter in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables other_tables = 2;
      Specified by:
      hasOtherTables in interface DiscoveryBigQueryFilterOrBuilder
      Returns:
      Whether the otherTables field is set.
    • getOtherTables

       Catch-all. This should always be the last filter in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables other_tables = 2;
      Specified by:
      getOtherTables in interface DiscoveryBigQueryFilterOrBuilder
      Returns:
      The otherTables.
    • setOtherTables

       Catch-all. This should always be the last filter in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables other_tables = 2;
    • setOtherTables

       Catch-all. This should always be the last filter in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables other_tables = 2;
    • mergeOtherTables

       Catch-all. This should always be the last filter in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables other_tables = 2;
    • clearOtherTables

      public DiscoveryBigQueryFilter.Builder clearOtherTables()
       Catch-all. This should always be the last filter in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables other_tables = 2;
    • getOtherTablesBuilder

       Catch-all. This should always be the last filter in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables other_tables = 2;
    • getOtherTablesOrBuilder

       Catch-all. This should always be the last filter in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables other_tables = 2;
      Specified by:
      getOtherTablesOrBuilder in interface DiscoveryBigQueryFilterOrBuilder
    • hasTableReference

      public boolean hasTableReference()
       The table to scan. Discovery configurations including this can only
       include one DiscoveryTarget (the DiscoveryTarget with this
       TableReference).
       
      .google.privacy.dlp.v2.TableReference table_reference = 3;
      Specified by:
      hasTableReference in interface DiscoveryBigQueryFilterOrBuilder
      Returns:
      Whether the tableReference field is set.
    • getTableReference

      public TableReference getTableReference()
       The table to scan. Discovery configurations including this can only
       include one DiscoveryTarget (the DiscoveryTarget with this
       TableReference).
       
      .google.privacy.dlp.v2.TableReference table_reference = 3;
      Specified by:
      getTableReference in interface DiscoveryBigQueryFilterOrBuilder
      Returns:
      The tableReference.
    • setTableReference

      public DiscoveryBigQueryFilter.Builder setTableReference(TableReference value)
       The table to scan. Discovery configurations including this can only
       include one DiscoveryTarget (the DiscoveryTarget with this
       TableReference).
       
      .google.privacy.dlp.v2.TableReference table_reference = 3;
    • setTableReference

      public DiscoveryBigQueryFilter.Builder setTableReference(TableReference.Builder builderForValue)
       The table to scan. Discovery configurations including this can only
       include one DiscoveryTarget (the DiscoveryTarget with this
       TableReference).
       
      .google.privacy.dlp.v2.TableReference table_reference = 3;
    • mergeTableReference

      public DiscoveryBigQueryFilter.Builder mergeTableReference(TableReference value)
       The table to scan. Discovery configurations including this can only
       include one DiscoveryTarget (the DiscoveryTarget with this
       TableReference).
       
      .google.privacy.dlp.v2.TableReference table_reference = 3;
    • clearTableReference

      public DiscoveryBigQueryFilter.Builder clearTableReference()
       The table to scan. Discovery configurations including this can only
       include one DiscoveryTarget (the DiscoveryTarget with this
       TableReference).
       
      .google.privacy.dlp.v2.TableReference table_reference = 3;
    • getTableReferenceBuilder

      public TableReference.Builder getTableReferenceBuilder()
       The table to scan. Discovery configurations including this can only
       include one DiscoveryTarget (the DiscoveryTarget with this
       TableReference).
       
      .google.privacy.dlp.v2.TableReference table_reference = 3;
    • getTableReferenceOrBuilder

      public TableReferenceOrBuilder getTableReferenceOrBuilder()
       The table to scan. Discovery configurations including this can only
       include one DiscoveryTarget (the DiscoveryTarget with this
       TableReference).
       
      .google.privacy.dlp.v2.TableReference table_reference = 3;
      Specified by:
      getTableReferenceOrBuilder in interface DiscoveryBigQueryFilterOrBuilder