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