Package com.google.privacy.dlp.v2
Class DiscoveryOtherCloudFilter.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DiscoveryOtherCloudFilter.Builder>
com.google.privacy.dlp.v2.DiscoveryOtherCloudFilter.Builder
- All Implemented Interfaces:
DiscoveryOtherCloudFilterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DiscoveryOtherCloudFilter
public static final class DiscoveryOtherCloudFilter.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DiscoveryOtherCloudFilter.Builder>
implements DiscoveryOtherCloudFilterOrBuilder
Determines which resources from the other cloud will have profiles generated. Includes the ability to filter by resource names.Protobuf type
google.privacy.dlp.v2.DiscoveryOtherCloudFilter-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A collection of resources for this filter to apply to.Optional.The resource to scan.A collection of resources for this filter to apply to.A collection of resources for this filter to apply to.A collection of resources for this filter to apply to.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.The resource to scan.The resource to scan.The resource to scan.booleanA collection of resources for this filter to apply to.booleanOptional.booleanThe resource to scan.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanA collection of resources for this filter to apply to.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeOthers(AllOtherResources value) Optional.The resource to scan.A collection of resources for this filter to apply to.setCollection(OtherCloudResourceCollection.Builder builderForValue) A collection of resources for this filter to apply to.setOthers(AllOtherResources value) Optional.setOthers(AllOtherResources.Builder builderForValue) Optional.The resource to scan.setSingleResource(OtherCloudSingleResourceReference.Builder builderForValue) The resource to scan.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<DiscoveryOtherCloudFilter.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<DiscoveryOtherCloudFilter.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<DiscoveryOtherCloudFilter.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<DiscoveryOtherCloudFilter.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryOtherCloudFilter.Builder>
-
mergeFrom
public DiscoveryOtherCloudFilter.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<DiscoveryOtherCloudFilter.Builder>- Throws:
IOException
-
getFilterCase
- Specified by:
getFilterCasein interfaceDiscoveryOtherCloudFilterOrBuilder
-
clearFilter
-
hasCollection
public boolean hasCollection()A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;- Specified by:
hasCollectionin interfaceDiscoveryOtherCloudFilterOrBuilder- Returns:
- Whether the collection field is set.
-
getCollection
A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;- Specified by:
getCollectionin interfaceDiscoveryOtherCloudFilterOrBuilder- Returns:
- The collection.
-
setCollection
A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1; -
setCollection
public DiscoveryOtherCloudFilter.Builder setCollection(OtherCloudResourceCollection.Builder builderForValue) A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1; -
mergeCollection
A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1; -
clearCollection
A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1; -
getCollectionBuilder
A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1; -
getCollectionOrBuilder
A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;- Specified by:
getCollectionOrBuilderin interfaceDiscoveryOtherCloudFilterOrBuilder
-
hasSingleResource
public boolean hasSingleResource()The resource to scan. Configs using this filter can only have one target (the target with this single resource reference).
.google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2;- Specified by:
hasSingleResourcein interfaceDiscoveryOtherCloudFilterOrBuilder- Returns:
- Whether the singleResource field is set.
-
getSingleResource
The resource to scan. Configs using this filter can only have one target (the target with this single resource reference).
.google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2;- Specified by:
getSingleResourcein interfaceDiscoveryOtherCloudFilterOrBuilder- Returns:
- The singleResource.
-
setSingleResource
The resource to scan. Configs using this filter can only have one target (the target with this single resource reference).
.google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2; -
setSingleResource
public DiscoveryOtherCloudFilter.Builder setSingleResource(OtherCloudSingleResourceReference.Builder builderForValue) The resource to scan. Configs using this filter can only have one target (the target with this single resource reference).
.google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2; -
mergeSingleResource
public DiscoveryOtherCloudFilter.Builder mergeSingleResource(OtherCloudSingleResourceReference value) The resource to scan. Configs using this filter can only have one target (the target with this single resource reference).
.google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2; -
clearSingleResource
The resource to scan. Configs using this filter can only have one target (the target with this single resource reference).
.google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2; -
getSingleResourceBuilder
The resource to scan. Configs using this filter can only have one target (the target with this single resource reference).
.google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2; -
getSingleResourceOrBuilder
The resource to scan. Configs using this filter can only have one target (the target with this single resource reference).
.google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2;- Specified by:
getSingleResourceOrBuilderin interfaceDiscoveryOtherCloudFilterOrBuilder
-
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 interfaceDiscoveryOtherCloudFilterOrBuilder- 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 interfaceDiscoveryOtherCloudFilterOrBuilder- 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 interfaceDiscoveryOtherCloudFilterOrBuilder
-