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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryCloudSqlFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DiscoveryCloudSqlFilter build()
buildPartial()
public DiscoveryCloudSqlFilter buildPartial()
clear()
public DiscoveryCloudSqlFilter.Builder clear()
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;
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;
clearField(Descriptors.FieldDescriptor field)
public DiscoveryCloudSqlFilter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFilter()
public DiscoveryCloudSqlFilter.Builder clearFilter()
clearOneof(Descriptors.OneofDescriptor oneof)
public DiscoveryCloudSqlFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public DiscoveryCloudSqlFilter.Builder clone()
Overrides
getCollection()
public DatabaseResourceCollection getCollection()
A specific set of database resources for this filter to apply to.
.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1;
getCollectionBuilder()
public DatabaseResourceCollection.Builder getCollectionBuilder()
A specific set of database resources for this filter to apply to.
.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1;
getCollectionOrBuilder()
public DatabaseResourceCollectionOrBuilder getCollectionOrBuilder()
A specific set of database resources for this filter to apply to.
.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1;
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;
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;
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;
getDefaultInstanceForType()
public DiscoveryCloudSqlFilter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFilterCase()
public DiscoveryCloudSqlFilter.FilterCase getFilterCase()
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;
getOthersBuilder()
public AllOtherDatabaseResources.Builder getOthersBuilder()
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;
getOthersOrBuilder()
public AllOtherDatabaseResourcesOrBuilder getOthersOrBuilder()
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;
hasCollection()
public boolean hasCollection()
A specific set of database resources for this filter to apply to.
.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1;
Returns |
Type |
Description |
boolean |
Whether the collection field is set.
|
hasDatabaseResourceReference()
public boolean hasDatabaseResourceReference()
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 |
boolean |
Whether the databaseResourceReference field is set.
|
hasOthers()
public boolean hasOthers()
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 |
boolean |
Whether the others field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCollection(DatabaseResourceCollection value)
public DiscoveryCloudSqlFilter.Builder mergeCollection(DatabaseResourceCollection value)
A specific set of database resources for this filter to apply to.
.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1;
mergeDatabaseResourceReference(DatabaseResourceReference value)
public DiscoveryCloudSqlFilter.Builder mergeDatabaseResourceReference(DatabaseResourceReference value)
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;
mergeFrom(DiscoveryCloudSqlFilter other)
public DiscoveryCloudSqlFilter.Builder mergeFrom(DiscoveryCloudSqlFilter other)
public DiscoveryCloudSqlFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DiscoveryCloudSqlFilter.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeOthers(AllOtherDatabaseResources value)
public DiscoveryCloudSqlFilter.Builder mergeOthers(AllOtherDatabaseResources value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryCloudSqlFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCollection(DatabaseResourceCollection value)
public DiscoveryCloudSqlFilter.Builder setCollection(DatabaseResourceCollection value)
A specific set of database resources for this filter to apply to.
.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1;
setCollection(DatabaseResourceCollection.Builder builderForValue)
public DiscoveryCloudSqlFilter.Builder setCollection(DatabaseResourceCollection.Builder builderForValue)
A specific set of database resources for this filter to apply to.
.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1;
setDatabaseResourceReference(DatabaseResourceReference value)
public DiscoveryCloudSqlFilter.Builder setDatabaseResourceReference(DatabaseResourceReference value)
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;
setDatabaseResourceReference(DatabaseResourceReference.Builder builderForValue)
public DiscoveryCloudSqlFilter.Builder setDatabaseResourceReference(DatabaseResourceReference.Builder builderForValue)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryCloudSqlFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setOthers(AllOtherDatabaseResources value)
public DiscoveryCloudSqlFilter.Builder setOthers(AllOtherDatabaseResources value)
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;
setOthers(AllOtherDatabaseResources.Builder builderForValue)
public DiscoveryCloudSqlFilter.Builder setOthers(AllOtherDatabaseResources.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiscoveryCloudSqlFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryCloudSqlFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides