Class DiscoveryTableModifiedCadence.Builder (3.58.0)

public static final class DiscoveryTableModifiedCadence.Builder extends GeneratedMessageV3.Builder<DiscoveryTableModifiedCadence.Builder> implements DiscoveryTableModifiedCadenceOrBuilder

The cadence at which to update data profiles when a table is modified.

Protobuf type google.privacy.dlp.v2.DiscoveryTableModifiedCadence

Static Methods

getDescriptor()

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

Methods

addAllTypes(Iterable<? extends BigQueryTableModification> values)

public DiscoveryTableModifiedCadence.Builder addAllTypes(Iterable<? extends BigQueryTableModification> values)

The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.

repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.BigQueryTableModification>

The types to add.

Returns
Type Description
DiscoveryTableModifiedCadence.Builder

This builder for chaining.

addAllTypesValue(Iterable<Integer> values)

public DiscoveryTableModifiedCadence.Builder addAllTypesValue(Iterable<Integer> values)

The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.

repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for types to add.

Returns
Type Description
DiscoveryTableModifiedCadence.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTypes(BigQueryTableModification value)

public DiscoveryTableModifiedCadence.Builder addTypes(BigQueryTableModification value)

The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.

repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;

Parameter
Name Description
value BigQueryTableModification

The types to add.

Returns
Type Description
DiscoveryTableModifiedCadence.Builder

This builder for chaining.

addTypesValue(int value)

public DiscoveryTableModifiedCadence.Builder addTypesValue(int value)

The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.

repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for types to add.

Returns
Type Description
DiscoveryTableModifiedCadence.Builder

This builder for chaining.

build()

public DiscoveryTableModifiedCadence build()
Returns
Type Description
DiscoveryTableModifiedCadence

buildPartial()

public DiscoveryTableModifiedCadence buildPartial()
Returns
Type Description
DiscoveryTableModifiedCadence

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFrequency()

public DiscoveryTableModifiedCadence.Builder clearFrequency()

How frequently data profiles can be updated when tables are modified. Defaults to never.

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

Returns
Type Description
DiscoveryTableModifiedCadence.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTypes()

public DiscoveryTableModifiedCadence.Builder clearTypes()

The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.

repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;

Returns
Type Description
DiscoveryTableModifiedCadence.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DiscoveryTableModifiedCadence getDefaultInstanceForType()
Returns
Type Description
DiscoveryTableModifiedCadence

getDescriptorForType()

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

getFrequency()

public DataProfileUpdateFrequency getFrequency()

How frequently data profiles can be updated when tables are modified. Defaults to never.

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

Returns
Type Description
DataProfileUpdateFrequency

The frequency.

getFrequencyValue()

public int getFrequencyValue()

How frequently data profiles can be updated when tables are modified. Defaults to never.

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

Returns
Type Description
int

The enum numeric value on the wire for frequency.

getTypes(int index)

public BigQueryTableModification getTypes(int index)

The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.

repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
BigQueryTableModification

The types at the given index.

getTypesCount()

public int getTypesCount()

The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.

repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;

Returns
Type Description
int

The count of types.

getTypesList()

public List<BigQueryTableModification> getTypesList()

The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.

repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;

Returns
Type Description
List<BigQueryTableModification>

A list containing the types.

getTypesValue(int index)

public int getTypesValue(int index)

The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.

repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of types at the given index.

getTypesValueList()

public List<Integer> getTypesValueList()

The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.

repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for types.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiscoveryTableModifiedCadence other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFrequency(DataProfileUpdateFrequency value)

public DiscoveryTableModifiedCadence.Builder setFrequency(DataProfileUpdateFrequency value)

How frequently data profiles can be updated when tables are modified. Defaults to never.

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

Parameter
Name Description
value DataProfileUpdateFrequency

The frequency to set.

Returns
Type Description
DiscoveryTableModifiedCadence.Builder

This builder for chaining.

setFrequencyValue(int value)

public DiscoveryTableModifiedCadence.Builder setFrequencyValue(int value)

How frequently data profiles can be updated when tables are modified. Defaults to never.

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

Parameter
Name Description
value int

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

Returns
Type Description
DiscoveryTableModifiedCadence.Builder

This builder for chaining.

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

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

setTypes(int index, BigQueryTableModification value)

public DiscoveryTableModifiedCadence.Builder setTypes(int index, BigQueryTableModification value)

The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.

repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;

Parameters
Name Description
index int

The index to set the value at.

value BigQueryTableModification

The types to set.

Returns
Type Description
DiscoveryTableModifiedCadence.Builder

This builder for chaining.

setTypesValue(int index, int value)

public DiscoveryTableModifiedCadence.Builder setTypesValue(int index, int value)

The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.

repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;

Parameters
Name Description
index int

The index to set the value at.

value int

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

Returns
Type Description
DiscoveryTableModifiedCadence.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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