Class DiscoveryGenerationCadence (3.57.0)

public final class DiscoveryGenerationCadence extends GeneratedMessageV3 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

Static Fields

INSPECT_TEMPLATE_MODIFIED_CADENCE_FIELD_NUMBER

public static final int INSPECT_TEMPLATE_MODIFIED_CADENCE_FIELD_NUMBER
Field Value
Type Description
int

REFRESH_FREQUENCY_FIELD_NUMBER

public static final int REFRESH_FREQUENCY_FIELD_NUMBER
Field Value
Type Description
int

SCHEMA_MODIFIED_CADENCE_FIELD_NUMBER

public static final int SCHEMA_MODIFIED_CADENCE_FIELD_NUMBER
Field Value
Type Description
int

TABLE_MODIFIED_CADENCE_FIELD_NUMBER

public static final int TABLE_MODIFIED_CADENCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DiscoveryGenerationCadence getDefaultInstance()
Returns
Type Description
DiscoveryGenerationCadence

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DiscoveryGenerationCadence.Builder newBuilder()
Returns
Type Description
DiscoveryGenerationCadence.Builder

newBuilder(DiscoveryGenerationCadence prototype)

public static DiscoveryGenerationCadence.Builder newBuilder(DiscoveryGenerationCadence prototype)
Parameter
Name Description
prototype DiscoveryGenerationCadence
Returns
Type Description
DiscoveryGenerationCadence.Builder

parseDelimitedFrom(InputStream input)

public static DiscoveryGenerationCadence parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DiscoveryGenerationCadence
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryGenerationCadence parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryGenerationCadence
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DiscoveryGenerationCadence parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DiscoveryGenerationCadence
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryGenerationCadence parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryGenerationCadence
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DiscoveryGenerationCadence parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DiscoveryGenerationCadence
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryGenerationCadence parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryGenerationCadence
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DiscoveryGenerationCadence parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DiscoveryGenerationCadence
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryGenerationCadence parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryGenerationCadence
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DiscoveryGenerationCadence parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DiscoveryGenerationCadence
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryGenerationCadence parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryGenerationCadence
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DiscoveryGenerationCadence parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DiscoveryGenerationCadence
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryGenerationCadence parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryGenerationCadence
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DiscoveryGenerationCadence> parser()
Returns
Type Description
Parser<DiscoveryGenerationCadence>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DiscoveryGenerationCadence getDefaultInstanceForType()
Returns
Type Description
DiscoveryGenerationCadence

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;

Returns
Type Description
DiscoveryInspectTemplateModifiedCadence

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;

Returns
Type Description
DiscoveryInspectTemplateModifiedCadenceOrBuilder

getParserForType()

public Parser<DiscoveryGenerationCadence> getParserForType()
Returns
Type Description
Parser<DiscoveryGenerationCadence>
Overrides

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;

Returns
Type Description
DataProfileUpdateFrequency

The refreshFrequency.

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;

Returns
Type Description
int

The enum numeric value on the wire for refreshFrequency.

getSchemaModifiedCadence()

public DiscoverySchemaModifiedCadence getSchemaModifiedCadence()

Governs when to update data profiles when a schema is modified.

.google.privacy.dlp.v2.DiscoverySchemaModifiedCadence schema_modified_cadence = 1;

Returns
Type Description
DiscoverySchemaModifiedCadence

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;

Returns
Type Description
DiscoverySchemaModifiedCadenceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTableModifiedCadence()

public DiscoveryTableModifiedCadence getTableModifiedCadence()

Governs when to update data profiles when a table is modified.

.google.privacy.dlp.v2.DiscoveryTableModifiedCadence table_modified_cadence = 2;

Returns
Type Description
DiscoveryTableModifiedCadence

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;

Returns
Type Description
DiscoveryTableModifiedCadenceOrBuilder

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;

Returns
Type Description
boolean

Whether the inspectTemplateModifiedCadence field is set.

hasSchemaModifiedCadence()

public boolean hasSchemaModifiedCadence()

Governs when to update data profiles when a schema is modified.

.google.privacy.dlp.v2.DiscoverySchemaModifiedCadence schema_modified_cadence = 1;

Returns
Type Description
boolean

Whether the schemaModifiedCadence field is set.

hasTableModifiedCadence()

public boolean hasTableModifiedCadence()

Governs when to update data profiles when a table is modified.

.google.privacy.dlp.v2.DiscoveryTableModifiedCadence table_modified_cadence = 2;

Returns
Type Description
boolean

Whether the tableModifiedCadence field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DiscoveryGenerationCadence.Builder newBuilderForType()
Returns
Type Description
DiscoveryGenerationCadence.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DiscoveryGenerationCadence.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DiscoveryGenerationCadence.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DiscoveryGenerationCadence.Builder toBuilder()
Returns
Type Description
DiscoveryGenerationCadence.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException