Class DiscoveryVertexDatasetGenerationCadence.Builder

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

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

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

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

      public int getRefreshFrequencyValue()
       If you set this field, profiles are refreshed at this
       frequency regardless of whether the underlying datasets have changed.
       Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 1;
      Specified by:
      getRefreshFrequencyValue in interface DiscoveryVertexDatasetGenerationCadenceOrBuilder
      Returns:
      The enum numeric value on the wire for refreshFrequency.
    • setRefreshFrequencyValue

      public DiscoveryVertexDatasetGenerationCadence.Builder setRefreshFrequencyValue(int value)
       If you set this field, profiles are refreshed at this
       frequency regardless of whether the underlying datasets have changed.
       Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 1;
      Parameters:
      value - The enum numeric value on the wire for refreshFrequency to set.
      Returns:
      This builder for chaining.
    • getRefreshFrequency

      public DataProfileUpdateFrequency getRefreshFrequency()
       If you set this field, profiles are refreshed at this
       frequency regardless of whether the underlying datasets have changed.
       Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 1;
      Specified by:
      getRefreshFrequency in interface DiscoveryVertexDatasetGenerationCadenceOrBuilder
      Returns:
      The refreshFrequency.
    • setRefreshFrequency

       If you set this field, profiles are refreshed at this
       frequency regardless of whether the underlying datasets have changed.
       Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 1;
      Parameters:
      value - The refreshFrequency to set.
      Returns:
      This builder for chaining.
    • clearRefreshFrequency

      public DiscoveryVertexDatasetGenerationCadence.Builder clearRefreshFrequency()
       If you set this field, profiles are refreshed at this
       frequency regardless of whether the underlying datasets have changed.
       Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 1;
      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 be
       updated.
       
      .google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 2;
      Specified by:
      hasInspectTemplateModifiedCadence in interface DiscoveryVertexDatasetGenerationCadenceOrBuilder
      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 be
       updated.
       
      .google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 2;
      Specified by:
      getInspectTemplateModifiedCadence in interface DiscoveryVertexDatasetGenerationCadenceOrBuilder
      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 be
       updated.
       
      .google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 2;
    • 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 be
       updated.
       
      .google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 2;
    • mergeInspectTemplateModifiedCadence

       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 be
       updated.
       
      .google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 2;
    • clearInspectTemplateModifiedCadence

      public DiscoveryVertexDatasetGenerationCadence.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 be
       updated.
       
      .google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 2;
    • 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 be
       updated.
       
      .google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 2;
    • 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 be
       updated.
       
      .google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 2;
      Specified by:
      getInspectTemplateModifiedCadenceOrBuilder in interface DiscoveryVertexDatasetGenerationCadenceOrBuilder