Class DiscoveryOtherCloudFilter (3.59.0)

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

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()
Returns
Type Description
DiscoveryOtherCloudFilter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DiscoveryOtherCloudFilter.Builder newBuilder()
Returns
Type Description
DiscoveryOtherCloudFilter.Builder

newBuilder(DiscoveryOtherCloudFilter prototype)

public static DiscoveryOtherCloudFilter.Builder newBuilder(DiscoveryOtherCloudFilter prototype)
Parameter
Name Description
prototype DiscoveryOtherCloudFilter
Returns
Type Description
DiscoveryOtherCloudFilter.Builder

parseDelimitedFrom(InputStream input)

public static DiscoveryOtherCloudFilter parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DiscoveryOtherCloudFilter
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryOtherCloudFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryOtherCloudFilter
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DiscoveryOtherCloudFilter parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DiscoveryOtherCloudFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryOtherCloudFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryOtherCloudFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DiscoveryOtherCloudFilter parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DiscoveryOtherCloudFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryOtherCloudFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryOtherCloudFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DiscoveryOtherCloudFilter parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DiscoveryOtherCloudFilter
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryOtherCloudFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryOtherCloudFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DiscoveryOtherCloudFilter parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DiscoveryOtherCloudFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryOtherCloudFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryOtherCloudFilter
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DiscoveryOtherCloudFilter parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DiscoveryOtherCloudFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryOtherCloudFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryOtherCloudFilter
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DiscoveryOtherCloudFilter> parser()
Returns
Type Description
Parser<DiscoveryOtherCloudFilter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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

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.

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

getParserForType()

public Parser<DiscoveryOtherCloudFilter> getParserForType()
Returns
Type Description
Parser<DiscoveryOtherCloudFilter>
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;

Returns
Type Description
OtherCloudSingleResourceReference

The singleResource.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DiscoveryOtherCloudFilter.Builder newBuilderForType()
Returns
Type Description
DiscoveryOtherCloudFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DiscoveryOtherCloudFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DiscoveryOtherCloudFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DiscoveryOtherCloudFilter.Builder toBuilder()
Returns
Type Description
DiscoveryOtherCloudFilter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException