Class DiscoveryOtherCloudGenerationCadence.Builder (3.87.0)

public static final class DiscoveryOtherCloudGenerationCadence.Builder extends GeneratedMessage.Builder<DiscoveryOtherCloudGenerationCadence.Builder> implements DiscoveryOtherCloudGenerationCadenceOrBuilder

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

Protobuf type google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence

Static Methods

getDescriptor()

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

Methods

build()

public DiscoveryOtherCloudGenerationCadence build()
Returns
Type Description
DiscoveryOtherCloudGenerationCadence

buildPartial()

public DiscoveryOtherCloudGenerationCadence buildPartial()
Returns
Type Description
DiscoveryOtherCloudGenerationCadence

clear()

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

clearInspectTemplateModifiedCadence()

public DiscoveryOtherCloudGenerationCadence.Builder clearInspectTemplateModifiedCadence()

Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DiscoveryOtherCloudGenerationCadence.Builder

clearRefreshFrequency()

public DiscoveryOtherCloudGenerationCadence.Builder clearRefreshFrequency()

Optional. Frequency to update profiles regardless of whether the underlying resource has changes. Defaults to never.

.google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DiscoveryOtherCloudGenerationCadence.Builder

This builder for chaining.

getDefaultInstanceForType()

public DiscoveryOtherCloudGenerationCadence getDefaultInstanceForType()
Returns
Type Description
DiscoveryOtherCloudGenerationCadence

getDescriptorForType()

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

getInspectTemplateModifiedCadence()

public DiscoveryInspectTemplateModifiedCadence getInspectTemplateModifiedCadence()

Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DiscoveryInspectTemplateModifiedCadence

The inspectTemplateModifiedCadence.

getInspectTemplateModifiedCadenceBuilder()

public DiscoveryInspectTemplateModifiedCadence.Builder getInspectTemplateModifiedCadenceBuilder()

Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DiscoveryInspectTemplateModifiedCadence.Builder

getInspectTemplateModifiedCadenceOrBuilder()

public DiscoveryInspectTemplateModifiedCadenceOrBuilder getInspectTemplateModifiedCadenceOrBuilder()

Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DiscoveryInspectTemplateModifiedCadenceOrBuilder

getRefreshFrequency()

public DataProfileUpdateFrequency getRefreshFrequency()

Optional. Frequency to update profiles regardless of whether the underlying resource has changes. Defaults to never.

.google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataProfileUpdateFrequency

The refreshFrequency.

getRefreshFrequencyValue()

public int getRefreshFrequencyValue()

Optional. Frequency to update profiles regardless of whether the underlying resource has changes. Defaults to never.

.google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for refreshFrequency.

hasInspectTemplateModifiedCadence()

public boolean hasInspectTemplateModifiedCadence()

Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the inspectTemplateModifiedCadence field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiscoveryOtherCloudGenerationCadence other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence value)

public DiscoveryOtherCloudGenerationCadence.Builder mergeInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence value)

Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DiscoveryInspectTemplateModifiedCadence
Returns
Type Description
DiscoveryOtherCloudGenerationCadence.Builder

setInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence value)

public DiscoveryOtherCloudGenerationCadence.Builder setInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence value)

Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DiscoveryInspectTemplateModifiedCadence
Returns
Type Description
DiscoveryOtherCloudGenerationCadence.Builder

setInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence.Builder builderForValue)

public DiscoveryOtherCloudGenerationCadence.Builder setInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence.Builder builderForValue)

Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

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

setRefreshFrequency(DataProfileUpdateFrequency value)

public DiscoveryOtherCloudGenerationCadence.Builder setRefreshFrequency(DataProfileUpdateFrequency value)

Optional. Frequency to update profiles regardless of whether the underlying resource has changes. Defaults to never.

.google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataProfileUpdateFrequency

The refreshFrequency to set.

Returns
Type Description
DiscoveryOtherCloudGenerationCadence.Builder

This builder for chaining.

setRefreshFrequencyValue(int value)

public DiscoveryOtherCloudGenerationCadence.Builder setRefreshFrequencyValue(int value)

Optional. Frequency to update profiles regardless of whether the underlying resource has changes. Defaults to never.

.google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
DiscoveryOtherCloudGenerationCadence.Builder

This builder for chaining.