Send feedback
Class DiscoveryCloudStorageFilter (3.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.55.0 keyboard_arrow_down
public final class DiscoveryCloudStorageFilter extends GeneratedMessageV3 implements DiscoveryCloudStorageFilterOrBuilder
Determines which buckets will have profiles generated within an organization
or project. Includes the ability to filter by regular expression patterns
on project ID and bucket name.
Protobuf type google.privacy.dlp.v2.DiscoveryCloudStorageFilter
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
CLOUD_STORAGE_RESOURCE_REFERENCE_FIELD_NUMBER
public static final int CLOUD_STORAGE_RESOURCE_REFERENCE_FIELD_NUMBER
Field Value
Type
Description
int
COLLECTION_FIELD_NUMBER
public static final int COLLECTION_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 DiscoveryCloudStorageFilter getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static DiscoveryCloudStorageFilter . Builder newBuilder ()
newBuilder(DiscoveryCloudStorageFilter prototype)
public static DiscoveryCloudStorageFilter . Builder newBuilder ( DiscoveryCloudStorageFilter prototype )
public static DiscoveryCloudStorageFilter parseDelimitedFrom ( InputStream input )
public static DiscoveryCloudStorageFilter parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static DiscoveryCloudStorageFilter parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryCloudStorageFilter parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static DiscoveryCloudStorageFilter parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryCloudStorageFilter parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static DiscoveryCloudStorageFilter parseFrom ( CodedInputStream input )
public static DiscoveryCloudStorageFilter parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static DiscoveryCloudStorageFilter parseFrom ( InputStream input )
public static DiscoveryCloudStorageFilter parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static DiscoveryCloudStorageFilter parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryCloudStorageFilter parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<DiscoveryCloudStorageFilter> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getCloudStorageResourceReference()
public CloudStorageResourceReference getCloudStorageResourceReference ()
Optional. The bucket to scan. Targets including this can only include one
target (the target with this bucket). This enables profiling the contents
of a single bucket, while the other options allow for easy profiling of
many bucets within a project or an organization.
.google.privacy.dlp.v2.CloudStorageResourceReference cloud_storage_resource_reference = 2 [(.google.api.field_behavior) = OPTIONAL];
getCloudStorageResourceReferenceOrBuilder()
public CloudStorageResourceReferenceOrBuilder getCloudStorageResourceReferenceOrBuilder ()
Optional. The bucket to scan. Targets including this can only include one
target (the target with this bucket). This enables profiling the contents
of a single bucket, while the other options allow for easy profiling of
many bucets within a project or an organization.
.google.privacy.dlp.v2.CloudStorageResourceReference cloud_storage_resource_reference = 2 [(.google.api.field_behavior) = OPTIONAL];
getCollection()
public FileStoreCollection getCollection ()
Optional. A specific set of buckets for this filter to apply to.
.google.privacy.dlp.v2.FileStoreCollection collection = 1 [(.google.api.field_behavior) = OPTIONAL];
getCollectionOrBuilder()
public FileStoreCollectionOrBuilder getCollectionOrBuilder ()
Optional. A specific set of buckets for this filter to apply to.
.google.privacy.dlp.v2.FileStoreCollection collection = 1 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public DiscoveryCloudStorageFilter getDefaultInstanceForType ()
getFilterCase()
public DiscoveryCloudStorageFilter . FilterCase getFilterCase ()
getOthers()
public AllOtherResources getOthers ()
Optional. 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.AllOtherResources others = 100 [(.google.api.field_behavior) = OPTIONAL];
getOthersOrBuilder()
public AllOtherResourcesOrBuilder getOthersOrBuilder ()
Optional. 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.AllOtherResources others = 100 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<DiscoveryCloudStorageFilter> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasCloudStorageResourceReference()
public boolean hasCloudStorageResourceReference ()
Optional. The bucket to scan. Targets including this can only include one
target (the target with this bucket). This enables profiling the contents
of a single bucket, while the other options allow for easy profiling of
many bucets within a project or an organization.
.google.privacy.dlp.v2.CloudStorageResourceReference cloud_storage_resource_reference = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the cloudStorageResourceReference field is set.
hasCollection()
public boolean hasCollection ()
Optional. A specific set of buckets for this filter to apply to.
.google.privacy.dlp.v2.FileStoreCollection collection = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the collection field is set.
hasOthers()
public boolean hasOthers ()
Optional. 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.AllOtherResources others = 100 [(.google.api.field_behavior) = OPTIONAL];
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 DiscoveryCloudStorageFilter . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiscoveryCloudStorageFilter . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public DiscoveryCloudStorageFilter . 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-27 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-27 UTC."],[],[]]