Class DiscoveryCloudStorageGenerationCadence.Builder

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

public static final class DiscoveryCloudStorageGenerationCadence.Builder extends com.google.protobuf.GeneratedMessage.Builder<DiscoveryCloudStorageGenerationCadence.Builder> implements DiscoveryCloudStorageGenerationCadenceOrBuilder
 How often existing buckets should have their profiles refreshed.
 New buckets are scanned as quickly as possible depending on system
 capacity.
 
Protobuf type google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence
  • 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<DiscoveryCloudStorageGenerationCadence.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<DiscoveryCloudStorageGenerationCadence.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<DiscoveryCloudStorageGenerationCadence.Builder>
    • getDefaultInstanceForType

      public DiscoveryCloudStorageGenerationCadence 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

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public DiscoveryCloudStorageGenerationCadence.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<DiscoveryCloudStorageGenerationCadence.Builder>
      Throws:
      IOException
    • getRefreshFrequencyValue

      public int getRefreshFrequencyValue()
       Optional. Data changes in Cloud Storage can't trigger reprofiling. If you
       set this field, profiles are refreshed at this frequency regardless of
       whether the underlying buckets have changed. Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRefreshFrequencyValue in interface DiscoveryCloudStorageGenerationCadenceOrBuilder
      Returns:
      The enum numeric value on the wire for refreshFrequency.
    • setRefreshFrequencyValue

      public DiscoveryCloudStorageGenerationCadence.Builder setRefreshFrequencyValue(int value)
       Optional. Data changes in Cloud Storage can't trigger reprofiling. If you
       set this field, profiles are refreshed at this frequency regardless of
       whether the underlying buckets have changed. Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for refreshFrequency to set.
      Returns:
      This builder for chaining.
    • getRefreshFrequency

      public DataProfileUpdateFrequency getRefreshFrequency()
       Optional. Data changes in Cloud Storage can't trigger reprofiling. If you
       set this field, profiles are refreshed at this frequency regardless of
       whether the underlying buckets have changed. Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRefreshFrequency in interface DiscoveryCloudStorageGenerationCadenceOrBuilder
      Returns:
      The refreshFrequency.
    • setRefreshFrequency

       Optional. Data changes in Cloud Storage can't trigger reprofiling. If you
       set this field, profiles are refreshed at this frequency regardless of
       whether the underlying buckets have changed. Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The refreshFrequency to set.
      Returns:
      This builder for chaining.
    • clearRefreshFrequency

      public DiscoveryCloudStorageGenerationCadence.Builder clearRefreshFrequency()
       Optional. Data changes in Cloud Storage can't trigger reprofiling. If you
       set this field, profiles are refreshed at this frequency regardless of
       whether the underlying buckets have changed. Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasInspectTemplateModifiedCadence

      public boolean hasInspectTemplateModifiedCadence()
       Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasInspectTemplateModifiedCadence in interface DiscoveryCloudStorageGenerationCadenceOrBuilder
      Returns:
      Whether the inspectTemplateModifiedCadence field is set.
    • getInspectTemplateModifiedCadence

      public DiscoveryInspectTemplateModifiedCadence getInspectTemplateModifiedCadence()
       Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInspectTemplateModifiedCadence in interface DiscoveryCloudStorageGenerationCadenceOrBuilder
      Returns:
      The inspectTemplateModifiedCadence.
    • setInspectTemplateModifiedCadence

       Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setInspectTemplateModifiedCadence

      public DiscoveryCloudStorageGenerationCadence.Builder setInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence.Builder builderForValue)
       Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeInspectTemplateModifiedCadence

       Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearInspectTemplateModifiedCadence

      public DiscoveryCloudStorageGenerationCadence.Builder clearInspectTemplateModifiedCadence()
       Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getInspectTemplateModifiedCadenceBuilder

      public DiscoveryInspectTemplateModifiedCadence.Builder getInspectTemplateModifiedCadenceBuilder()
       Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getInspectTemplateModifiedCadenceOrBuilder

      public DiscoveryInspectTemplateModifiedCadenceOrBuilder getInspectTemplateModifiedCadenceOrBuilder()
       Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInspectTemplateModifiedCadenceOrBuilder in interface DiscoveryCloudStorageGenerationCadenceOrBuilder