Class DiscoveryCloudSqlConditions.Builder (3.47.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)

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

clearTypes()

public DiscoveryCloudSqlConditions.Builder clearTypes()

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;

Returns
Type Description
DiscoveryCloudSqlConditions.Builder

This builder for chaining.

clone()

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

getDatabaseEngines(int index)

public DiscoveryCloudSqlConditions.DatabaseEngine getDatabaseEngines(int index)

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
index int

The index of the element to return.

Returns
Type Description
DiscoveryCloudSqlConditions.DatabaseEngine

The databaseEngines at the given index.

getDatabaseEnginesCount()

public int getDatabaseEnginesCount()

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
int

The count of databaseEngines.

getDatabaseEnginesList()

public List<DiscoveryCloudSqlConditions.DatabaseEngine> getDatabaseEnginesList()

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
List<DatabaseEngine>

A list containing the databaseEngines.

getDatabaseEnginesValue(int index)

public int getDatabaseEnginesValue(int index)

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
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of databaseEngines at the given index.

getDatabaseEnginesValueList()

public List<Integer> getDatabaseEnginesValueList()

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
List<Integer>

A list containing the enum numeric values on the wire for databaseEngines.

getDefaultInstanceForType()

public DiscoveryCloudSqlConditions getDefaultInstanceForType()
Returns
Type Description
DiscoveryCloudSqlConditions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTypes(int index)

public DiscoveryCloudSqlConditions.DatabaseResourceType getTypes(int index)

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
index int

The index of the element to return.

Returns
Type Description
DiscoveryCloudSqlConditions.DatabaseResourceType

The types at the given index.

getTypesCount()

public int getTypesCount()

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;

Returns
Type Description
int

The count of types.

getTypesList()

public List<DiscoveryCloudSqlConditions.DatabaseResourceType> getTypesList()

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;

Returns
Type Description
List<DatabaseResourceType>

A list containing the types.

getTypesValue(int index)

public int getTypesValue(int index)

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
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of types at the given index.

getTypesValueList()

public List<Integer> getTypesValueList()

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;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for types.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiscoveryCloudSqlConditions other)

public DiscoveryCloudSqlConditions.Builder mergeFrom(DiscoveryCloudSqlConditions other)
Parameter
Name Description
other DiscoveryCloudSqlConditions
Returns
Type Description
DiscoveryCloudSqlConditions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoveryCloudSqlConditions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryCloudSqlConditions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDatabaseEngines(int index, DiscoveryCloudSqlConditions.DatabaseEngine value)

public DiscoveryCloudSqlConditions.Builder setDatabaseEngines(int index, 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];

Parameters
Name Description
index int

The index to set the value at.

value DiscoveryCloudSqlConditions.DatabaseEngine

The databaseEngines to set.

Returns
Type Description
DiscoveryCloudSqlConditions.Builder

This builder for chaining.

setDatabaseEnginesValue(int index, int value)

public DiscoveryCloudSqlConditions.Builder setDatabaseEnginesValue(int index, 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];

Parameters
Name Description
index int

The index to set the value at.

value int

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

Returns
Type Description
DiscoveryCloudSqlConditions.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTypes(int index, DiscoveryCloudSqlConditions.DatabaseResourceType value)

public DiscoveryCloudSqlConditions.Builder setTypes(int index, 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;

Parameters
Name Description
index int

The index to set the value at.

value DiscoveryCloudSqlConditions.DatabaseResourceType

The types to set.

Returns
Type Description
DiscoveryCloudSqlConditions.Builder

This builder for chaining.

setTypesValue(int index, int value)

public DiscoveryCloudSqlConditions.Builder setTypesValue(int index, 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;

Parameters
Name Description
index int

The index to set the value at.

value int

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

Returns
Type Description
DiscoveryCloudSqlConditions.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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