public static final class CloudStorageDiscoveryTarget.Builder extends GeneratedMessage.Builder<CloudStorageDiscoveryTarget.Builder> implements CloudStorageDiscoveryTargetOrBuilderTarget used to match against for discovery with Cloud Storage buckets.
Protobuf type google.privacy.dlp.v2.CloudStorageDiscoveryTarget
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CloudStorageDiscoveryTarget.BuilderImplements
CloudStorageDiscoveryTargetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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 |
|
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CloudStorageDiscoveryTarget.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CloudStorageDiscoveryTarget.Builder |
|
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 |
|
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 |
|
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 |
|