Class DiscoveryCloudSqlFilter.Builder (3.48.0)

public static final class DiscoveryCloudSqlFilter.Builder extends GeneratedMessageV3.Builder<DiscoveryCloudSqlFilter.Builder> implements DiscoveryCloudSqlFilterOrBuilder

Determines what tables will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID, location, instance, database, and database resource name.

Protobuf type google.privacy.dlp.v2.DiscoveryCloudSqlFilter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiscoveryCloudSqlFilter build()
Returns
Type Description
DiscoveryCloudSqlFilter

buildPartial()

public DiscoveryCloudSqlFilter buildPartial()
Returns
Type Description
DiscoveryCloudSqlFilter

clear()

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

clearCollection()

public DiscoveryCloudSqlFilter.Builder clearCollection()

A specific set of database resources for this filter to apply to.

.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1;

Returns
Type Description
DiscoveryCloudSqlFilter.Builder

clearDatabaseResourceReference()

public DiscoveryCloudSqlFilter.Builder clearDatabaseResourceReference()

The database resource to scan. Targets including this can only include one target (the target with this database resource reference).

.google.privacy.dlp.v2.DatabaseResourceReference database_resource_reference = 3;

Returns
Type Description
DiscoveryCloudSqlFilter.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public DiscoveryCloudSqlFilter.Builder clearFilter()
Returns
Type Description
DiscoveryCloudSqlFilter.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOthers()

public DiscoveryCloudSqlFilter.Builder clearOthers()

Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.

.google.privacy.dlp.v2.AllOtherDatabaseResources others = 2;

Returns
Type Description
DiscoveryCloudSqlFilter.Builder

clone()

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

getCollection()

public DatabaseResourceCollection getCollection()

A specific set of database resources for this filter to apply to.

.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1;

Returns
Type Description
DatabaseResourceCollection

The collection.

getCollectionBuilder()

public DatabaseResourceCollection.Builder getCollectionBuilder()

A specific set of database resources for this filter to apply to.

.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1;

Returns
Type Description
DatabaseResourceCollection.Builder

getCollectionOrBuilder()

public DatabaseResourceCollectionOrBuilder getCollectionOrBuilder()

A specific set of database resources for this filter to apply to.

.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1;

Returns
Type Description
DatabaseResourceCollectionOrBuilder

getDatabaseResourceReference()

public DatabaseResourceReference getDatabaseResourceReference()

The database resource to scan. Targets including this can only include one target (the target with this database resource reference).

.google.privacy.dlp.v2.DatabaseResourceReference database_resource_reference = 3;

Returns
Type Description
DatabaseResourceReference

The databaseResourceReference.

getDatabaseResourceReferenceBuilder()

public DatabaseResourceReference.Builder getDatabaseResourceReferenceBuilder()

The database resource to scan. Targets including this can only include one target (the target with this database resource reference).

.google.privacy.dlp.v2.DatabaseResourceReference database_resource_reference = 3;

Returns
Type Description
DatabaseResourceReference.Builder

getDatabaseResourceReferenceOrBuilder()

public DatabaseResourceReferenceOrBuilder getDatabaseResourceReferenceOrBuilder()

The database resource to scan. Targets including this can only include one target (the target with this database resource reference).

.google.privacy.dlp.v2.DatabaseResourceReference database_resource_reference = 3;

Returns
Type Description
DatabaseResourceReferenceOrBuilder

getDefaultInstanceForType()

public DiscoveryCloudSqlFilter getDefaultInstanceForType()
Returns
Type Description
DiscoveryCloudSqlFilter

getDescriptorForType()

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

getFilterCase()

public DiscoveryCloudSqlFilter.FilterCase getFilterCase()
Returns
Type Description
DiscoveryCloudSqlFilter.FilterCase

getOthers()

public AllOtherDatabaseResources getOthers()

Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.

.google.privacy.dlp.v2.AllOtherDatabaseResources others = 2;

Returns