Class DiscoveryCloudSqlGenerationCadence.Builder

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

public static final class DiscoveryCloudSqlGenerationCadence.Builder extends com.google.protobuf.GeneratedMessage.Builder<DiscoveryCloudSqlGenerationCadence.Builder> 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
  • 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<DiscoveryCloudSqlGenerationCadence.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<DiscoveryCloudSqlGenerationCadence.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<DiscoveryCloudSqlGenerationCadence.Builder>
    • getDefaultInstanceForType

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

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

      public DiscoveryCloudSqlGenerationCadence.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<DiscoveryCloudSqlGenerationCadence.Builder>
      Throws:
      IOException
    • 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.
    • setSchemaModifiedCadence

       When to reprofile if the schema has changed.
       
      .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;
    • setSchemaModifiedCadence

       When to reprofile if the schema has changed.
       
      .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;
    • mergeSchemaModifiedCadence

       When to reprofile if the schema has changed.
       
      .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;
    • clearSchemaModifiedCadence

      public DiscoveryCloudSqlGenerationCadence.Builder clearSchemaModifiedCadence()
       When to reprofile if the schema has changed.
       
      .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;
    • getSchemaModifiedCadenceBuilder

      public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder getSchemaModifiedCadenceBuilder()
       When to reprofile if the schema has changed.
       
      .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;
    • 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.
    • setRefreshFrequencyValue

      public DiscoveryCloudSqlGenerationCadence.Builder setRefreshFrequencyValue(int value)
       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;
      Parameters:
      value - The enum numeric value on the wire for refreshFrequency to set.
      Returns:
      This builder for chaining.
    • 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.
    • setRefreshFrequency

       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;
      Parameters:
      value - The refreshFrequency to set.
      Returns:
      This builder for chaining.
    • clearRefreshFrequency

      public DiscoveryCloudSqlGenerationCadence.Builder clearRefreshFrequency()
       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;
      Returns:
      This builder for chaining.
    • 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.
    • setInspectTemplateModifiedCadence

       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;
    • setInspectTemplateModifiedCadence

      public DiscoveryCloudSqlGenerationCadence.Builder setInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence.Builder builderForValue)
       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;
    • mergeInspectTemplateModifiedCadence

      public DiscoveryCloudSqlGenerationCadence.Builder mergeInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence value)
       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;
    • clearInspectTemplateModifiedCadence

      public DiscoveryCloudSqlGenerationCadence.Builder clearInspectTemplateModifiedCadence()
       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;
    • getInspectTemplateModifiedCadenceBuilder

      public DiscoveryInspectTemplateModifiedCadence.Builder getInspectTemplateModifiedCadenceBuilder()
       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;
    • 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