Class DiscoveryInspectTemplateModifiedCadence.Builder (3.58.0)

public static final class DiscoveryInspectTemplateModifiedCadence.Builder extends GeneratedMessageV3.Builder<DiscoveryInspectTemplateModifiedCadence.Builder> implements DiscoveryInspectTemplateModifiedCadenceOrBuilder

The cadence at which to update data profiles when the inspection rules defined by the InspectTemplate change.

Protobuf type google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiscoveryInspectTemplateModifiedCadence build()
Returns
Type Description
DiscoveryInspectTemplateModifiedCadence

buildPartial()

public DiscoveryInspectTemplateModifiedCadence buildPartial()
Returns
Type Description
DiscoveryInspectTemplateModifiedCadence

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFrequency()

public DiscoveryInspectTemplateModifiedCadence.Builder clearFrequency()

How frequently data profiles can be updated when the template is modified. Defaults to never.

.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 1;

Returns
Type Description
DiscoveryInspectTemplateModifiedCadence.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DiscoveryInspectTemplateModifiedCadence getDefaultInstanceForType()
Returns
Type Description
DiscoveryInspectTemplateModifiedCadence

getDescriptorForType()

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

getFrequency()

public DataProfileUpdateFrequency getFrequency()

How frequently data profiles can be updated when the template is modified. Defaults to never.

.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 1;

Returns
Type Description
DataProfileUpdateFrequency

The frequency.

getFrequencyValue()

public int getFrequencyValue()

How frequently data profiles can be updated when the template is modified. Defaults to never.

.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 1;

Returns
Type Description
int

The enum numeric value on the wire for frequency.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiscoveryInspectTemplateModifiedCadence other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFrequency(DataProfileUpdateFrequency value)

public DiscoveryInspectTemplateModifiedCadence.Builder setFrequency(DataProfileUpdateFrequency value)

How frequently data profiles can be updated when the template is modified. Defaults to never.

.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 1;

Parameter
Name Description
value DataProfileUpdateFrequency

The frequency to set.

Returns
Type Description
DiscoveryInspectTemplateModifiedCadence.Builder

This builder for chaining.

setFrequencyValue(int value)

public DiscoveryInspectTemplateModifiedCadence.Builder setFrequencyValue(int value)

How frequently data profiles can be updated when the template is modified. Defaults to never.

.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 1;

Parameter
Name Description
value int

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

Returns
Type Description
DiscoveryInspectTemplateModifiedCadence.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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