Class DiscoveryOtherCloudGenerationCadence.Builder (3.57.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public DiscoveryOtherCloudGenerationCadence.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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