public static final class DiscoveryCloudStorageFilter.Builder extends GeneratedMessageV3.Builder<DiscoveryCloudStorageFilter.Builder> 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.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 DiscoveryCloudStorageFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DiscoveryCloudStorageFilter build()
buildPartial()
public DiscoveryCloudStorageFilter buildPartial()
clear()
public DiscoveryCloudStorageFilter.Builder clear()
Overrides
clearCloudStorageResourceReference()
public DiscoveryCloudStorageFilter.Builder clearCloudStorageResourceReference()
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];
clearCollection()
public DiscoveryCloudStorageFilter.Builder clearCollection()
Optional. A specific set of buckets for this filter to apply to.
.google.privacy.dlp.v2.FileStoreCollection collection = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public DiscoveryCloudStorageFilter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFilter()
public DiscoveryCloudStorageFilter.Builder clearFilter()
clearOneof(Descriptors.OneofDescriptor oneof)
public DiscoveryCloudStorageFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOthers()
public DiscoveryCloudStorageFilter.Builder clearOthers()
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];
clone()
public DiscoveryCloudStorageFilter.Builder clone()
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];
getCloudStorageResourceReferenceBuilder()
public CloudStorageResourceReference.Builder getCloudStorageResourceReferenceBuilder()
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];
getCollectionBuilder()
public FileStoreCollection.Builder getCollectionBuilder()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
getOthersBuilder()
public AllOtherResources.Builder getOthersBuilder()
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];
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCloudStorageResourceReference(CloudStorageResourceReference value)
public DiscoveryCloudStorageFilter.Builder mergeCloudStorageResourceReference(CloudStorageResourceReference value)
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];
mergeCollection(FileStoreCollection value)
public DiscoveryCloudStorageFilter.Builder mergeCollection(FileStoreCollection value)
Optional. A specific set of buckets for this filter to apply to.
.google.privacy.dlp.v2.FileStoreCollection collection = 1 [(.google.api.field_behavior) = OPTIONAL];
mergeFrom(DiscoveryCloudStorageFilter other)
public DiscoveryCloudStorageFilter.Builder mergeFrom(DiscoveryCloudStorageFilter other)
public DiscoveryCloudStorageFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DiscoveryCloudStorageFilter.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeOthers(AllOtherResources value)
public DiscoveryCloudStorageFilter.Builder mergeOthers(AllOtherResources value)
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryCloudStorageFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCloudStorageResourceReference(CloudStorageResourceReference value)
public DiscoveryCloudStorageFilter.Builder setCloudStorageResourceReference(CloudStorageResourceReference value)
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];
setCloudStorageResourceReference(CloudStorageResourceReference.Builder builderForValue)
public DiscoveryCloudStorageFilter.Builder setCloudStorageResourceReference(CloudStorageResourceReference.Builder builderForValue)
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];
setCollection(FileStoreCollection value)
public DiscoveryCloudStorageFilter.Builder setCollection(FileStoreCollection value)
Optional. A specific set of buckets for this filter to apply to.
.google.privacy.dlp.v2.FileStoreCollection collection = 1 [(.google.api.field_behavior) = OPTIONAL];
setCollection(FileStoreCollection.Builder builderForValue)
public DiscoveryCloudStorageFilter.Builder setCollection(FileStoreCollection.Builder builderForValue)
Optional. A specific set of buckets for this filter to apply to.
.google.privacy.dlp.v2.FileStoreCollection collection = 1 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryCloudStorageFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setOthers(AllOtherResources value)
public DiscoveryCloudStorageFilter.Builder setOthers(AllOtherResources value)
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];
setOthers(AllOtherResources.Builder builderForValue)
public DiscoveryCloudStorageFilter.Builder setOthers(AllOtherResources.Builder builderForValue)
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiscoveryCloudStorageFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryCloudStorageFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides