public static final class DiscoveryOtherCloudFilter.Builder extends GeneratedMessage.Builder<DiscoveryOtherCloudFilter.Builder> implements DiscoveryOtherCloudFilterOrBuilderDetermines 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DiscoveryOtherCloudFilter.BuilderImplements
DiscoveryOtherCloudFilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DiscoveryOtherCloudFilter build()| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter |
|
buildPartial()
public DiscoveryOtherCloudFilter buildPartial()| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter |
|
clear()
public DiscoveryOtherCloudFilter.Builder clear()| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
clearCollection()
public DiscoveryOtherCloudFilter.Builder clearCollection()A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
clearFilter()
public DiscoveryOtherCloudFilter.Builder clearFilter()| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
getCollection()
public OtherCloudResourceCollection getCollection()A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
| Returns | |
|---|---|
| Type | Description |
OtherCloudResourceCollection |
The collection. |
getCollectionBuilder()
public OtherCloudResourceCollection.Builder getCollectionBuilder()A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
| Returns | |
|---|---|
| Type | Description |
OtherCloudResourceCollection.Builder |
|
getCollectionOrBuilder()
public OtherCloudResourceCollectionOrBuilder getCollectionOrBuilder()A collection of resources for this filter to apply to.
.google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
| Returns | |
|---|---|
| Type | Description |
OtherCloudResourceCollectionOrBuilder |
|
getDefaultInstanceForType()
public DiscoveryOtherCloudFilter getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilterCase()
public DiscoveryOtherCloudFilter.FilterCase getFilterCase()| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.FilterCase |
|
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];
| Returns | |
|---|---|
| Type | Description |
AllOtherResources |
The others. |
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];
| Returns | |
|---|---|
| Type | Description |
AllOtherResources.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
AllOtherResourcesOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
OtherCloudSingleResourceReference |
The singleResource. |
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;
| Returns | |
|---|---|
| Type | Description |
OtherCloudSingleResourceReference.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
OtherCloudSingleResourceReferenceOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
OtherCloudResourceCollection |
| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
mergeFrom(DiscoveryOtherCloudFilter other)
public DiscoveryOtherCloudFilter.Builder mergeFrom(DiscoveryOtherCloudFilter other)| Parameter | |
|---|---|
| Name | Description |
other |
DiscoveryOtherCloudFilter |
| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiscoveryOtherCloudFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DiscoveryOtherCloudFilter.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
AllOtherResources |
| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
OtherCloudSingleResourceReference |
| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
OtherCloudResourceCollection |
| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OtherCloudResourceCollection.Builder |
| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
AllOtherResources |
| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AllOtherResources.Builder |
| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
OtherCloudSingleResourceReference |
| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OtherCloudSingleResourceReference.Builder |
| Returns | |
|---|---|
| Type | Description |
DiscoveryOtherCloudFilter.Builder |
|