Class DiscoveryGenerationCadence.Builder (3.58.0)

public static final class DiscoveryGenerationCadence.Builder extends GeneratedMessageV3.Builder<DiscoveryGenerationCadence.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiscoveryGenerationCadence build()
Returns
Type Description
DiscoveryGenerationCadence

buildPartial()

public DiscoveryGenerationCadence buildPartial()
Returns
Type Description
DiscoveryGenerationCadence

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInspectTemplateModifiedCadence()

public DiscoveryGenerationCadence.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
DiscoveryGenerationCadence.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRefreshFrequency()

public DiscoveryGenerationCadence.Builder clearRefreshFrequency()

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
DiscoveryGenerationCadence.Builder

This builder for chaining.

clearSchemaModifiedCadence()

public DiscoveryGenerationCadence.Builder clearSchemaModifiedCadence()

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

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

Returns
Type Description
DiscoveryGenerationCadence.Builder

clearTableModifiedCadence()

public DiscoveryGenerationCadence.Builder clearTableModifiedCadence()

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

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

Returns
Type Description
DiscoveryGenerationCadence.Builder

clone()

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

getDefaultInstanceForType()

public DiscoveryGenerationCadence getDefaultInstanceForType()
Returns
Type Description
DiscoveryGenerationCadence

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

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.

getSchemaModifiedCadenceBuilder()

public DiscoverySchemaModifiedCadence.Builder getSchemaModifiedCadenceBuilder()

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

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

Returns
Type Description
DiscoverySchemaModifiedCadence.Builder

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

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.

getTableModifiedCadenceBuilder()

public DiscoveryTableModifiedCadence.Builder getTableModifiedCadenceBuilder()

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

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

Returns
Type Description
DiscoveryTableModifiedCadence.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiscoveryGenerationCadence other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence value)

public DiscoveryGenerationCadence.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
DiscoveryGenerationCadence.Builder

mergeSchemaModifiedCadence(DiscoverySchemaModifiedCadence value)

public DiscoveryGenerationCadence.Builder mergeSchemaModifiedCadence(DiscoverySchemaModifiedCadence value)

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

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

Parameter
Name Description
value DiscoverySchemaModifiedCadence
Returns
Type Description
DiscoveryGenerationCadence.Builder

mergeTableModifiedCadence(DiscoveryTableModifiedCadence value)

public DiscoveryGenerationCadence.Builder mergeTableModifiedCadence(DiscoveryTableModifiedCadence value)

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

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

Parameter
Name Description
value DiscoveryTableModifiedCadence
Returns
Type Description
DiscoveryGenerationCadence.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence value)

public DiscoveryGenerationCadence.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
DiscoveryGenerationCadence.Builder

setInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence.Builder builderForValue)

public DiscoveryGenerationCadence.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
DiscoveryGenerationCadence.Builder

setRefreshFrequency(DataProfileUpdateFrequency value)

public DiscoveryGenerationCadence.Builder setRefreshFrequency(DataProfileUpdateFrequency value)

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;

Parameter
Name Description
value DataProfileUpdateFrequency

The refreshFrequency to set.

Returns
Type Description
DiscoveryGenerationCadence.Builder

This builder for chaining.

setRefreshFrequencyValue(int value)

public DiscoveryGenerationCadence.Builder setRefreshFrequencyValue(int value)

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;

Parameter
Name Description
value int

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

Returns
Type Description
DiscoveryGenerationCadence.Builder

This builder for chaining.

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

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

setSchemaModifiedCadence(DiscoverySchemaModifiedCadence value)

public DiscoveryGenerationCadence.Builder setSchemaModifiedCadence(DiscoverySchemaModifiedCadence value)

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

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

Parameter
Name Description
value DiscoverySchemaModifiedCadence
Returns
Type Description
DiscoveryGenerationCadence.Builder

setSchemaModifiedCadence(DiscoverySchemaModifiedCadence.Builder builderForValue)

public DiscoveryGenerationCadence.Builder setSchemaModifiedCadence(DiscoverySchemaModifiedCadence.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue DiscoverySchemaModifiedCadence.Builder
Returns
Type Description
DiscoveryGenerationCadence.Builder

setTableModifiedCadence(DiscoveryTableModifiedCadence value)

public DiscoveryGenerationCadence.Builder setTableModifiedCadence(DiscoveryTableModifiedCadence value)

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

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

Parameter
Name Description
value DiscoveryTableModifiedCadence
Returns
Type Description
DiscoveryGenerationCadence.Builder

setTableModifiedCadence(DiscoveryTableModifiedCadence.Builder builderForValue)

public DiscoveryGenerationCadence.Builder setTableModifiedCadence(DiscoveryTableModifiedCadence.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue DiscoveryTableModifiedCadence.Builder
Returns
Type Description
DiscoveryGenerationCadence.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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