Class DiscoveryTableModifiedCadence.Builder (3.40.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.BigQueryTableModification>

The types to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<Integer>

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

Returns
TypeDescription
DiscoveryTableModifiedCadence.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryTableModifiedCadence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueBigQueryTableModification

The types to add.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
DiscoveryTableModifiedCadence.Builder

This builder for chaining.

build()

public DiscoveryTableModifiedCadence build()
Returns
TypeDescription
DiscoveryTableModifiedCadence

buildPartial()

public DiscoveryTableModifiedCadence buildPartial()
Returns
TypeDescription
DiscoveryTableModifiedCadence

clear()

public DiscoveryTableModifiedCadence.Builder clear()
Returns
TypeDescription
DiscoveryTableModifiedCadence.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DiscoveryTableModifiedCadence.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DiscoveryTableModifiedCadence.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscoveryTableModifiedCadence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DiscoveryTableModifiedCadence.Builder

This builder for chaining.

clone()

public DiscoveryTableModifiedCadence.Builder clone()
Returns
TypeDescription
DiscoveryTableModifiedCadence.Builder
Overrides

getDefaultInstanceForType()

public DiscoveryTableModifiedCadence getDefaultInstanceForType()
Returns
TypeDescription
DiscoveryTableModifiedCadence

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
List<Integer>

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DiscoveryTableModifiedCadence other)

public DiscoveryTableModifiedCadence.Builder mergeFrom(DiscoveryTableModifiedCadence other)
Parameter
NameDescription
otherDiscoveryTableModifiedCadence
Returns
TypeDescription
DiscoveryTableModifiedCadence.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoveryTableModifiedCadence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryTableModifiedCadence.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DiscoveryTableModifiedCadence.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DiscoveryTableModifiedCadence.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryTableModifiedCadence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiscoveryTableModifiedCadence.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryTableModifiedCadence.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDataProfileUpdateFrequency

The frequency to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueBigQueryTableModification

The types to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueint

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

Returns
TypeDescription
DiscoveryTableModifiedCadence.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryTableModifiedCadence.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiscoveryTableModifiedCadence.Builder
Overrides