public static final class DiscoveryOtherCloudFilter.Builder extends GeneratedMessageV3.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
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 DiscoveryOtherCloudFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DiscoveryOtherCloudFilter build()
buildPartial()
public DiscoveryOtherCloudFilter buildPartial()
clear()
public DiscoveryOtherCloudFilter.Builder clear()
Overrides
clearCollection()
public DiscoveryOtherCloudFilter.Builder clearCollection()
A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
clearField(Descriptors.FieldDescriptor field)
public DiscoveryOtherCloudFilter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFilter()
public DiscoveryOtherCloudFilter.Builder clearFilter()
clearOneof(Descriptors.OneofDescriptor oneof)
public DiscoveryOtherCloudFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOthers()
public DiscoveryOtherCloudFilter.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];
clearSingleResource()
public DiscoveryOtherCloudFilter.Builder 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;
clone()
public DiscoveryOtherCloudFilter.Builder clone()
Overrides
getCollection()
public OtherCloudResourceCollection getCollection()
A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
getCollectionBuilder()
public OtherCloudResourceCollection.Builder getCollectionBuilder()
A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
getCollectionOrBuilder()
public OtherCloudResourceCollectionOrBuilder getCollectionOrBuilder()
A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
getDefaultInstanceForType()
public DiscoveryOtherCloudFilter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFilterCase()
public DiscoveryOtherCloudFilter.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];
getSingleResource()
public OtherCloudSingleResourceReference 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;
getSingleResourceBuilder()
public OtherCloudSingleResourceReference.Builder 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()
public OtherCloudSingleResourceReferenceOrBuilder 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;
hasCollection()
public boolean hasCollection()
A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
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.
|
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;
Returns |
Type |
Description |
boolean |
Whether the singleResource field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCollection(OtherCloudResourceCollection value)
public DiscoveryOtherCloudFilter.Builder mergeCollection(OtherCloudResourceCollection value)
A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
mergeFrom(DiscoveryOtherCloudFilter other)
public DiscoveryOtherCloudFilter.Builder mergeFrom(DiscoveryOtherCloudFilter other)
public DiscoveryOtherCloudFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DiscoveryOtherCloudFilter.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeOthers(AllOtherResources value)
public DiscoveryOtherCloudFilter.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];
mergeSingleResource(OtherCloudSingleResourceReference value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryOtherCloudFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCollection(OtherCloudResourceCollection value)
public DiscoveryOtherCloudFilter.Builder setCollection(OtherCloudResourceCollection value)
A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
setCollection(OtherCloudResourceCollection.Builder builderForValue)
public DiscoveryOtherCloudFilter.Builder setCollection(OtherCloudResourceCollection.Builder builderForValue)
A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryOtherCloudFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setOthers(AllOtherResources value)
public DiscoveryOtherCloudFilter.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 DiscoveryOtherCloudFilter.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 DiscoveryOtherCloudFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSingleResource(OtherCloudSingleResourceReference value)
public DiscoveryOtherCloudFilter.Builder setSingleResource(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;
setSingleResource(OtherCloudSingleResourceReference.Builder builderForValue)
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryOtherCloudFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides