Class DiscoverySchemaModifiedCadence.Builder (3.34.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.BigQuerySchemaModification>

The types to add.

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

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

Returns
TypeDescription
DiscoverySchemaModifiedCadence.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The types to add.

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

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

Returns
TypeDescription
DiscoverySchemaModifiedCadence.Builder

This builder for chaining.

build()

public DiscoverySchemaModifiedCadence build()
Returns
TypeDescription
DiscoverySchemaModifiedCadence

buildPartial()

public DiscoverySchemaModifiedCadence buildPartial()
Returns
TypeDescription
DiscoverySchemaModifiedCadence

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DiscoverySchemaModifiedCadence getDefaultInstanceForType()
Returns
TypeDescription
DiscoverySchemaModifiedCadence

getDescriptorForType()

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

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.

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

public DiscoverySchemaModifiedCadence.Builder mergeFrom(DiscoverySchemaModifiedCadence other)
Parameter
NameDescription
otherDiscoverySchemaModifiedCadence
Returns
TypeDescription
DiscoverySchemaModifiedCadence.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The frequency to set.

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

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

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

The index to set the value at.

valueBigQuerySchemaModification

The types to set.

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

The index to set the value at.

valueint

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

Returns
TypeDescription
DiscoverySchemaModifiedCadence.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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