Class BigQueryDiscoveryTarget

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

@Generated public final class BigQueryDiscoveryTarget extends com.google.protobuf.GeneratedMessage implements BigQueryDiscoveryTargetOrBuilder
 Target used to match against for discovery with BigQuery tables
 
Protobuf type google.privacy.dlp.v2.BigQueryDiscoveryTarget
See Also:
  • Field Details

  • 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
    • getFrequencyCase

      public BigQueryDiscoveryTarget.FrequencyCase getFrequencyCase()
      Specified by:
      getFrequencyCase in interface BigQueryDiscoveryTargetOrBuilder
    • hasFilter

      public boolean hasFilter()
       Required. The tables the discovery cadence applies to. The first target
       with a matching filter will be the one to apply to a table.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasFilter in interface BigQueryDiscoveryTargetOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public DiscoveryBigQueryFilter getFilter()
       Required. The tables the discovery cadence applies to. The first target
       with a matching filter will be the one to apply to a table.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilter in interface BigQueryDiscoveryTargetOrBuilder
      Returns:
      The filter.
    • getFilterOrBuilder

      public DiscoveryBigQueryFilterOrBuilder getFilterOrBuilder()
       Required. The tables the discovery cadence applies to. The first target
       with a matching filter will be the one to apply to a table.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilterOrBuilder in interface BigQueryDiscoveryTargetOrBuilder
    • hasConditions

      public boolean hasConditions()
       In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryConditions conditions = 2;
      Specified by:
      hasConditions in interface BigQueryDiscoveryTargetOrBuilder
      Returns:
      Whether the conditions field is set.
    • getConditions

      public DiscoveryBigQueryConditions getConditions()
       In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryConditions conditions = 2;
      Specified by:
      getConditions in interface BigQueryDiscoveryTargetOrBuilder
      Returns:
      The conditions.
    • getConditionsOrBuilder

      public DiscoveryBigQueryConditionsOrBuilder getConditionsOrBuilder()
       In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryBigQueryConditions conditions = 2;
      Specified by:
      getConditionsOrBuilder in interface BigQueryDiscoveryTargetOrBuilder
    • hasCadence

      public boolean hasCadence()
       How often and when to update profiles. New tables that match both the
       filter and conditions are scanned as quickly as possible depending on
       system capacity.
       
      .google.privacy.dlp.v2.DiscoveryGenerationCadence cadence = 3;
      Specified by:
      hasCadence in interface BigQueryDiscoveryTargetOrBuilder
      Returns:
      Whether the cadence field is set.
    • getCadence

      public DiscoveryGenerationCadence getCadence()
       How often and when to update profiles. New tables that match both the
       filter and conditions are scanned as quickly as possible depending on
       system capacity.
       
      .google.privacy.dlp.v2.DiscoveryGenerationCadence cadence = 3;
      Specified by:
      getCadence in interface BigQueryDiscoveryTargetOrBuilder
      Returns:
      The cadence.
    • getCadenceOrBuilder

      public DiscoveryGenerationCadenceOrBuilder getCadenceOrBuilder()
       How often and when to update profiles. New tables that match both the
       filter and conditions are scanned as quickly as possible depending on
       system capacity.
       
      .google.privacy.dlp.v2.DiscoveryGenerationCadence cadence = 3;
      Specified by:
      getCadenceOrBuilder in interface BigQueryDiscoveryTargetOrBuilder
    • hasDisabled

      public boolean hasDisabled()
       Tables that match this filter will not have profiles created.
       
      .google.privacy.dlp.v2.Disabled disabled = 4;
      Specified by:
      hasDisabled in interface BigQueryDiscoveryTargetOrBuilder
      Returns:
      Whether the disabled field is set.
    • getDisabled

      public Disabled getDisabled()
       Tables that match this filter will not have profiles created.
       
      .google.privacy.dlp.v2.Disabled disabled = 4;
      Specified by:
      getDisabled in interface BigQueryDiscoveryTargetOrBuilder
      Returns:
      The disabled.
    • getDisabledOrBuilder

      public DisabledOrBuilder getDisabledOrBuilder()
       Tables that match this filter will not have profiles created.
       
      .google.privacy.dlp.v2.Disabled disabled = 4;
      Specified by:
      getDisabledOrBuilder in interface BigQueryDiscoveryTargetOrBuilder
    • 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 BigQueryDiscoveryTarget parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static BigQueryDiscoveryTarget.Builder newBuilder()
    • newBuilder

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

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

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

      public static BigQueryDiscoveryTarget getDefaultInstance()
    • parser

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

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