Class DiscoveryCloudSqlGenerationCadence

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

@Generated public final class DiscoveryCloudSqlGenerationCadence extends com.google.protobuf.GeneratedMessage implements DiscoveryCloudSqlGenerationCadenceOrBuilder
 How often existing tables should have their profiles refreshed.
 New tables are scanned as quickly as possible depending on system
 capacity.
 
Protobuf type google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence
See Also:
  • Field Details

    • SCHEMA_MODIFIED_CADENCE_FIELD_NUMBER

      public static final int SCHEMA_MODIFIED_CADENCE_FIELD_NUMBER
      See Also:
    • REFRESH_FREQUENCY_FIELD_NUMBER

      public static final int REFRESH_FREQUENCY_FIELD_NUMBER
      See Also:
    • INSPECT_TEMPLATE_MODIFIED_CADENCE_FIELD_NUMBER

      public static final int INSPECT_TEMPLATE_MODIFIED_CADENCE_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
    • hasSchemaModifiedCadence

      public boolean hasSchemaModifiedCadence()
       When to reprofile if the schema has changed.
       
      .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;
      Specified by:
      hasSchemaModifiedCadence in interface DiscoveryCloudSqlGenerationCadenceOrBuilder
      Returns:
      Whether the schemaModifiedCadence field is set.
    • getSchemaModifiedCadence

       When to reprofile if the schema has changed.
       
      .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;
      Specified by:
      getSchemaModifiedCadence in interface DiscoveryCloudSqlGenerationCadenceOrBuilder
      Returns:
      The schemaModifiedCadence.
    • getSchemaModifiedCadenceOrBuilder

      public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadenceOrBuilder getSchemaModifiedCadenceOrBuilder()
       When to reprofile if the schema has changed.
       
      .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;
      Specified by:
      getSchemaModifiedCadenceOrBuilder in interface DiscoveryCloudSqlGenerationCadenceOrBuilder
    • getRefreshFrequencyValue

      public int getRefreshFrequencyValue()
       Data changes (non-schema changes) in Cloud SQL tables can't trigger
       reprofiling. If you set this field, profiles are refreshed at this
       frequency regardless of whether the underlying tables have changed.
       Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 2;
      Specified by:
      getRefreshFrequencyValue in interface DiscoveryCloudSqlGenerationCadenceOrBuilder
      Returns:
      The enum numeric value on the wire for refreshFrequency.
    • getRefreshFrequency

      public DataProfileUpdateFrequency getRefreshFrequency()
       Data changes (non-schema changes) in Cloud SQL tables can't trigger
       reprofiling. If you set this field, profiles are refreshed at this
       frequency regardless of whether the underlying tables have changed.
       Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 2;
      Specified by:
      getRefreshFrequency in interface DiscoveryCloudSqlGenerationCadenceOrBuilder
      Returns:
      The refreshFrequency.
    • hasInspectTemplateModifiedCadence

      public boolean hasInspectTemplateModifiedCadence()
       Governs when to update data profiles when the inspection rules
       defined by the `InspectTemplate` change.
       If not set, changing the template will not cause a data profile to update.
       
      .google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 3;
      Specified by:
      hasInspectTemplateModifiedCadence in interface DiscoveryCloudSqlGenerationCadenceOrBuilder
      Returns:
      Whether the inspectTemplateModifiedCadence field is set.
    • getInspectTemplateModifiedCadence

      public DiscoveryInspectTemplateModifiedCadence getInspectTemplateModifiedCadence()
       Governs when to update data profiles when the inspection rules
       defined by the `InspectTemplate` change.
       If not set, changing the template will not cause a data profile to update.
       
      .google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 3;
      Specified by:
      getInspectTemplateModifiedCadence in interface DiscoveryCloudSqlGenerationCadenceOrBuilder
      Returns:
      The inspectTemplateModifiedCadence.
    • getInspectTemplateModifiedCadenceOrBuilder

      public DiscoveryInspectTemplateModifiedCadenceOrBuilder getInspectTemplateModifiedCadenceOrBuilder()
       Governs when to update data profiles when the inspection rules
       defined by the `InspectTemplate` change.
       If not set, changing the template will not cause a data profile to update.
       
      .google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 3;
      Specified by:
      getInspectTemplateModifiedCadenceOrBuilder in interface DiscoveryCloudSqlGenerationCadenceOrBuilder
    • 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 DiscoveryCloudSqlGenerationCadence parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DiscoveryCloudSqlGenerationCadence.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static DiscoveryCloudSqlGenerationCadence getDefaultInstance()
    • parser

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

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