Class DiscoverySchemaModifiedCadence.Builder

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

public static final class DiscoverySchemaModifiedCadence.Builder extends com.google.protobuf.GeneratedMessage.Builder<DiscoverySchemaModifiedCadence.Builder> implements DiscoverySchemaModifiedCadenceOrBuilder
 The cadence at which to update data profiles when a schema is modified.
 
Protobuf type google.privacy.dlp.v2.DiscoverySchemaModifiedCadence
  • 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<DiscoverySchemaModifiedCadence.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<DiscoverySchemaModifiedCadence.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<DiscoverySchemaModifiedCadence.Builder>
    • getDefaultInstanceForType

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

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

      public DiscoverySchemaModifiedCadence.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<DiscoverySchemaModifiedCadence.Builder>
      Throws:
      IOException
    • getTypesList

      public List<BigQuerySchemaModification> getTypesList()
       The type of events to consider when deciding if the table's schema
       has been modified and should have the profile updated. Defaults to
       NEW_COLUMNS.
       
      repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;
      Specified by:
      getTypesList in interface DiscoverySchemaModifiedCadenceOrBuilder
      Returns:
      A list containing the types.
    • getTypesCount

      public int getTypesCount()
       The type of events to consider when deciding if the table's schema
       has been modified and should have the profile updated. Defaults to
       NEW_COLUMNS.
       
      repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;
      Specified by:
      getTypesCount in interface DiscoverySchemaModifiedCadenceOrBuilder
      Returns:
      The count of types.
    • getTypes

      public BigQuerySchemaModification getTypes(int index)
       The type of events to consider when deciding if the table's schema
       has been modified and should have the profile updated. Defaults to
       NEW_COLUMNS.
       
      repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;
      Specified by:
      getTypes in interface DiscoverySchemaModifiedCadenceOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The types at the given index.
    • setTypes

       The type of events to consider when deciding if the table's schema
       has been modified and should have the profile updated. Defaults to
       NEW_COLUMNS.
       
      repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;
      Parameters:
      index - The index to set the value at.
      value - The types to set.
      Returns:
      This builder for chaining.
    • addTypes

       The type of events to consider when deciding if the table's schema
       has been modified and should have the profile updated. Defaults to
       NEW_COLUMNS.
       
      repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;
      Parameters:
      value - The types to add.
      Returns:
      This builder for chaining.
    • addAllTypes

       The type of events to consider when deciding if the table's schema
       has been modified and should have the profile updated. Defaults to
       NEW_COLUMNS.
       
      repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;
      Parameters:
      values - The types to add.
      Returns:
      This builder for chaining.
    • clearTypes

       The type of events to consider when deciding if the table's schema
       has been modified and should have the profile updated. Defaults to
       NEW_COLUMNS.
       
      repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;
      Returns:
      This builder for chaining.
    • getTypesValueList

      public List<Integer> getTypesValueList()
       The type of events to consider when deciding if the table's schema
       has been modified and should have the profile updated. Defaults to
       NEW_COLUMNS.
       
      repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;
      Specified by:
      getTypesValueList in interface DiscoverySchemaModifiedCadenceOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for types.
    • getTypesValue

      public int getTypesValue(int index)
       The type of events to consider when deciding if the table's schema
       has been modified and should have the profile updated. Defaults to
       NEW_COLUMNS.
       
      repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;
      Specified by:
      getTypesValue in interface DiscoverySchemaModifiedCadenceOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of types at the given index.
    • setTypesValue

      public DiscoverySchemaModifiedCadence.Builder setTypesValue(int index, int value)
       The type of events to consider when deciding if the table's schema
       has been modified and should have the profile updated. Defaults to
       NEW_COLUMNS.
       
      repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for types to set.
      Returns:
      This builder for chaining.
    • addTypesValue

      public DiscoverySchemaModifiedCadence.Builder addTypesValue(int value)
       The type of events to consider when deciding if the table's schema
       has been modified and should have the profile updated. Defaults to
       NEW_COLUMNS.
       
      repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;
      Parameters:
      value - The enum numeric value on the wire for types to add.
      Returns:
      This builder for chaining.
    • addAllTypesValue

      public DiscoverySchemaModifiedCadence.Builder addAllTypesValue(Iterable<Integer> values)
       The type of events to consider when deciding if the table's schema
       has been modified and should have the profile updated. Defaults to
       NEW_COLUMNS.
       
      repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;
      Parameters:
      values - The enum numeric values on the wire for types to add.
      Returns:
      This builder for chaining.
    • getFrequencyValue

      public int getFrequencyValue()
       How frequently profiles may be updated when schemas are
       modified. Defaults to monthly.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;
      Specified by:
      getFrequencyValue in interface DiscoverySchemaModifiedCadenceOrBuilder
      Returns:
      The enum numeric value on the wire for frequency.
    • setFrequencyValue

      public DiscoverySchemaModifiedCadence.Builder setFrequencyValue(int value)
       How frequently profiles may be updated when schemas are
       modified. Defaults to monthly.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;
      Parameters:
      value - The enum numeric value on the wire for frequency to set.
      Returns:
      This builder for chaining.
    • getFrequency

      public DataProfileUpdateFrequency getFrequency()
       How frequently profiles may be updated when schemas are
       modified. Defaults to monthly.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;
      Specified by:
      getFrequency in interface DiscoverySchemaModifiedCadenceOrBuilder
      Returns:
      The frequency.
    • setFrequency

       How frequently profiles may be updated when schemas are
       modified. Defaults to monthly.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;
      Parameters:
      value - The frequency to set.
      Returns:
      This builder for chaining.
    • clearFrequency

      public DiscoverySchemaModifiedCadence.Builder clearFrequency()
       How frequently profiles may be updated when schemas are
       modified. Defaults to monthly.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;
      Returns:
      This builder for chaining.