Package com.google.privacy.dlp.v2
Class DiscoveryCloudSqlFilter.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DiscoveryCloudSqlFilter.Builder>
com.google.privacy.dlp.v2.DiscoveryCloudSqlFilter.Builder
- All Implemented Interfaces:
DiscoveryCloudSqlFilterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DiscoveryCloudSqlFilter
public static final class DiscoveryCloudSqlFilter.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DiscoveryCloudSqlFilter.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A specific set of database resources for this filter to apply to.The database resource to scan.Catch-all.A specific set of database resources for this filter to apply to.A specific set of database resources for this filter to apply to.A specific set of database resources for this filter to apply to.The database resource to scan.The database resource to scan.The database resource to scan.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorCatch-all.Catch-all.Catch-all.booleanA specific set of database resources for this filter to apply to.booleanThe database resource to scan.booleanCatch-all.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanA specific set of database resources for this filter to apply to.The database resource to scan.mergeFrom(DiscoveryCloudSqlFilter other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Catch-all.A specific set of database resources for this filter to apply to.setCollection(DatabaseResourceCollection.Builder builderForValue) A specific set of database resources for this filter to apply to.The database resource to scan.setDatabaseResourceReference(DatabaseResourceReference.Builder builderForValue) The database resource to scan.Catch-all.setOthers(AllOtherDatabaseResources.Builder builderForValue) Catch-all.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<DiscoveryCloudSqlFilter.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<DiscoveryCloudSqlFilter.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<DiscoveryCloudSqlFilter.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<DiscoveryCloudSqlFilter.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryCloudSqlFilter.Builder>
-
mergeFrom
public DiscoveryCloudSqlFilter.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<DiscoveryCloudSqlFilter.Builder>- Throws:
IOException
-
getFilterCase
- Specified by:
getFilterCasein interfaceDiscoveryCloudSqlFilterOrBuilder
-
clearFilter
-
hasCollection
public boolean hasCollection()A specific set of database resources for this filter to apply to.
.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1;- Specified by:
hasCollectionin interfaceDiscoveryCloudSqlFilterOrBuilder- Returns:
- Whether the collection field is set.
-
getCollection
A specific set of database resources for this filter to apply to.
.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1;- Specified by:
getCollectionin interfaceDiscoveryCloudSqlFilterOrBuilder- Returns:
- The collection.
-
setCollection
A specific set of database resources for this filter to apply to.
.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1; -
setCollection
public DiscoveryCloudSqlFilter.Builder setCollection(DatabaseResourceCollection.Builder builderForValue) A specific set of database resources for this filter to apply to.
.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1; -
mergeCollection
A specific set of database resources for this filter to apply to.
.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1; -
clearCollection
A specific set of database resources for this filter to apply to.
.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1; -
getCollectionBuilder
A specific set of database resources for this filter to apply to.
.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1; -
getCollectionOrBuilder
A specific set of database resources for this filter to apply to.
.google.privacy.dlp.v2.DatabaseResourceCollection collection = 1;- Specified by:
getCollectionOrBuilderin interfaceDiscoveryCloudSqlFilterOrBuilder
-
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;- Specified by:
hasOthersin interfaceDiscoveryCloudSqlFilterOrBuilder- Returns:
- Whether the others field is set.
-
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;- Specified by:
getOthersin interfaceDiscoveryCloudSqlFilterOrBuilder- Returns:
- The others.
-
setOthers
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; -
setOthers
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; -
mergeOthers
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; -
clearOthers
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; -
getOthersBuilder
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
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;- Specified by:
getOthersOrBuilderin interfaceDiscoveryCloudSqlFilterOrBuilder
-
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;- Specified by:
hasDatabaseResourceReferencein interfaceDiscoveryCloudSqlFilterOrBuilder- Returns:
- Whether the databaseResourceReference field is set.
-
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;- Specified by:
getDatabaseResourceReferencein interfaceDiscoveryCloudSqlFilterOrBuilder- Returns:
- The databaseResourceReference.
-
setDatabaseResourceReference
public DiscoveryCloudSqlFilter.Builder setDatabaseResourceReference(DatabaseResourceReference value) 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; -
setDatabaseResourceReference
public DiscoveryCloudSqlFilter.Builder setDatabaseResourceReference(DatabaseResourceReference.Builder builderForValue) 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; -
mergeDatabaseResourceReference
public DiscoveryCloudSqlFilter.Builder mergeDatabaseResourceReference(DatabaseResourceReference value) 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; -
clearDatabaseResourceReference
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; -
getDatabaseResourceReferenceBuilder
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
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;- Specified by:
getDatabaseResourceReferenceOrBuilderin interfaceDiscoveryCloudSqlFilterOrBuilder
-