Class DiscoveryBigQueryConditions

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

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

    • CREATED_AFTER_FIELD_NUMBER

      public static final int CREATED_AFTER_FIELD_NUMBER
      See Also:
    • TYPES_FIELD_NUMBER

      public static final int TYPES_FIELD_NUMBER
      See Also:
    • TYPE_COLLECTION_FIELD_NUMBER

      public static final int TYPE_COLLECTION_FIELD_NUMBER
      See Also:
    • OR_CONDITIONS_FIELD_NUMBER

      public static final int OR_CONDITIONS_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
    • getIncludedTypesCase

      public DiscoveryBigQueryConditions.IncludedTypesCase getIncludedTypesCase()
      Specified by:
      getIncludedTypesCase in interface DiscoveryBigQueryConditionsOrBuilder
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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 DiscoveryBigQueryConditions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DiscoveryBigQueryConditions.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static DiscoveryBigQueryConditions getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<DiscoveryBigQueryConditions> 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 DiscoveryBigQueryConditions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder