Class DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder (3.47.0)

public static final class DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder extends GeneratedMessageV3.Builder<DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder> implements DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadenceOrBuilder

How frequency to modify the profile when the table's schema is modified.

Protobuf type google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder

Static Methods

getDescriptor()

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

Methods

addAllTypes(Iterable<? extends DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification> values)

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder addAllTypes(Iterable<? extends DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification> values)

The types of schema modifications to consider. Defaults to NEW_COLUMNS.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification>

The types to add.

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder

This builder for chaining.

addAllTypesValue(Iterable<Integer> values)

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder addAllTypesValue(Iterable<Integer> values)

The types of schema modifications to consider. Defaults to NEW_COLUMNS.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;

Parameter
Name Description
values Iterable<Integer>

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

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTypes(DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification value)

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder addTypes(DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification value)

The types of schema modifications to consider. Defaults to NEW_COLUMNS.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;

Parameter
Name Description
value DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification

The types to add.

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder

This builder for chaining.

addTypesValue(int value)

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder addTypesValue(int value)

The types of schema modifications to consider. Defaults to NEW_COLUMNS.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;

Parameter
Name Description
value int

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

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder

This builder for chaining.

build()

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence build()
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence

buildPartial()

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence buildPartial()
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence

clear()

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder clear()
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFrequency()

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder clearFrequency()

Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.

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

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTypes()

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder clearTypes()

The types of schema modifications to consider. Defaults to NEW_COLUMNS.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder

This builder for chaining.

clone()

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder clone()
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder
Overrides

getDefaultInstanceForType()

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence getDefaultInstanceForType()
Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence

getDescriptorForType()

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

getFrequency()

public DataProfileUpdateFrequency getFrequency()

Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.

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

Returns
Type Description
DataProfileUpdateFrequency

The frequency.

getFrequencyValue()

public int getFrequencyValue()

Frequency to regenerate data profiles when the schema is 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 DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification getTypes(int index)

The types of schema modifications to consider. Defaults to NEW_COLUMNS.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification

The types at the given index.

getTypesCount()

public int getTypesCount()

The types of schema modifications to consider. Defaults to NEW_COLUMNS.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;

Returns
Type Description
int

The count of types.

getTypesList()

public List<DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification> getTypesList()

The types of schema modifications to consider. Defaults to NEW_COLUMNS.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;

Returns
Type Description
List<CloudSqlSchemaModification>

A list containing the types.

getTypesValue(int index)

public int getTypesValue(int index)

The types of schema modifications to consider. Defaults to NEW_COLUMNS.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification 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 types of schema modifications to consider. Defaults to NEW_COLUMNS.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification 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(DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFrequency(DataProfileUpdateFrequency value)

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder setFrequency(DataProfileUpdateFrequency value)

Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.

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

Parameter
Name Description
value DataProfileUpdateFrequency

The frequency to set.

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder

This builder for chaining.

setFrequencyValue(int value)

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder setFrequencyValue(int value)

Frequency to regenerate data profiles when the schema is 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
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder

This builder for chaining.

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

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

setTypes(int index, DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification value)

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder setTypes(int index, DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification value)

The types of schema modifications to consider. Defaults to NEW_COLUMNS.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;

Parameters
Name Description
index int

The index to set the value at.

value DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification

The types to set.

Returns
Type Description
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder

This builder for chaining.

setTypesValue(int index, int value)

public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder setTypesValue(int index, int value)

The types of schema modifications to consider. Defaults to NEW_COLUMNS.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification 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
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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