Class CloudSqlDiscoveryTarget.Builder (3.55.0)

public static final class CloudSqlDiscoveryTarget.Builder extends GeneratedMessageV3.Builder<CloudSqlDiscoveryTarget.Builder> implements CloudSqlDiscoveryTargetOrBuilder

Target used to match against for discovery with Cloud SQL tables.

Protobuf type google.privacy.dlp.v2.CloudSqlDiscoveryTarget

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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
Overrides

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

clearField(Descriptors.FieldDescriptor field)

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

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CloudSqlDiscoveryTarget.Builder clone()
Returns
Type Description
CloudSqlDiscoveryTarget.Builder
Overrides

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
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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