Class DiscoveryTableModifiedCadence.Builder

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

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

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

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

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

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

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

      public BigQueryTableModification getTypes(int index)
       The type of events to consider when deciding if the table has been
       modified and should have the profile updated. Defaults to
       MODIFIED_TIMESTAMP.
       
      repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;
      Specified by:
      getTypes in interface DiscoveryTableModifiedCadenceOrBuilder
      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 has been
       modified and should have the profile updated. Defaults to
       MODIFIED_TIMESTAMP.
       
      repeated .google.privacy.dlp.v2.BigQueryTableModification 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 has been
       modified and should have the profile updated. Defaults to
       MODIFIED_TIMESTAMP.
       
      repeated .google.privacy.dlp.v2.BigQueryTableModification 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 has been
       modified and should have the profile updated. Defaults to
       MODIFIED_TIMESTAMP.
       
      repeated .google.privacy.dlp.v2.BigQueryTableModification 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 has been
       modified and should have the profile updated. Defaults to
       MODIFIED_TIMESTAMP.
       
      repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;
      Returns:
      This builder for chaining.
    • getTypesValueList

      public List<Integer> getTypesValueList()
       The type of events to consider when deciding if the table has been
       modified and should have the profile updated. Defaults to
       MODIFIED_TIMESTAMP.
       
      repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;
      Specified by:
      getTypesValueList in interface DiscoveryTableModifiedCadenceOrBuilder
      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 has been
       modified and should have the profile updated. Defaults to
       MODIFIED_TIMESTAMP.
       
      repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;
      Specified by:
      getTypesValue in interface DiscoveryTableModifiedCadenceOrBuilder
      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 DiscoveryTableModifiedCadence.Builder setTypesValue(int index, int value)
       The type of events to consider when deciding if the table has been
       modified and should have the profile updated. Defaults to
       MODIFIED_TIMESTAMP.
       
      repeated .google.privacy.dlp.v2.BigQueryTableModification 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 DiscoveryTableModifiedCadence.Builder addTypesValue(int value)
       The type of events to consider when deciding if the table has been
       modified and should have the profile updated. Defaults to
       MODIFIED_TIMESTAMP.
       
      repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;
      Parameters:
      value - The enum numeric value on the wire for types to add.
      Returns:
      This builder for chaining.
    • addAllTypesValue

      public DiscoveryTableModifiedCadence.Builder addAllTypesValue(Iterable<Integer> values)
       The type of events to consider when deciding if the table has been
       modified and should have the profile updated. Defaults to
       MODIFIED_TIMESTAMP.
       
      repeated .google.privacy.dlp.v2.BigQueryTableModification 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 data profiles can be updated when tables are modified.
       Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;
      Specified by:
      getFrequencyValue in interface DiscoveryTableModifiedCadenceOrBuilder
      Returns:
      The enum numeric value on the wire for frequency.
    • setFrequencyValue

      public DiscoveryTableModifiedCadence.Builder setFrequencyValue(int value)
       How frequently data profiles can be updated when tables are modified.
       Defaults to never.
       
      .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 data profiles can be updated when tables are modified.
       Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;
      Specified by:
      getFrequency in interface DiscoveryTableModifiedCadenceOrBuilder
      Returns:
      The frequency.
    • setFrequency

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

      public DiscoveryTableModifiedCadence.Builder clearFrequency()
       How frequently data profiles can be updated when tables are modified.
       Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;
      Returns:
      This builder for chaining.