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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudStorageDiscoveryTarget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CloudStorageDiscoveryTarget build()
buildPartial()
public CloudStorageDiscoveryTarget buildPartial()
clear()
public CloudStorageDiscoveryTarget.Builder clear()
Overrides
clearCadence()
public CloudStorageDiscoveryTarget.Builder clearCadence()
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];
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];
clearField(Descriptors.FieldDescriptor field)
public CloudStorageDiscoveryTarget.Builder clearField(Descriptors.FieldDescriptor field)
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];
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudStorageDiscoveryTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CloudStorageDiscoveryTarget.Builder clone()
Overrides
getCadenceCase()
public CloudStorageDiscoveryTarget.CadenceCase getCadenceCase()
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];
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];
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];
getDefaultInstanceForType()
public CloudStorageDiscoveryTarget getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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];
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];
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
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
|
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];
mergeFrom(CloudStorageDiscoveryTarget other)
public CloudStorageDiscoveryTarget.Builder mergeFrom(CloudStorageDiscoveryTarget other)
public CloudStorageDiscoveryTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CloudStorageDiscoveryTarget.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudStorageDiscoveryTarget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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
|
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];
setField(Descriptors.FieldDescriptor field, Object value)
public CloudStorageDiscoveryTarget.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudStorageDiscoveryTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudStorageDiscoveryTarget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides