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