public static final class DiscoveryCloudSqlConditions.Builder extends GeneratedMessage.Builder<DiscoveryCloudSqlConditions.Builder> implements DiscoveryCloudSqlConditionsOrBuilderRequirements that must be true before a table is profiled for the first time.
Protobuf type google.privacy.dlp.v2.DiscoveryCloudSqlConditions
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DiscoveryCloudSqlConditions.BuilderImplements
DiscoveryCloudSqlConditionsOrBuilderStatic 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.DatabaseEngineThe 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 |
intThe enum numeric value on the wire for databaseEngines to add. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlConditions.Builder |
This builder for chaining. |
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.DatabaseResourceTypeThe 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 |
intThe 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 |
|
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. |
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. |
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 |
intThe 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 |
intThe 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 |
|
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 |
intThe 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 |
intThe 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DiscoveryCloudSqlConditions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlConditions.Builder |
|
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 |
intThe index to set the value at. |
value |
DiscoveryCloudSqlConditions.DatabaseEngineThe 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 |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for databaseEngines to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlConditions.Builder |
This builder for chaining. |
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 |
intThe index to set the value at. |
value |
DiscoveryCloudSqlConditions.DatabaseResourceTypeThe 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 |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for types to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlConditions.Builder |
This builder for chaining. |