Class CloudStorageDiscoveryTarget (3.55.0)

public final class CloudStorageDiscoveryTarget extends GeneratedMessageV3 implements CloudStorageDiscoveryTargetOrBuilder

Target used to match against for discovery with Cloud Storage buckets.

Protobuf type google.privacy.dlp.v2.CloudStorageDiscoveryTarget

Static Fields

CONDITIONS_FIELD_NUMBER

public static final int CONDITIONS_FIELD_NUMBER
Field Value
Type Description
int

DISABLED_FIELD_NUMBER

public static final int DISABLED_FIELD_NUMBER
Field Value
Type Description
int

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
Type Description
int

GENERATION_CADENCE_FIELD_NUMBER

public static final int GENERATION_CADENCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CloudStorageDiscoveryTarget getDefaultInstance()
Returns
Type Description
CloudStorageDiscoveryTarget

getDescriptor()

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

newBuilder()

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

newBuilder(CloudStorageDiscoveryTarget prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCadenceCase()

public CloudStorageDiscoveryTarget.CadenceCase getCadenceCase()
Returns
Type Description
CloudStorageDiscoveryTarget.CadenceCase

getConditions()

public DiscoveryFileStoreConditions getConditions()

Optional. In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryFileStoreConditions conditions = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DiscoveryFileStoreConditions

The conditions.

getConditionsOrBuilder()

public DiscoveryFileStoreConditionsOrBuilder getConditionsOrBuilder()

Optional. In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryFileStoreConditions conditions = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DiscoveryFileStoreConditionsOrBuilder

getDefaultInstanceForType()

public CloudStorageDiscoveryTarget getDefaultInstanceForType()
Returns
Type Description
CloudStorageDiscoveryTarget

getDisabled()

public Disabled getDisabled()

Optional. Disable profiling for buckets that match this filter.

.google.privacy.dlp.v2.Disabled disabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Disabled

The disabled.

getDisabledOrBuilder()

public DisabledOrBuilder getDisabledOrBuilder()

Optional. Disable profiling for buckets that match this filter.

.google.privacy.dlp.v2.Disabled disabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DisabledOrBuilder

getFilter()

public DiscoveryCloudStorageFilter getFilter()

Required. The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket.

.google.privacy.dlp.v2.DiscoveryCloudStorageFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DiscoveryCloudStorageFilter

The filter.

getFilterOrBuilder()

public DiscoveryCloudStorageFilterOrBuilder getFilterOrBuilder()

Required. The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket.

.google.privacy.dlp.v2.DiscoveryCloudStorageFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DiscoveryCloudStorageFilterOrBuilder

getGenerationCadence()

public DiscoveryCloudStorageGenerationCadence getGenerationCadence()

Optional. How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence generation_cadence = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DiscoveryCloudStorageGenerationCadence

The generationCadence.

getGenerationCadenceOrBuilder()

public DiscoveryCloudStorageGenerationCadenceOrBuilder getGenerationCadenceOrBuilder()

Optional. How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence generation_cadence = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DiscoveryCloudStorageGenerationCadenceOrBuilder

getParserForType()

public Parser<CloudStorageDiscoveryTarget> getParserForType()
Returns
Type Description
Parser<CloudStorageDiscoveryTarget>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasConditions()

public boolean hasConditions()

Optional. In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryFileStoreConditions conditions = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the conditions field is set.

hasDisabled()

public boolean hasDisabled()

Optional. Disable profiling for buckets that match this filter.

.google.privacy.dlp.v2.Disabled disabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the disabled field is set.

hasFilter()

public boolean hasFilter()

Required. The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket.

.google.privacy.dlp.v2.DiscoveryCloudStorageFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the filter field is set.

hasGenerationCadence()

public boolean hasGenerationCadence()

Optional. How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence generation_cadence = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the generationCadence 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 CloudStorageDiscoveryTarget.Builder newBuilderForType()
Returns
Type Description
CloudStorageDiscoveryTarget.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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