Class DiscoveryCloudSqlGenerationCadence.Builder (3.55.0)

public static final class DiscoveryCloudSqlGenerationCadence.Builder extends GeneratedMessageV3.Builder<DiscoveryCloudSqlGenerationCadence.Builder> implements DiscoveryCloudSqlGenerationCadenceOrBuilder

How often existing tables should have their profiles refreshed. New tables are scanned as quickly as possible depending on system capacity.

Protobuf type google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryCloudSqlGenerationCadence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder
Overrides

build()

public DiscoveryCloudSqlGenerationCadence build()
Returns
Type Description
DiscoveryCloudSqlGenerationCadence

buildPartial()

public DiscoveryCloudSqlGenerationCadence buildPartial()
Returns
Type Description
DiscoveryCloudSqlGenerationCadence

clear()

public DiscoveryCloudSqlGenerationCadence.Builder clear()
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DiscoveryCloudSqlGenerationCadence.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder
Overrides

clearInspectTemplateModifiedCadence()

public DiscoveryCloudSqlGenerationCadence.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 update.

.google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 3;

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscoveryCloudSqlGenerationCadence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder
Overrides

clearRefreshFrequency()

public DiscoveryCloudSqlGenerationCadence.Builder clearRefreshFrequency()

Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changed. Defaults to never.

.google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 2;

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder

This builder for chaining.

clearSchemaModifiedCadence()

public DiscoveryCloudSqlGenerationCadence.Builder clearSchemaModifiedCadence()

When to reprofile if the schema has changed.

.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder

clone()

public DiscoveryCloudSqlGenerationCadence.Builder clone()
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder
Overrides

getDefaultInstanceForType()

public DiscoveryCloudSqlGenerationCadence getDefaultInstanceForType()
Returns
Type Description
DiscoveryCloudSqlGenerationCadence

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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 update.

.google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 3;

Returns
Type Description
DiscoveryInspectTemplateModifiedCadence.Builder

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

getRefreshFrequency()

public DataProfileUpdateFrequency getRefreshFrequency()

Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changed. Defaults to never.

.google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 2;

Returns
Type Description
DataProfileUpdateFrequency

The refreshFrequency.

getRefreshFrequencyValue()

public int getRefreshFrequencyValue()

Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changed. Defaults to never.

.google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 2;

Returns
Type Description
int

The enum numeric value on the wire for refreshFrequency.

getSchemaModifiedCadence()

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence getSchemaModifiedCadence()

When to reprofile if the schema has changed.

.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence

The schemaModifiedCadence.

getSchemaModifiedCadenceBuilder()

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder getSchemaModifiedCadenceBuilder()

When to reprofile if the schema has changed.

.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder

getSchemaModifiedCadenceOrBuilder()

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadenceOrBuilder getSchemaModifiedCadenceOrBuilder()

When to reprofile if the schema has changed.

.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadenceOrBuilder

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()

When to reprofile if the schema has changed.

.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;

Returns
Type Description
boolean

Whether the schemaModifiedCadence field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiscoveryCloudSqlGenerationCadence other)

public DiscoveryCloudSqlGenerationCadence.Builder mergeFrom(DiscoveryCloudSqlGenerationCadence other)
Parameter
Name Description
other DiscoveryCloudSqlGenerationCadence
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoveryCloudSqlGenerationCadence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DiscoveryCloudSqlGenerationCadence.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder
Overrides

mergeInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence value)

public DiscoveryCloudSqlGenerationCadence.Builder mergeInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence value)

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;

Parameter
Name Description
value DiscoveryInspectTemplateModifiedCadence
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder

mergeSchemaModifiedCadence(DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence value)

public DiscoveryCloudSqlGenerationCadence.Builder mergeSchemaModifiedCadence(DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence value)

When to reprofile if the schema has changed.

.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;

Parameter
Name Description
value DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryCloudSqlGenerationCadence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryCloudSqlGenerationCadence.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder
Overrides

setInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence value)

public DiscoveryCloudSqlGenerationCadence.Builder setInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence value)

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;

Parameter
Name Description
value DiscoveryInspectTemplateModifiedCadence
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder

setInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence.Builder builderForValue)

public DiscoveryCloudSqlGenerationCadence.Builder setInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence.Builder builderForValue)

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;

Parameter
Name Description
builderForValue DiscoveryInspectTemplateModifiedCadence.Builder
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder

setRefreshFrequency(DataProfileUpdateFrequency value)

public DiscoveryCloudSqlGenerationCadence.Builder setRefreshFrequency(DataProfileUpdateFrequency value)

Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changed. Defaults to never.

.google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 2;

Parameter
Name Description
value DataProfileUpdateFrequency

The refreshFrequency to set.

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder

This builder for chaining.

setRefreshFrequencyValue(int value)

public DiscoveryCloudSqlGenerationCadence.Builder setRefreshFrequencyValue(int value)

Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changed. Defaults to never.

.google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for refreshFrequency to set.

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DiscoveryCloudSqlGenerationCadence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder
Overrides

setSchemaModifiedCadence(DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence value)

public DiscoveryCloudSqlGenerationCadence.Builder setSchemaModifiedCadence(DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence value)

When to reprofile if the schema has changed.

.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;

Parameter
Name Description
value DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder

setSchemaModifiedCadence(DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder builderForValue)

public DiscoveryCloudSqlGenerationCadence.Builder setSchemaModifiedCadence(DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder builderForValue)

When to reprofile if the schema has changed.

.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence schema_modified_cadence = 1;

Parameter
Name Description
builderForValue DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryCloudSqlGenerationCadence.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.Builder
Overrides