Class DiscoveryBigQueryConditions.Builder

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

public static final class DiscoveryBigQueryConditions.Builder extends com.google.protobuf.GeneratedMessage.Builder<DiscoveryBigQueryConditions.Builder> implements DiscoveryBigQueryConditionsOrBuilder
 Requirements that must be true before a table is scanned in discovery for the
 first time. There is an AND relationship between the top-level attributes.
 Additionally, minimum conditions with an OR relationship that must be met
 before Cloud DLP scans a table can be set (like a minimum row count or a
 minimum table age).
 
Protobuf type google.privacy.dlp.v2.DiscoveryBigQueryConditions
  • 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<DiscoveryBigQueryConditions.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<DiscoveryBigQueryConditions.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<DiscoveryBigQueryConditions.Builder>
    • getDefaultInstanceForType

      public DiscoveryBigQueryConditions 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 DiscoveryBigQueryConditions buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public DiscoveryBigQueryConditions.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<DiscoveryBigQueryConditions.Builder>
      Throws:
      IOException
    • getIncludedTypesCase

      public DiscoveryBigQueryConditions.IncludedTypesCase getIncludedTypesCase()
      Specified by:
      getIncludedTypesCase in interface DiscoveryBigQueryConditionsOrBuilder
    • clearIncludedTypes

      public DiscoveryBigQueryConditions.Builder clearIncludedTypes()
    • hasCreatedAfter

      public boolean hasCreatedAfter()
       BigQuery table must have been created after this date. Used to avoid
       backfilling.
       
      .google.protobuf.Timestamp created_after = 1;
      Specified by:
      hasCreatedAfter in interface DiscoveryBigQueryConditionsOrBuilder
      Returns:
      Whether the createdAfter field is set.
    • getCreatedAfter

      public com.google.protobuf.Timestamp getCreatedAfter()
       BigQuery table must have been created after this date. Used to avoid
       backfilling.
       
      .google.protobuf.Timestamp created_after = 1;
      Specified by:
      getCreatedAfter in interface DiscoveryBigQueryConditionsOrBuilder
      Returns:
      The createdAfter.
    • setCreatedAfter

      public DiscoveryBigQueryConditions.Builder setCreatedAfter(com.google.protobuf.Timestamp value)
       BigQuery table must have been created after this date. Used to avoid
       backfilling.
       
      .google.protobuf.Timestamp created_after = 1;
    • setCreatedAfter

      public DiscoveryBigQueryConditions.Builder setCreatedAfter(com.google.protobuf.Timestamp.Builder builderForValue)
       BigQuery table must have been created after this date. Used to avoid
       backfilling.
       
      .google.protobuf.Timestamp created_after = 1;
    • mergeCreatedAfter

      public DiscoveryBigQueryConditions.Builder mergeCreatedAfter(com.google.protobuf.Timestamp value)
       BigQuery table must have been created after this date. Used to avoid
       backfilling.
       
      .google.protobuf.Timestamp created_after = 1;
    • clearCreatedAfter

      public DiscoveryBigQueryConditions.Builder clearCreatedAfter()
       BigQuery table must have been created after this date. Used to avoid
       backfilling.
       
      .google.protobuf.Timestamp created_after = 1;
    • getCreatedAfterBuilder

      public com.google.protobuf.Timestamp.Builder getCreatedAfterBuilder()
       BigQuery table must have been created after this date. Used to avoid
       backfilling.
       
      .google.protobuf.Timestamp created_after = 1;
    • getCreatedAfterOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreatedAfterOrBuilder()
       BigQuery table must have been created after this date. Used to avoid
       backfilling.
       
      .google.protobuf.Timestamp created_after = 1;
      Specified by:
      getCreatedAfterOrBuilder in interface DiscoveryBigQueryConditionsOrBuilder
    • hasTypes

      public boolean hasTypes()
       Restrict discovery to specific table types.
       
      .google.privacy.dlp.v2.BigQueryTableTypes types = 2;
      Specified by:
      hasTypes in interface DiscoveryBigQueryConditionsOrBuilder
      Returns:
      Whether the types field is set.
    • getTypes

      public BigQueryTableTypes getTypes()
       Restrict discovery to specific table types.
       
      .google.privacy.dlp.v2.BigQueryTableTypes types = 2;
      Specified by:
      getTypes in interface DiscoveryBigQueryConditionsOrBuilder
      Returns:
      The types.
    • setTypes

       Restrict discovery to specific table types.
       
      .google.privacy.dlp.v2.BigQueryTableTypes types = 2;
    • setTypes

       Restrict discovery to specific table types.
       
      .google.privacy.dlp.v2.BigQueryTableTypes types = 2;
    • mergeTypes

       Restrict discovery to specific table types.
       
      .google.privacy.dlp.v2.BigQueryTableTypes types = 2;
    • clearTypes

       Restrict discovery to specific table types.
       
      .google.privacy.dlp.v2.BigQueryTableTypes types = 2;
    • getTypesBuilder

      public BigQueryTableTypes.Builder getTypesBuilder()
       Restrict discovery to specific table types.
       
      .google.privacy.dlp.v2.BigQueryTableTypes types = 2;
    • getTypesOrBuilder

      public BigQueryTableTypesOrBuilder getTypesOrBuilder()
       Restrict discovery to specific table types.
       
      .google.privacy.dlp.v2.BigQueryTableTypes types = 2;
      Specified by:
      getTypesOrBuilder in interface DiscoveryBigQueryConditionsOrBuilder
    • hasTypeCollection

      public boolean hasTypeCollection()
       Restrict discovery to categories of table types.
       
      .google.privacy.dlp.v2.BigQueryTableTypeCollection type_collection = 3;
      Specified by:
      hasTypeCollection in interface DiscoveryBigQueryConditionsOrBuilder
      Returns:
      Whether the typeCollection field is set.
    • getTypeCollectionValue

      public int getTypeCollectionValue()
       Restrict discovery to categories of table types.
       
      .google.privacy.dlp.v2.BigQueryTableTypeCollection type_collection = 3;
      Specified by:
      getTypeCollectionValue in interface DiscoveryBigQueryConditionsOrBuilder
      Returns:
      The enum numeric value on the wire for typeCollection.
    • setTypeCollectionValue

      public DiscoveryBigQueryConditions.Builder setTypeCollectionValue(int value)
       Restrict discovery to categories of table types.
       
      .google.privacy.dlp.v2.BigQueryTableTypeCollection type_collection = 3;
      Parameters:
      value - The enum numeric value on the wire for typeCollection to set.
      Returns:
      This builder for chaining.
    • getTypeCollection

      public BigQueryTableTypeCollection getTypeCollection()
       Restrict discovery to categories of table types.
       
      .google.privacy.dlp.v2.BigQueryTableTypeCollection type_collection = 3;
      Specified by:
      getTypeCollection in interface DiscoveryBigQueryConditionsOrBuilder
      Returns:
      The typeCollection.
    • setTypeCollection

       Restrict discovery to categories of table types.
       
      .google.privacy.dlp.v2.BigQueryTableTypeCollection type_collection = 3;
      Parameters:
      value - The typeCollection to set.
      Returns:
      This builder for chaining.
    • clearTypeCollection

      public DiscoveryBigQueryConditions.Builder clearTypeCollection()
       Restrict discovery to categories of table types.
       
      .google.privacy.dlp.v2.BigQueryTableTypeCollection type_collection = 3;
      Returns:
      This builder for chaining.
    • hasOrConditions

      public boolean hasOrConditions()
       At least one of the conditions must be true for a table to be scanned.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions or_conditions = 4;
      Specified by:
      hasOrConditions in interface DiscoveryBigQueryConditionsOrBuilder
      Returns:
      Whether the orConditions field is set.
    • getOrConditions

      public DiscoveryBigQueryConditions.OrConditions getOrConditions()
       At least one of the conditions must be true for a table to be scanned.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions or_conditions = 4;
      Specified by:
      getOrConditions in interface DiscoveryBigQueryConditionsOrBuilder
      Returns:
      The orConditions.
    • setOrConditions

       At least one of the conditions must be true for a table to be scanned.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions or_conditions = 4;
    • setOrConditions

       At least one of the conditions must be true for a table to be scanned.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions or_conditions = 4;
    • mergeOrConditions

       At least one of the conditions must be true for a table to be scanned.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions or_conditions = 4;
    • clearOrConditions

      public DiscoveryBigQueryConditions.Builder clearOrConditions()
       At least one of the conditions must be true for a table to be scanned.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions or_conditions = 4;
    • getOrConditionsBuilder

      public DiscoveryBigQueryConditions.OrConditions.Builder getOrConditionsBuilder()
       At least one of the conditions must be true for a table to be scanned.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions or_conditions = 4;
    • getOrConditionsOrBuilder

      public DiscoveryBigQueryConditions.OrConditionsOrBuilder getOrConditionsOrBuilder()
       At least one of the conditions must be true for a table to be scanned.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions or_conditions = 4;
      Specified by:
      getOrConditionsOrBuilder in interface DiscoveryBigQueryConditionsOrBuilder