Class CloudStorageDiscoveryTarget.Builder (3.56.0)

public static final class CloudStorageDiscoveryTarget.Builder extends GeneratedMessageV3.Builder<CloudStorageDiscoveryTarget.Builder> implements CloudStorageDiscoveryTargetOrBuilder

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

Protobuf type google.privacy.dlp.v2.CloudStorageDiscoveryTarget

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudStorageDiscoveryTarget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudStorageDiscoveryTarget.Builder
Overrides

build()

public CloudStorageDiscoveryTarget build()
Returns
Type Description
CloudStorageDiscoveryTarget

buildPartial()

public CloudStorageDiscoveryTarget buildPartial()
Returns
Type Description
CloudStorageDiscoveryTarget

clear()

public CloudStorageDiscoveryTarget.Builder clear()
Returns
Type Description
CloudStorageDiscoveryTarget.Builder
Overrides

clearCadence()

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

clearConditions()

public CloudStorageDiscoveryTarget.Builder clearConditions()

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
CloudStorageDiscoveryTarget.Builder

clearDisabled()

public CloudStorageDiscoveryTarget.Builder clearDisabled()

Optional. Disable profiling for buckets that match this filter.

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

Returns
Type Description
CloudStorageDiscoveryTarget.Builder

clearField(Descriptors.FieldDescriptor field)

public CloudStorageDiscoveryTarget.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CloudStorageDiscoveryTarget.Builder
Overrides

clearFilter()

public CloudStorageDiscoveryTarget.Builder clearFilter()

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
CloudStorageDiscoveryTarget.Builder

clearGenerationCadence()

public CloudStorageDiscoveryTarget.Builder clearGenerationCadence()

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
CloudStorageDiscoveryTarget.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudStorageDiscoveryTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CloudStorageDiscoveryTarget.Builder
Overrides

clone()

public CloudStorageDiscoveryTarget.Builder clone()
Returns
Type Description
CloudStorageDiscoveryTarget.Builder
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.

getConditionsBuilder()

public DiscoveryFileStoreConditions.Builder getConditionsBuilder()

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.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getDisabledBuilder()

public Disabled.Builder getDisabledBuilder()

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.Builder

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.

getFilterBuilder()

public DiscoveryCloudStorageFilter.Builder getFilterBuilder()

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.Builder

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.

getGenerationCadenceBuilder()

public DiscoveryCloudStorageGenerationCadence.Builder getGenerationCadenceBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConditions(DiscoveryFileStoreConditions value)

public CloudStorageDiscoveryTarget.Builder mergeConditions(DiscoveryFileStoreConditions value)

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];

Parameter
Name Description
value DiscoveryFileStoreConditions
Returns
Type Description
CloudStorageDiscoveryTarget.Builder

mergeDisabled(Disabled value)

public CloudStorageDiscoveryTarget.Builder mergeDisabled(Disabled value)

Optional. Disable profiling for buckets that match this filter.

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

Parameter
Name Description
value Disabled
Returns
Type Description
CloudStorageDiscoveryTarget.Builder

mergeFilter(DiscoveryCloudStorageFilter value)

public CloudStorageDiscoveryTarget.Builder mergeFilter(DiscoveryCloudStorageFilter value)

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];

Parameter
Name Description
value DiscoveryCloudStorageFilter
Returns
Type Description
CloudStorageDiscoveryTarget.Builder

mergeFrom(CloudStorageDiscoveryTarget other)

public CloudStorageDiscoveryTarget.Builder mergeFrom(CloudStorageDiscoveryTarget other)
Parameter
Name Description
other CloudStorageDiscoveryTarget
Returns
Type Description
CloudStorageDiscoveryTarget.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudStorageDiscoveryTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudStorageDiscoveryTarget.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CloudStorageDiscoveryTarget.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CloudStorageDiscoveryTarget.Builder
Overrides

mergeGenerationCadence(DiscoveryCloudStorageGenerationCadence value)

public CloudStorageDiscoveryTarget.Builder mergeGenerationCadence(DiscoveryCloudStorageGenerationCadence value)

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];

Parameter
Name Description
value DiscoveryCloudStorageGenerationCadence
Returns
Type Description
CloudStorageDiscoveryTarget.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudStorageDiscoveryTarget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudStorageDiscoveryTarget.Builder
Overrides

setConditions(DiscoveryFileStoreConditions value)

public CloudStorageDiscoveryTarget.Builder setConditions(DiscoveryFileStoreConditions value)

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];

Parameter
Name Description
value DiscoveryFileStoreConditions
Returns
Type Description
CloudStorageDiscoveryTarget.Builder

setConditions(DiscoveryFileStoreConditions.Builder builderForValue)

public CloudStorageDiscoveryTarget.Builder setConditions(DiscoveryFileStoreConditions.Builder builderForValue)

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];

Parameter
Name Description
builderForValue DiscoveryFileStoreConditions.Builder
Returns
Type Description
CloudStorageDiscoveryTarget.Builder

setDisabled(Disabled value)

public CloudStorageDiscoveryTarget.Builder setDisabled(Disabled value)

Optional. Disable profiling for buckets that match this filter.

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

Parameter
Name Description
value Disabled
Returns
Type Description
CloudStorageDiscoveryTarget.Builder

setDisabled(Disabled.Builder builderForValue)

public CloudStorageDiscoveryTarget.Builder setDisabled(Disabled.Builder builderForValue)

Optional. Disable profiling for buckets that match this filter.

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

Parameter
Name Description
builderForValue Disabled.Builder
Returns
Type Description
CloudStorageDiscoveryTarget.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CloudStorageDiscoveryTarget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudStorageDiscoveryTarget.Builder
Overrides

setFilter(DiscoveryCloudStorageFilter value)

public CloudStorageDiscoveryTarget.Builder setFilter(DiscoveryCloudStorageFilter value)

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];

Parameter
Name Description
value DiscoveryCloudStorageFilter
Returns
Type Description
CloudStorageDiscoveryTarget.Builder

setFilter(DiscoveryCloudStorageFilter.Builder builderForValue)

public CloudStorageDiscoveryTarget.Builder setFilter(DiscoveryCloudStorageFilter.Builder builderForValue)

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];

Parameter
Name Description
builderForValue DiscoveryCloudStorageFilter.Builder
Returns
Type Description
CloudStorageDiscoveryTarget.Builder

setGenerationCadence(DiscoveryCloudStorageGenerationCadence value)

public CloudStorageDiscoveryTarget.Builder setGenerationCadence(DiscoveryCloudStorageGenerationCadence value)

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];

Parameter
Name Description
value DiscoveryCloudStorageGenerationCadence
Returns
Type Description
CloudStorageDiscoveryTarget.Builder

setGenerationCadence(DiscoveryCloudStorageGenerationCadence.Builder builderForValue)

public CloudStorageDiscoveryTarget.Builder setGenerationCadence(DiscoveryCloudStorageGenerationCadence.Builder builderForValue)

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];

Parameter
Name Description
builderForValue DiscoveryCloudStorageGenerationCadence.Builder
Returns
Type Description
CloudStorageDiscoveryTarget.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CloudStorageDiscoveryTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CloudStorageDiscoveryTarget.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudStorageDiscoveryTarget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudStorageDiscoveryTarget.Builder
Overrides