Class DiscoveryCloudStorageGenerationCadence.Builder (3.53.0)

public static final class DiscoveryCloudStorageGenerationCadence.Builder extends GeneratedMessageV3.Builder<DiscoveryCloudStorageGenerationCadence.Builder> implements DiscoveryCloudStorageGenerationCadenceOrBuilder

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

Protobuf type google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiscoveryCloudStorageGenerationCadence build()
Returns
Type Description
DiscoveryCloudStorageGenerationCadence

buildPartial()

public DiscoveryCloudStorageGenerationCadence buildPartial()
Returns
Type Description
DiscoveryCloudStorageGenerationCadence

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInspectTemplateModifiedCadence()

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRefreshFrequency()

public DiscoveryCloudStorageGenerationCadence.Builder clearRefreshFrequency()

Optional. Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changed. Defaults to never.

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

Returns
Type Description
DiscoveryCloudStorageGenerationCadence.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DiscoveryCloudStorageGenerationCadence getDefaultInstanceForType()
Returns
Type Description
DiscoveryCloudStorageGenerationCadence

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. Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changed. 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. Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changed. 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiscoveryCloudStorageGenerationCadence other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence value)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence value)

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

setInspectTemplateModifiedCadence(DiscoveryInspectTemplateModifiedCadence.Builder builderForValue)

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

setRefreshFrequency(DataProfileUpdateFrequency value)

public DiscoveryCloudStorageGenerationCadence.Builder setRefreshFrequency(DataProfileUpdateFrequency value)

Optional. Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changed. 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
DiscoveryCloudStorageGenerationCadence.Builder

This builder for chaining.

setRefreshFrequencyValue(int value)

public DiscoveryCloudStorageGenerationCadence.Builder setRefreshFrequencyValue(int value)

Optional. Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changed. 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
DiscoveryCloudStorageGenerationCadence.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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