public static final class CloudSqlDiscoveryTarget.Builder extends GeneratedMessage.Builder<CloudSqlDiscoveryTarget.Builder> implements CloudSqlDiscoveryTargetOrBuilderTarget used to match against for discovery with Cloud SQL tables.
Protobuf type google.privacy.dlp.v2.CloudSqlDiscoveryTarget
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CloudSqlDiscoveryTarget.BuilderImplements
CloudSqlDiscoveryTargetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CloudSqlDiscoveryTarget build()| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget |
|
buildPartial()
public CloudSqlDiscoveryTarget buildPartial()| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget |
|
clear()
public CloudSqlDiscoveryTarget.Builder clear()| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
clearCadence()
public CloudSqlDiscoveryTarget.Builder clearCadence()| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
clearConditions()
public CloudSqlDiscoveryTarget.Builder clearConditions()In addition to matching the filter, these conditions must be true before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2;
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
clearDisabled()
public CloudSqlDiscoveryTarget.Builder clearDisabled()Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
clearFilter()
public CloudSqlDiscoveryTarget.Builder clearFilter()Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.
.google.privacy.dlp.v2.DiscoveryCloudSqlFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
clearGenerationCadence()
public CloudSqlDiscoveryTarget.Builder clearGenerationCadence()How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence generation_cadence = 3;
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
getCadenceCase()
public CloudSqlDiscoveryTarget.CadenceCase getCadenceCase()| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.CadenceCase |
|
getConditions()
public DiscoveryCloudSqlConditions getConditions()In addition to matching the filter, these conditions must be true before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2;
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlConditions |
The conditions. |
getConditionsBuilder()
public DiscoveryCloudSqlConditions.Builder getConditionsBuilder()In addition to matching the filter, these conditions must be true before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2;
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlConditions.Builder |
|
getConditionsOrBuilder()
public DiscoveryCloudSqlConditionsOrBuilder getConditionsOrBuilder()In addition to matching the filter, these conditions must be true before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2;
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlConditionsOrBuilder |
|
getDefaultInstanceForType()
public CloudSqlDiscoveryTarget getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisabled()
public Disabled getDisabled()Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;
| Returns | |
|---|---|
| Type | Description |
Disabled |
The disabled. |
getDisabledBuilder()
public Disabled.Builder getDisabledBuilder()Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;
| Returns | |
|---|---|
| Type | Description |
Disabled.Builder |
|
getDisabledOrBuilder()
public DisabledOrBuilder getDisabledOrBuilder()Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;
| Returns | |
|---|---|
| Type | Description |
DisabledOrBuilder |
|
getFilter()
public DiscoveryCloudSqlFilter getFilter()Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.
.google.privacy.dlp.v2.DiscoveryCloudSqlFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlFilter |
The filter. |
getFilterBuilder()
public DiscoveryCloudSqlFilter.Builder getFilterBuilder()Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.
.google.privacy.dlp.v2.DiscoveryCloudSqlFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlFilter.Builder |
|
getFilterOrBuilder()
public DiscoveryCloudSqlFilterOrBuilder getFilterOrBuilder()Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.
.google.privacy.dlp.v2.DiscoveryCloudSqlFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlFilterOrBuilder |
|
getGenerationCadence()
public DiscoveryCloudSqlGenerationCadence getGenerationCadence()How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence generation_cadence = 3;
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence |
The generationCadence. |
getGenerationCadenceBuilder()
public DiscoveryCloudSqlGenerationCadence.Builder getGenerationCadenceBuilder()How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence generation_cadence = 3;
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.Builder |
|
getGenerationCadenceOrBuilder()
public DiscoveryCloudSqlGenerationCadenceOrBuilder getGenerationCadenceOrBuilder()How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence generation_cadence = 3;
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadenceOrBuilder |
|
hasConditions()
public boolean hasConditions()In addition to matching the filter, these conditions must be true before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the conditions field is set. |
hasDisabled()
public boolean hasDisabled()Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the disabled field is set. |
hasFilter()
public boolean hasFilter()Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.
.google.privacy.dlp.v2.DiscoveryCloudSqlFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the filter field is set. |
hasGenerationCadence()
public boolean hasGenerationCadence()How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence generation_cadence = 3;
| 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(DiscoveryCloudSqlConditions value)
public CloudSqlDiscoveryTarget.Builder mergeConditions(DiscoveryCloudSqlConditions value)In addition to matching the filter, these conditions must be true before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DiscoveryCloudSqlConditions |
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
mergeDisabled(Disabled value)
public CloudSqlDiscoveryTarget.Builder mergeDisabled(Disabled value)Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Disabled |
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
mergeFilter(DiscoveryCloudSqlFilter value)
public CloudSqlDiscoveryTarget.Builder mergeFilter(DiscoveryCloudSqlFilter value)Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.
.google.privacy.dlp.v2.DiscoveryCloudSqlFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DiscoveryCloudSqlFilter |
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
mergeFrom(CloudSqlDiscoveryTarget other)
public CloudSqlDiscoveryTarget.Builder mergeFrom(CloudSqlDiscoveryTarget other)| Parameter | |
|---|---|
| Name | Description |
other |
CloudSqlDiscoveryTarget |
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudSqlDiscoveryTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CloudSqlDiscoveryTarget.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
mergeGenerationCadence(DiscoveryCloudSqlGenerationCadence value)
public CloudSqlDiscoveryTarget.Builder mergeGenerationCadence(DiscoveryCloudSqlGenerationCadence value)How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence generation_cadence = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
DiscoveryCloudSqlGenerationCadence |
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
setConditions(DiscoveryCloudSqlConditions value)
public CloudSqlDiscoveryTarget.Builder setConditions(DiscoveryCloudSqlConditions value)In addition to matching the filter, these conditions must be true before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DiscoveryCloudSqlConditions |
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
setConditions(DiscoveryCloudSqlConditions.Builder builderForValue)
public CloudSqlDiscoveryTarget.Builder setConditions(DiscoveryCloudSqlConditions.Builder builderForValue)In addition to matching the filter, these conditions must be true before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DiscoveryCloudSqlConditions.Builder |
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
setDisabled(Disabled value)
public CloudSqlDiscoveryTarget.Builder setDisabled(Disabled value)Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Disabled |
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
setDisabled(Disabled.Builder builderForValue)
public CloudSqlDiscoveryTarget.Builder setDisabled(Disabled.Builder builderForValue)Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Disabled.Builder |
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
setFilter(DiscoveryCloudSqlFilter value)
public CloudSqlDiscoveryTarget.Builder setFilter(DiscoveryCloudSqlFilter value)Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.
.google.privacy.dlp.v2.DiscoveryCloudSqlFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DiscoveryCloudSqlFilter |
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
setFilter(DiscoveryCloudSqlFilter.Builder builderForValue)
public CloudSqlDiscoveryTarget.Builder setFilter(DiscoveryCloudSqlFilter.Builder builderForValue)Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.
.google.privacy.dlp.v2.DiscoveryCloudSqlFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DiscoveryCloudSqlFilter.Builder |
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
setGenerationCadence(DiscoveryCloudSqlGenerationCadence value)
public CloudSqlDiscoveryTarget.Builder setGenerationCadence(DiscoveryCloudSqlGenerationCadence value)How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence generation_cadence = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
DiscoveryCloudSqlGenerationCadence |
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|
setGenerationCadence(DiscoveryCloudSqlGenerationCadence.Builder builderForValue)
public CloudSqlDiscoveryTarget.Builder setGenerationCadence(DiscoveryCloudSqlGenerationCadence.Builder builderForValue)How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence generation_cadence = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DiscoveryCloudSqlGenerationCadence.Builder |
| Returns | |
|---|---|
| Type | Description |
CloudSqlDiscoveryTarget.Builder |
|