Class DiscoveryCloudSqlConditions.Builder (3.48.0)

public static final class DiscoveryCloudSqlConditions.Builder extends GeneratedMessageV3.Builder<DiscoveryCloudSqlConditions.Builder> implements DiscoveryCloudSqlConditionsOrBuilder

Requirements that must be true before a table is profiled for the first time.

Protobuf type google.privacy.dlp.v2.DiscoveryCloudSqlConditions

Static Methods

getDescriptor()

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

Methods

addAllDatabaseEngines(Iterable<? extends DiscoveryCloudSqlConditions.DatabaseEngine> values)

public DiscoveryCloudSqlConditions.Builder addAllDatabaseEngines(Iterable<? extends DiscoveryCloudSqlConditions.DatabaseEngine> values)

Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine>

The databaseEngines to add.

Returns
Type Description
DiscoveryCloudSqlConditions.Builder

This builder for chaining.

addAllDatabaseEnginesValue(Iterable<Integer> values)

public DiscoveryCloudSqlConditions.Builder addAllDatabaseEnginesValue(Iterable<Integer> values)

Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for databaseEngines to add.

Returns
Type Description
DiscoveryCloudSqlConditions.Builder

This builder for chaining.

addAllTypes(Iterable<? extends DiscoveryCloudSqlConditions.DatabaseResourceType> values)

public DiscoveryCloudSqlConditions.Builder addAllTypes(Iterable<? extends DiscoveryCloudSqlConditions.DatabaseResourceType> values)

Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType>

The types to add.

Returns
Type Description
DiscoveryCloudSqlConditions.Builder

This builder for chaining.

addAllTypesValue(Iterable<Integer> values)

public DiscoveryCloudSqlConditions.Builder addAllTypesValue(Iterable<Integer> values)

Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for types to add.

Returns
Type Description
DiscoveryCloudSqlConditions.Builder

This builder for chaining.

addDatabaseEngines(DiscoveryCloudSqlConditions.DatabaseEngine value)

public DiscoveryCloudSqlConditions.Builder addDatabaseEngines(DiscoveryCloudSqlConditions.DatabaseEngine value)

Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DiscoveryCloudSqlConditions.DatabaseEngine

The databaseEngines to add.

Returns
Type Description
DiscoveryCloudSqlConditions.Builder

This builder for chaining.

addDatabaseEnginesValue(int value)

public DiscoveryCloudSqlConditions.Builder addDatabaseEnginesValue(int value)

Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for databaseEngines to add.

Returns
Type Description
DiscoveryCloudSqlConditions.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTypes(DiscoveryCloudSqlConditions.DatabaseResourceType value)

public DiscoveryCloudSqlConditions.Builder addTypes(DiscoveryCloudSqlConditions.DatabaseResourceType value)

Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;

Parameter
Name Description
value DiscoveryCloudSqlConditions.DatabaseResourceType

The types to add.

Returns
Type Description
DiscoveryCloudSqlConditions.Builder

This builder for chaining.

addTypesValue(int value)

public DiscoveryCloudSqlConditions.Builder addTypesValue(int value)

Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for types to add.

Returns
Type Description
DiscoveryCloudSqlConditions.Builder

This builder for chaining.

build()

public DiscoveryCloudSqlConditions build()
Returns
Type Description
DiscoveryCloudSqlConditions

buildPartial()

public DiscoveryCloudSqlConditions buildPartial()
Returns
Type Description
DiscoveryCloudSqlConditions

clear()

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

clearDatabaseEngines()

public DiscoveryCloudSqlConditions.Builder clearDatabaseEngines()

Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.

repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DiscoveryCloudSqlConditions.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)