Package com.google.privacy.dlp.v2
Class DiscoveryCloudStorageFilter.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DiscoveryCloudStorageFilter.Builder>
com.google.privacy.dlp.v2.DiscoveryCloudStorageFilter.Builder
- All Implemented Interfaces:
DiscoveryCloudStorageFilterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DiscoveryCloudStorageFilter
public static final class DiscoveryCloudStorageFilter.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.Optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeOthers(AllOtherResources value) Optional.Optional.setCloudStorageResourceReference(CloudStorageResourceReference.Builder builderForValue) Optional.setCollection(FileStoreCollection value) Optional.setCollection(FileStoreCollection.Builder builderForValue) Optional.setOthers(AllOtherResources value) Optional.setOthers(AllOtherResources.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryCloudStorageFilter.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryCloudStorageFilter.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryCloudStorageFilter.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DiscoveryCloudStorageFilter.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryCloudStorageFilter.Builder>
-
mergeFrom
public DiscoveryCloudStorageFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DiscoveryCloudStorageFilter.Builder>- Throws:
IOException
-
getFilterCase
- Specified by:
getFilterCasein interfaceDiscoveryCloudStorageFilterOrBuilder
-
clearFilter
-
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];- Specified by:
hasCollectionin interfaceDiscoveryCloudStorageFilterOrBuilder- Returns:
- Whether the collection field is set.
-
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];- Specified by:
getCollectionin interfaceDiscoveryCloudStorageFilterOrBuilder- Returns:
- The collection.
-
setCollection
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
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]; -
mergeCollection
Optional. A specific set of buckets for this filter to apply to.
.google.privacy.dlp.v2.FileStoreCollection collection = 1 [(.google.api.field_behavior) = OPTIONAL]; -
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]; -
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
Optional. A specific set of buckets for this filter to apply to.
.google.privacy.dlp.v2.FileStoreCollection collection = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCollectionOrBuilderin interfaceDiscoveryCloudStorageFilterOrBuilder
-
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];- Specified by:
hasCloudStorageResourceReferencein interfaceDiscoveryCloudStorageFilterOrBuilder- Returns:
- Whether the cloudStorageResourceReference field is set.
-
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];- Specified by:
getCloudStorageResourceReferencein interfaceDiscoveryCloudStorageFilterOrBuilder- Returns:
- The cloudStorageResourceReference.
-
setCloudStorageResourceReference
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
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]; -
mergeCloudStorageResourceReference
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]; -
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]; -
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
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];- Specified by:
getCloudStorageResourceReferenceOrBuilderin interfaceDiscoveryCloudStorageFilterOrBuilder
-
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];- Specified by:
hasOthersin interfaceDiscoveryCloudStorageFilterOrBuilder- Returns:
- Whether the others field is set.
-
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];- Specified by:
getOthersin interfaceDiscoveryCloudStorageFilterOrBuilder- Returns:
- The others.
-
setOthers
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
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]; -
mergeOthers
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]; -
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]; -
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
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];- Specified by:
getOthersOrBuilderin interfaceDiscoveryCloudStorageFilterOrBuilder
-