Class DiscoveryGenerationCadence

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.DiscoveryGenerationCadence
All Implemented Interfaces:
DiscoveryGenerationCadenceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DiscoveryGenerationCadence extends com.google.protobuf.GeneratedMessage implements DiscoveryGenerationCadenceOrBuilder
 What must take place for a profile to be updated and how
 frequently it should occur.
 New tables are scanned as quickly as possible depending on system
 capacity.
 
Protobuf type google.privacy.dlp.v2.DiscoveryGenerationCadence
See Also:
  • Field Details

    • SCHEMA_MODIFIED_CADENCE_FIELD_NUMBER

      public static final int SCHEMA_MODIFIED_CADENCE_FIELD_NUMBER
      See Also:
    • TABLE_MODIFIED_CADENCE_FIELD_NUMBER

      public static final int TABLE_MODIFIED_CADENCE_FIELD_NUMBER
      See Also:
    • INSPECT_TEMPLATE_MODIFIED_CADENCE_FIELD_NUMBER

      public static final int INSPECT_TEMPLATE_MODIFIED_CADENCE_FIELD_NUMBER
      See Also:
    • REFRESH_FREQUENCY_FIELD_NUMBER

      public static final int REFRESH_FREQUENCY_FIELD_NUMBER
      See Also:
  • 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
    • hasSchemaModifiedCadence

      public boolean hasSchemaModifiedCadence()
       Governs when to update data profiles when a schema is modified.
       
      .google.privacy.dlp.v2.DiscoverySchemaModifiedCadence schema_modified_cadence = 1;
      Specified by:
      hasSchemaModifiedCadence in interface DiscoveryGenerationCadenceOrBuilder
      Returns:
      Whether the schemaModifiedCadence field is set.
    • getSchemaModifiedCadence

      public DiscoverySchemaModifiedCadence getSchemaModifiedCadence()
       Governs when to update data profiles when a schema is modified.
       
      .google.privacy.dlp.v2.DiscoverySchemaModifiedCadence schema_modified_cadence = 1;
      Specified by:
      getSchemaModifiedCadence in interface DiscoveryGenerationCadenceOrBuilder
      Returns:
      The schemaModifiedCadence.
    • getSchemaModifiedCadenceOrBuilder

      public DiscoverySchemaModifiedCadenceOrBuilder getSchemaModifiedCadenceOrBuilder()
       Governs when to update data profiles when a schema is modified.
       
      .google.privacy.dlp.v2.DiscoverySchemaModifiedCadence schema_modified_cadence = 1;
      Specified by:
      getSchemaModifiedCadenceOrBuilder in interface DiscoveryGenerationCadenceOrBuilder
    • hasTableModifiedCadence

      public boolean hasTableModifiedCadence()
       Governs when to update data profiles when a table is modified.
       
      .google.privacy.dlp.v2.DiscoveryTableModifiedCadence table_modified_cadence = 2;
      Specified by:
      hasTableModifiedCadence in interface DiscoveryGenerationCadenceOrBuilder
      Returns:
      Whether the tableModifiedCadence field is set.
    • getTableModifiedCadence

      public DiscoveryTableModifiedCadence getTableModifiedCadence()
       Governs when to update data profiles when a table is modified.
       
      .google.privacy.dlp.v2.DiscoveryTableModifiedCadence table_modified_cadence = 2;
      Specified by:
      getTableModifiedCadence in interface DiscoveryGenerationCadenceOrBuilder
      Returns:
      The tableModifiedCadence.
    • getTableModifiedCadenceOrBuilder

      public DiscoveryTableModifiedCadenceOrBuilder getTableModifiedCadenceOrBuilder()
       Governs when to update data profiles when a table is modified.
       
      .google.privacy.dlp.v2.DiscoveryTableModifiedCadence table_modified_cadence = 2;
      Specified by:
      getTableModifiedCadenceOrBuilder in interface DiscoveryGenerationCadenceOrBuilder
    • 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 DiscoveryGenerationCadenceOrBuilder
      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 DiscoveryGenerationCadenceOrBuilder
      Returns:
      The inspectTemplateModifiedCadence.
    • 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 DiscoveryGenerationCadenceOrBuilder
    • getRefreshFrequencyValue

      public int getRefreshFrequencyValue()
       Frequency at which profiles should be updated, regardless of whether the
       underlying resource has changed. Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 4;
      Specified by:
      getRefreshFrequencyValue in interface DiscoveryGenerationCadenceOrBuilder
      Returns:
      The enum numeric value on the wire for refreshFrequency.
    • getRefreshFrequency

      public DataProfileUpdateFrequency getRefreshFrequency()
       Frequency at which profiles should be updated, regardless of whether the
       underlying resource has changed. Defaults to never.
       
      .google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 4;
      Specified by:
      getRefreshFrequency in interface DiscoveryGenerationCadenceOrBuilder
      Returns:
      The refreshFrequency.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DiscoveryGenerationCadence parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryGenerationCadence parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryGenerationCadence parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryGenerationCadence parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryGenerationCadence parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryGenerationCadence parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryGenerationCadence parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiscoveryGenerationCadence parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DiscoveryGenerationCadence parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DiscoveryGenerationCadence parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiscoveryGenerationCadence parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiscoveryGenerationCadence parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DiscoveryGenerationCadence.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DiscoveryGenerationCadence.Builder newBuilder()
    • newBuilder

      public static DiscoveryGenerationCadence.Builder newBuilder(DiscoveryGenerationCadence prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DiscoveryGenerationCadence.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DiscoveryGenerationCadence getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DiscoveryGenerationCadence> parser()
    • getParserForType

      public com.google.protobuf.Parser<DiscoveryGenerationCadence> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DiscoveryGenerationCadence getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder