public final class DiscoveryOtherCloudFilter extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
COLLECTION_FIELD_NUMBER
public static final int COLLECTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OTHERS_FIELD_NUMBER
public static final int OTHERS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SINGLE_RESOURCE_FIELD_NUMBER
public static final int SINGLE_RESOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DiscoveryOtherCloudFilter getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DiscoveryOtherCloudFilter.Builder newBuilder()
newBuilder(DiscoveryOtherCloudFilter prototype)
public static DiscoveryOtherCloudFilter.Builder newBuilder(DiscoveryOtherCloudFilter prototype)
public static DiscoveryOtherCloudFilter parseDelimitedFrom(InputStream input)
public static DiscoveryOtherCloudFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DiscoveryOtherCloudFilter parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryOtherCloudFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DiscoveryOtherCloudFilter parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryOtherCloudFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryOtherCloudFilter parseFrom(CodedInputStream input)
public static DiscoveryOtherCloudFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DiscoveryOtherCloudFilter parseFrom(InputStream input)
public static DiscoveryOtherCloudFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DiscoveryOtherCloudFilter parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryOtherCloudFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DiscoveryOtherCloudFilter> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCollection()
public OtherCloudResourceCollection getCollection()
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()
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];
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];
getParserForType()
public Parser<DiscoveryOtherCloudFilter> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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;
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DiscoveryOtherCloudFilter.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiscoveryOtherCloudFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DiscoveryOtherCloudFilter.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides