Class DiscoveryBigQueryFilter

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.DiscoveryBigQueryFilter
All Implemented Interfaces:
DiscoveryBigQueryFilterOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DiscoveryBigQueryFilter extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • TABLES_FIELD_NUMBER

      public static final int TABLES_FIELD_NUMBER
      See Also:
    • OTHER_TABLES_FIELD_NUMBER

      public static final int OTHER_TABLES_FIELD_NUMBER
      See Also:
    • TABLE_REFERENCE_FIELD_NUMBER

      public static final int TABLE_REFERENCE_FIELD_NUMBER
      See Also:
  • 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
    • getFilterCase

      public DiscoveryBigQueryFilter.FilterCase getFilterCase()
      Specified by:
      getFilterCase in interface DiscoveryBigQueryFilterOrBuilder
    • 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.
    • 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.
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DiscoveryBigQueryFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryBigQueryFilter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryBigQueryFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryBigQueryFilter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryBigQueryFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryBigQueryFilter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryBigQueryFilter parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiscoveryBigQueryFilter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DiscoveryBigQueryFilter parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DiscoveryBigQueryFilter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiscoveryBigQueryFilter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiscoveryBigQueryFilter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static DiscoveryBigQueryFilter.Builder newBuilder()
    • newBuilder

      public static DiscoveryBigQueryFilter.Builder newBuilder(DiscoveryBigQueryFilter prototype)
    • toBuilder

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

      protected DiscoveryBigQueryFilter.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DiscoveryBigQueryFilter getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DiscoveryBigQueryFilter> parser()
    • getParserForType

      public com.google.protobuf.Parser<DiscoveryBigQueryFilter> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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