Send feedback
Class DiscoveryCloudSqlFilter (3.48.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.48.0 keyboard_arrow_down
public final class DiscoveryCloudSqlFilter extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
COLLECTION_FIELD_NUMBER
public static final int COLLECTION_FIELD_NUMBER
Field Value
Type
Description
int
DATABASE_RESOURCE_REFERENCE_FIELD_NUMBER
public static final int DATABASE_RESOURCE_REFERENCE_FIELD_NUMBER
Field Value
Type
Description
int
OTHERS_FIELD_NUMBER
public static final int OTHERS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static DiscoveryCloudSqlFilter getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static DiscoveryCloudSqlFilter . Builder newBuilder ()
newBuilder(DiscoveryCloudSqlFilter prototype)
public static DiscoveryCloudSqlFilter . Builder newBuilder ( DiscoveryCloudSqlFilter prototype )
public static DiscoveryCloudSqlFilter parseDelimitedFrom ( InputStream input )
public static DiscoveryCloudSqlFilter parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static DiscoveryCloudSqlFilter parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryCloudSqlFilter parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static DiscoveryCloudSqlFilter parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryCloudSqlFilter parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static DiscoveryCloudSqlFilter parseFrom ( CodedInputStream input )
public static DiscoveryCloudSqlFilter parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static DiscoveryCloudSqlFilter parseFrom ( InputStream input )
public static DiscoveryCloudSqlFilter parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static DiscoveryCloudSqlFilter parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryCloudSqlFilter parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<DiscoveryCloudSqlFilter> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getCollection()
public DatabaseResourceCollection getCollection ()
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;
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 ()
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;
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;
getParserForType()
public Parser<DiscoveryCloudSqlFilter> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public DiscoveryCloudSqlFilter . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiscoveryCloudSqlFilter . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public DiscoveryCloudSqlFilter . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]