Class CloudSqlDiscoveryTarget

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

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

    • FILTER_FIELD_NUMBER

      public static final int FILTER_FIELD_NUMBER
      See Also:
    • CONDITIONS_FIELD_NUMBER

      public static final int CONDITIONS_FIELD_NUMBER
      See Also:
    • GENERATION_CADENCE_FIELD_NUMBER

      public static final int GENERATION_CADENCE_FIELD_NUMBER
      See Also:
    • DISABLED_FIELD_NUMBER

      public static final int DISABLED_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
    • getCadenceCase

      public CloudSqlDiscoveryTarget.CadenceCase getCadenceCase()
      Specified by:
      getCadenceCase in interface CloudSqlDiscoveryTargetOrBuilder
    • 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.DiscoveryCloudSqlFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasFilter in interface CloudSqlDiscoveryTargetOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public DiscoveryCloudSqlFilter 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.DiscoveryCloudSqlFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilter in interface CloudSqlDiscoveryTargetOrBuilder
      Returns:
      The filter.
    • getFilterOrBuilder

      public DiscoveryCloudSqlFilterOrBuilder 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.DiscoveryCloudSqlFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilterOrBuilder in interface CloudSqlDiscoveryTargetOrBuilder
    • hasConditions

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

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

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

      public boolean hasGenerationCadence()
       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.DiscoveryCloudSqlGenerationCadence generation_cadence = 3;
      Specified by:
      hasGenerationCadence in interface CloudSqlDiscoveryTargetOrBuilder
      Returns:
      Whether the generationCadence field is set.
    • getGenerationCadence

      public DiscoveryCloudSqlGenerationCadence getGenerationCadence()
       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.DiscoveryCloudSqlGenerationCadence generation_cadence = 3;
      Specified by:
      getGenerationCadence in interface CloudSqlDiscoveryTargetOrBuilder
      Returns:
      The generationCadence.
    • getGenerationCadenceOrBuilder

      public DiscoveryCloudSqlGenerationCadenceOrBuilder getGenerationCadenceOrBuilder()
       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.DiscoveryCloudSqlGenerationCadence generation_cadence = 3;
      Specified by:
      getGenerationCadenceOrBuilder in interface CloudSqlDiscoveryTargetOrBuilder
    • hasDisabled

      public boolean hasDisabled()
       Disable profiling for database resources that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 4;
      Specified by:
      hasDisabled in interface CloudSqlDiscoveryTargetOrBuilder
      Returns:
      Whether the disabled field is set.
    • getDisabled

      public Disabled getDisabled()
       Disable profiling for database resources that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 4;
      Specified by:
      getDisabled in interface CloudSqlDiscoveryTargetOrBuilder
      Returns:
      The disabled.
    • getDisabledOrBuilder

      public DisabledOrBuilder getDisabledOrBuilder()
       Disable profiling for database resources that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 4;
      Specified by:
      getDisabledOrBuilder in interface CloudSqlDiscoveryTargetOrBuilder
    • 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 CloudSqlDiscoveryTarget parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static CloudSqlDiscoveryTarget.Builder newBuilder()
    • newBuilder

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

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

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

      public static CloudSqlDiscoveryTarget getDefaultInstance()
    • parser

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

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