Class DiscoverySchemaModifiedCadence.Builder (3.49.0)

public static final class DiscoverySchemaModifiedCadence.Builder extends GeneratedMessageV3.Builder<DiscoverySchemaModifiedCadence.Builder> implements DiscoverySchemaModifiedCadenceOrBuilder

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

Protobuf type google.privacy.dlp.v2.DiscoverySchemaModifiedCadence

Static Methods

getDescriptor()

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

Methods

addAllTypes(Iterable<? extends BigQuerySchemaModification> values)

public DiscoverySchemaModifiedCadence.Builder addAllTypes(Iterable<? extends BigQuerySchemaModification> values)

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

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

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

The types to add.

Returns
Type Description
DiscoverySchemaModifiedCadence.Builder

This builder for chaining.

addAllTypesValue(Iterable<Integer> values)

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

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

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

Parameter
Name Description
values Iterable<Integer>

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

Returns
Type Description
DiscoverySchemaModifiedCadence.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTypes(BigQuerySchemaModification value)

public DiscoverySchemaModifiedCadence.Builder addTypes(BigQuerySchemaModification value)

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

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

Parameter
Name Description
value BigQuerySchemaModification

The types to add.

Returns
Type Description
DiscoverySchemaModifiedCadence.Builder

This builder for chaining.

addTypesValue(int value)

public DiscoverySchemaModifiedCadence.Builder addTypesValue(int value)

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

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

Parameter
Name Description
value int

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

Returns
Type Description
DiscoverySchemaModifiedCadence.Builder

This builder for chaining.

build()

public DiscoverySchemaModifiedCadence build()
Returns
Type Description
DiscoverySchemaModifiedCadence

buildPartial()

public DiscoverySchemaModifiedCadence buildPartial()
Returns
Type Description
DiscoverySchemaModifiedCadence

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFrequency()

public DiscoverySchemaModifiedCadence.Builder clearFrequency()

How frequently profiles may be updated when schemas are modified. Defaults to monthly.

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

Returns
Type Description
DiscoverySchemaModifiedCadence.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTypes()

public DiscoverySchemaModifiedCadence.Builder clearTypes()

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

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

Returns
Type Description
DiscoverySchemaModifiedCadence.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DiscoverySchemaModifiedCadence getDefaultInstanceForType()
Returns
Type Description
DiscoverySchemaModifiedCadence

getDescriptorForType()

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

getFrequency()

public DataProfileUpdateFrequency getFrequency()

How frequently profiles may be updated when schemas are modified. Defaults to monthly.

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

Returns
Type Description
DataProfileUpdateFrequency

The frequency.

getFrequencyValue()

public int getFrequencyValue()

How frequently profiles may be updated when schemas are modified. Defaults to monthly.

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

Returns
Type Description
int

The enum numeric value on the wire for frequency.

getTypes(int index)

public BigQuerySchemaModification getTypes(int index)

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

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
BigQuerySchemaModification

The types at the given index.

getTypesCount()

public int getTypesCount()

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

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

Returns
Type Description
int

The count of types.

getTypesList()

public List<BigQuerySchemaModification> getTypesList()

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

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

Returns
Type Description
List<BigQuerySchemaModification>

A list containing the types.

getTypesValue(int index)

public int getTypesValue(int index)

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

repeated .google.privacy.dlp.v2.BigQuerySchemaModification 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's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.

repeated .google.privacy.dlp.v2.BigQuerySchemaModification 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(DiscoverySchemaModifiedCadence other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFrequency(DataProfileUpdateFrequency value)

public DiscoverySchemaModifiedCadence.Builder setFrequency(DataProfileUpdateFrequency value)

How frequently profiles may be updated when schemas are modified. Defaults to monthly.

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

Parameter
Name Description
value DataProfileUpdateFrequency

The frequency to set.

Returns
Type Description
DiscoverySchemaModifiedCadence.Builder

This builder for chaining.

setFrequencyValue(int value)

public DiscoverySchemaModifiedCadence.Builder setFrequencyValue(int value)

How frequently profiles may be updated when schemas are modified. Defaults to monthly.

.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
DiscoverySchemaModifiedCadence.Builder

This builder for chaining.

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

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

setTypes(int index, BigQuerySchemaModification value)

public DiscoverySchemaModifiedCadence.Builder setTypes(int index, BigQuerySchemaModification value)

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

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

Parameters
Name Description
index int

The index to set the value at.

value BigQuerySchemaModification

The types to set.

Returns
Type Description
DiscoverySchemaModifiedCadence.Builder

This builder for chaining.

setTypesValue(int index, int value)

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

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

repeated .google.privacy.dlp.v2.BigQuerySchemaModification 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
DiscoverySchemaModifiedCadence.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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