- 2.52.0 (latest)
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.8
- 2.1.9
public static final class CloudSqlSettings.Builder extends GeneratedMessageV3.Builder<CloudSqlSettings.Builder> implements CloudSqlSettingsOrBuilder
Settings for creating a Cloud SQL database instance.
Protobuf type google.cloud.clouddms.v1.CloudSqlSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudSqlSettings.BuilderImplements
CloudSqlSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudSqlSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CloudSqlSettings.Builder |
build()
public CloudSqlSettings build()
Type | Description |
CloudSqlSettings |
buildPartial()
public CloudSqlSettings buildPartial()
Type | Description |
CloudSqlSettings |
clear()
public CloudSqlSettings.Builder clear()
Type | Description |
CloudSqlSettings.Builder |
clearActivationPolicy()
public CloudSqlSettings.Builder clearActivationPolicy()
The activation policy specifies when the instance is activated; it is
applicable only when the instance state is 'RUNNABLE'. Valid values:
'ALWAYS': The instance is on, and remains so even in
the absence of connection requests.
NEVER
: The instance is off; it is not activated, even if a
connection request arrives.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy activation_policy = 5;
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
clearAutoStorageIncrease()
public CloudSqlSettings.Builder clearAutoStorageIncrease()
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;
Type | Description |
CloudSqlSettings.Builder |
clearCollation()
public CloudSqlSettings.Builder clearCollation()
The Cloud SQL default instance level collation.
string collation = 15;
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
clearDataDiskSizeGb()
public CloudSqlSettings.Builder clearDataDiskSizeGb()
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;
Type | Description |
CloudSqlSettings.Builder |
clearDataDiskType()
public CloudSqlSettings.Builder clearDataDiskType()
The type of storage: PD_SSD
(default) or PD_HDD
.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType data_disk_type = 9;
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
clearDatabaseFlags()
public CloudSqlSettings.Builder clearDatabaseFlags()
Type | Description |
CloudSqlSettings.Builder |
clearDatabaseVersion()
public CloudSqlSettings.Builder clearDatabaseVersion()
The database engine type and version.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion database_version = 1;
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CloudSqlSettings.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CloudSqlSettings.Builder |
clearIpConfig()
public CloudSqlSettings.Builder clearIpConfig()
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;
Type | Description |
CloudSqlSettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudSqlSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CloudSqlSettings.Builder |
clearRootPassword()
public CloudSqlSettings.Builder clearRootPassword()
Input only. Initial root password.
string root_password = 13 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
clearRootPasswordSet()
public CloudSqlSettings.Builder clearRootPasswordSet()
Output only. Indicates If this connection profile root password is stored.
bool root_password_set = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
clearSourceId()
public CloudSqlSettings.Builder clearSourceId()
The Database Migration Service source connection profile ID,
in the format:
projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID
string source_id = 12;
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
clearStorageAutoResizeLimit()
public CloudSqlSettings.Builder clearStorageAutoResizeLimit()
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;
Type | Description |
CloudSqlSettings.Builder |
clearTier()
public CloudSqlSettings.Builder clearTier()
The tier (or machine type) for this instance, for example:
db-n1-standard-1
(MySQL instances) or
db-custom-1-3840
(PostgreSQL instances).
For more information, see
Cloud SQL Instance
Settings.
string tier = 3;
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
clearUserLabels()
public CloudSqlSettings.Builder clearUserLabels()
Type | Description |
CloudSqlSettings.Builder |
clearZone()
public CloudSqlSettings.Builder clearZone()
The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.
string zone = 11;
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
clone()
public CloudSqlSettings.Builder clone()
Type | Description |
CloudSqlSettings.Builder |
containsDatabaseFlags(String key)
public boolean containsDatabaseFlags(String key)
The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;
Name | Description |
key | String |
Type | Description |
boolean |
containsUserLabels(String key)
public boolean containsUserLabels(String key)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: { "name": "wrench", "mass": "18kg", "count": "3" }
.
map<string, string> user_labels = 2;
Name | Description |
key | String |
Type | Description |
boolean |
getActivationPolicy()
public CloudSqlSettings.SqlActivationPolicy getActivationPolicy()
The activation policy specifies when the instance is activated; it is
applicable only when the instance state is 'RUNNABLE'. Valid values:
'ALWAYS': The instance is on, and remains so even in
the absence of connection requests.
NEVER
: The instance is off; it is not activated, even if a
connection request arrives.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy activation_policy = 5;
Type | Description |
CloudSqlSettings.SqlActivationPolicy | The activationPolicy. |
getActivationPolicyValue()
public int getActivationPolicyValue()
The activation policy specifies when the instance is activated; it is
applicable only when the instance state is 'RUNNABLE'. Valid values:
'ALWAYS': The instance is on, and remains so even in
the absence of connection requests.
NEVER
: The instance is off; it is not activated, even if a
connection request arrives.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy activation_policy = 5;
Type | Description |
int | The enum numeric value on the wire for activationPolicy. |
getAutoStorageIncrease()
public BoolValue getAutoStorageIncrease()
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;
Type | Description |
BoolValue | The autoStorageIncrease. |
getAutoStorageIncreaseBuilder()
public BoolValue.Builder getAutoStorageIncreaseBuilder()
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;
Type | Description |
Builder |
getAutoStorageIncreaseOrBuilder()
public BoolValueOrBuilder getAutoStorageIncreaseOrBuilder()
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;
Type | Description |
BoolValueOrBuilder |
getCollation()
public String getCollation()
The Cloud SQL default instance level collation.
string collation = 15;
Type | Description |
String | The collation. |
getCollationBytes()
public ByteString getCollationBytes()
The Cloud SQL default instance level collation.
string collation = 15;
Type | Description |
ByteString | The bytes for collation. |
getDataDiskSizeGb()
public Int64Value getDataDiskSizeGb()
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;
Type | Description |
Int64Value | The dataDiskSizeGb. |
getDataDiskSizeGbBuilder()
public Int64Value.Builder getDataDiskSizeGbBuilder()
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;
Type | Description |
Builder |
getDataDiskSizeGbOrBuilder()
public Int64ValueOrBuilder getDataDiskSizeGbOrBuilder()
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;
Type | Description |
Int64ValueOrBuilder |
getDataDiskType()
public CloudSqlSettings.SqlDataDiskType getDataDiskType()
The type of storage: PD_SSD
(default) or PD_HDD
.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType data_disk_type = 9;
Type | Description |
CloudSqlSettings.SqlDataDiskType | The dataDiskType. |
getDataDiskTypeValue()
public int getDataDiskTypeValue()
The type of storage: PD_SSD
(default) or PD_HDD
.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType data_disk_type = 9;
Type | Description |
int | The enum numeric value on the wire for dataDiskType. |
getDatabaseFlags()
public Map<String,String> getDatabaseFlags()
Use #getDatabaseFlagsMap() instead.
Type | Description |
Map<String,String> |
getDatabaseFlagsCount()
public int getDatabaseFlagsCount()
The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;
Type | Description |
int |
getDatabaseFlagsMap()
public Map<String,String> getDatabaseFlagsMap()
The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;
Type | Description |
Map<String,String> |
getDatabaseFlagsOrDefault(String key, String defaultValue)
public String getDatabaseFlagsOrDefault(String key, String defaultValue)
The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getDatabaseFlagsOrThrow(String key)
public String getDatabaseFlagsOrThrow(String key)
The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;
Name | Description |
key | String |
Type | Description |
String |
getDatabaseVersion()
public CloudSqlSettings.SqlDatabaseVersion getDatabaseVersion()
The database engine type and version.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion database_version = 1;
Type | Description |
CloudSqlSettings.SqlDatabaseVersion | The databaseVersion. |
getDatabaseVersionValue()
public int getDatabaseVersionValue()
The database engine type and version.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion database_version = 1;
Type | Description |
int | The enum numeric value on the wire for databaseVersion. |
getDefaultInstanceForType()
public CloudSqlSettings getDefaultInstanceForType()
Type | Description |
CloudSqlSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getIpConfig()
public SqlIpConfig getIpConfig()
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;
Type | Description |
SqlIpConfig | The ipConfig. |
getIpConfigBuilder()
public SqlIpConfig.Builder getIpConfigBuilder()
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;
Type | Description |
SqlIpConfig.Builder |
getIpConfigOrBuilder()
public SqlIpConfigOrBuilder getIpConfigOrBuilder()
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;
Type | Description |
SqlIpConfigOrBuilder |
getMutableDatabaseFlags()
public Map<String,String> getMutableDatabaseFlags()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getMutableUserLabels()
public Map<String,String> getMutableUserLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getRootPassword()
public String getRootPassword()
Input only. Initial root password.
string root_password = 13 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
String | The rootPassword. |
getRootPasswordBytes()
public ByteString getRootPasswordBytes()
Input only. Initial root password.
string root_password = 13 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
ByteString | The bytes for rootPassword. |
getRootPasswordSet()
public boolean getRootPasswordSet()
Output only. Indicates If this connection profile root password is stored.
bool root_password_set = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | The rootPasswordSet. |
getSourceId()
public String getSourceId()
The Database Migration Service source connection profile ID,
in the format:
projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID
string source_id = 12;
Type | Description |
String | The sourceId. |
getSourceIdBytes()
public ByteString getSourceIdBytes()
The Database Migration Service source connection profile ID,
in the format:
projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID
string source_id = 12;
Type | Description |
ByteString | The bytes for sourceId. |
getStorageAutoResizeLimit()
public Int64Value getStorageAutoResizeLimit()
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;
Type | Description |
Int64Value | The storageAutoResizeLimit. |
getStorageAutoResizeLimitBuilder()
public Int64Value.Builder getStorageAutoResizeLimitBuilder()
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;
Type | Description |
Builder |
getStorageAutoResizeLimitOrBuilder()
public Int64ValueOrBuilder getStorageAutoResizeLimitOrBuilder()
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;
Type | Description |
Int64ValueOrBuilder |
getTier()
public String getTier()
The tier (or machine type) for this instance, for example:
db-n1-standard-1
(MySQL instances) or
db-custom-1-3840
(PostgreSQL instances).
For more information, see
Cloud SQL Instance
Settings.
string tier = 3;
Type | Description |
String | The tier. |
getTierBytes()
public ByteString getTierBytes()
The tier (or machine type) for this instance, for example:
db-n1-standard-1
(MySQL instances) or
db-custom-1-3840
(PostgreSQL instances).
For more information, see
Cloud SQL Instance
Settings.
string tier = 3;
Type | Description |
ByteString | The bytes for tier. |
getUserLabels()
public Map<String,String> getUserLabels()
Use #getUserLabelsMap() instead.
Type | Description |
Map<String,String> |
getUserLabelsCount()
public int getUserLabelsCount()
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: { "name": "wrench", "mass": "18kg", "count": "3" }
.
map<string, string> user_labels = 2;
Type | Description |
int |
getUserLabelsMap()
public Map<String,String> getUserLabelsMap()
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: { "name": "wrench", "mass": "18kg", "count": "3" }
.
map<string, string> user_labels = 2;
Type | Description |
Map<String,String> |
getUserLabelsOrDefault(String key, String defaultValue)
public String getUserLabelsOrDefault(String key, String defaultValue)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: { "name": "wrench", "mass": "18kg", "count": "3" }
.
map<string, string> user_labels = 2;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getUserLabelsOrThrow(String key)
public String getUserLabelsOrThrow(String key)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: { "name": "wrench", "mass": "18kg", "count": "3" }
.
map<string, string> user_labels = 2;
Name | Description |
key | String |
Type | Description |
String |
getZone()
public String getZone()
The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.
string zone = 11;
Type | Description |
String | The zone. |
getZoneBytes()
public ByteString getZoneBytes()
The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.
string zone = 11;
Type | Description |
ByteString | The bytes for zone. |
hasAutoStorageIncrease()
public boolean hasAutoStorageIncrease()
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;
Type | Description |
boolean | Whether the autoStorageIncrease field is set. |
hasDataDiskSizeGb()
public boolean hasDataDiskSizeGb()
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;
Type | Description |
boolean | Whether the dataDiskSizeGb field is set. |
hasIpConfig()
public boolean hasIpConfig()
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;
Type | Description |
boolean | Whether the ipConfig field is set. |
hasStorageAutoResizeLimit()
public boolean hasStorageAutoResizeLimit()
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;
Type | Description |
boolean | Whether the storageAutoResizeLimit field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAutoStorageIncrease(BoolValue value)
public CloudSqlSettings.Builder mergeAutoStorageIncrease(BoolValue value)
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;
Name | Description |
value | BoolValue |
Type | Description |
CloudSqlSettings.Builder |
mergeDataDiskSizeGb(Int64Value value)
public CloudSqlSettings.Builder mergeDataDiskSizeGb(Int64Value value)
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;
Name | Description |
value | Int64Value |
Type | Description |
CloudSqlSettings.Builder |
mergeFrom(CloudSqlSettings other)
public CloudSqlSettings.Builder mergeFrom(CloudSqlSettings other)
Name | Description |
other | CloudSqlSettings |
Type | Description |
CloudSqlSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudSqlSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CloudSqlSettings.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CloudSqlSettings.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CloudSqlSettings.Builder |
mergeIpConfig(SqlIpConfig value)
public CloudSqlSettings.Builder mergeIpConfig(SqlIpConfig value)
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;
Name | Description |
value | SqlIpConfig |
Type | Description |
CloudSqlSettings.Builder |
mergeStorageAutoResizeLimit(Int64Value value)
public CloudSqlSettings.Builder mergeStorageAutoResizeLimit(Int64Value value)
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;
Name | Description |
value | Int64Value |
Type | Description |
CloudSqlSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudSqlSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CloudSqlSettings.Builder |
putAllDatabaseFlags(Map<String,String> values)
public CloudSqlSettings.Builder putAllDatabaseFlags(Map<String,String> values)
The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;
Name | Description |
values | Map<String,String> |
Type | Description |
CloudSqlSettings.Builder |
putAllUserLabels(Map<String,String> values)
public CloudSqlSettings.Builder putAllUserLabels(Map<String,String> values)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: { "name": "wrench", "mass": "18kg", "count": "3" }
.
map<string, string> user_labels = 2;
Name | Description |
values | Map<String,String> |
Type | Description |
CloudSqlSettings.Builder |
putDatabaseFlags(String key, String value)
public CloudSqlSettings.Builder putDatabaseFlags(String key, String value)
The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;
Name | Description |
key | String |
value | String |
Type | Description |
CloudSqlSettings.Builder |
putUserLabels(String key, String value)
public CloudSqlSettings.Builder putUserLabels(String key, String value)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: { "name": "wrench", "mass": "18kg", "count": "3" }
.
map<string, string> user_labels = 2;
Name | Description |
key | String |
value | String |
Type | Description |
CloudSqlSettings.Builder |
removeDatabaseFlags(String key)
public CloudSqlSettings.Builder removeDatabaseFlags(String key)
The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;
Name | Description |
key | String |
Type | Description |
CloudSqlSettings.Builder |
removeUserLabels(String key)
public CloudSqlSettings.Builder removeUserLabels(String key)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: { "name": "wrench", "mass": "18kg", "count": "3" }
.
map<string, string> user_labels = 2;
Name | Description |
key | String |
Type | Description |
CloudSqlSettings.Builder |
setActivationPolicy(CloudSqlSettings.SqlActivationPolicy value)
public CloudSqlSettings.Builder setActivationPolicy(CloudSqlSettings.SqlActivationPolicy value)
The activation policy specifies when the instance is activated; it is
applicable only when the instance state is 'RUNNABLE'. Valid values:
'ALWAYS': The instance is on, and remains so even in
the absence of connection requests.
NEVER
: The instance is off; it is not activated, even if a
connection request arrives.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy activation_policy = 5;
Name | Description |
value | CloudSqlSettings.SqlActivationPolicy The activationPolicy to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setActivationPolicyValue(int value)
public CloudSqlSettings.Builder setActivationPolicyValue(int value)
The activation policy specifies when the instance is activated; it is
applicable only when the instance state is 'RUNNABLE'. Valid values:
'ALWAYS': The instance is on, and remains so even in
the absence of connection requests.
NEVER
: The instance is off; it is not activated, even if a
connection request arrives.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy activation_policy = 5;
Name | Description |
value | int The enum numeric value on the wire for activationPolicy to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setAutoStorageIncrease(BoolValue value)
public CloudSqlSettings.Builder setAutoStorageIncrease(BoolValue value)
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;
Name | Description |
value | BoolValue |
Type | Description |
CloudSqlSettings.Builder |
setAutoStorageIncrease(BoolValue.Builder builderForValue)
public CloudSqlSettings.Builder setAutoStorageIncrease(BoolValue.Builder builderForValue)
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;
Name | Description |
builderForValue | Builder |
Type | Description |
CloudSqlSettings.Builder |
setCollation(String value)
public CloudSqlSettings.Builder setCollation(String value)
The Cloud SQL default instance level collation.
string collation = 15;
Name | Description |
value | String The collation to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setCollationBytes(ByteString value)
public CloudSqlSettings.Builder setCollationBytes(ByteString value)
The Cloud SQL default instance level collation.
string collation = 15;
Name | Description |
value | ByteString The bytes for collation to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setDataDiskSizeGb(Int64Value value)
public CloudSqlSettings.Builder setDataDiskSizeGb(Int64Value value)
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;
Name | Description |
value | Int64Value |
Type | Description |
CloudSqlSettings.Builder |
setDataDiskSizeGb(Int64Value.Builder builderForValue)
public CloudSqlSettings.Builder setDataDiskSizeGb(Int64Value.Builder builderForValue)
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;
Name | Description |
builderForValue | Builder |
Type | Description |
CloudSqlSettings.Builder |
setDataDiskType(CloudSqlSettings.SqlDataDiskType value)
public CloudSqlSettings.Builder setDataDiskType(CloudSqlSettings.SqlDataDiskType value)
The type of storage: PD_SSD
(default) or PD_HDD
.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType data_disk_type = 9;
Name | Description |
value | CloudSqlSettings.SqlDataDiskType The dataDiskType to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setDataDiskTypeValue(int value)
public CloudSqlSettings.Builder setDataDiskTypeValue(int value)
The type of storage: PD_SSD
(default) or PD_HDD
.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType data_disk_type = 9;
Name | Description |
value | int The enum numeric value on the wire for dataDiskType to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setDatabaseVersion(CloudSqlSettings.SqlDatabaseVersion value)
public CloudSqlSettings.Builder setDatabaseVersion(CloudSqlSettings.SqlDatabaseVersion value)
The database engine type and version.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion database_version = 1;
Name | Description |
value | CloudSqlSettings.SqlDatabaseVersion The databaseVersion to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setDatabaseVersionValue(int value)
public CloudSqlSettings.Builder setDatabaseVersionValue(int value)
The database engine type and version.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion database_version = 1;
Name | Description |
value | int The enum numeric value on the wire for databaseVersion to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CloudSqlSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CloudSqlSettings.Builder |
setIpConfig(SqlIpConfig value)
public CloudSqlSettings.Builder setIpConfig(SqlIpConfig value)
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;
Name | Description |
value | SqlIpConfig |
Type | Description |
CloudSqlSettings.Builder |
setIpConfig(SqlIpConfig.Builder builderForValue)
public CloudSqlSettings.Builder setIpConfig(SqlIpConfig.Builder builderForValue)
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;
Name | Description |
builderForValue | SqlIpConfig.Builder |
Type | Description |
CloudSqlSettings.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudSqlSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CloudSqlSettings.Builder |
setRootPassword(String value)
public CloudSqlSettings.Builder setRootPassword(String value)
Input only. Initial root password.
string root_password = 13 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | String The rootPassword to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setRootPasswordBytes(ByteString value)
public CloudSqlSettings.Builder setRootPasswordBytes(ByteString value)
Input only. Initial root password.
string root_password = 13 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | ByteString The bytes for rootPassword to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setRootPasswordSet(boolean value)
public CloudSqlSettings.Builder setRootPasswordSet(boolean value)
Output only. Indicates If this connection profile root password is stored.
bool root_password_set = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | boolean The rootPasswordSet to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setSourceId(String value)
public CloudSqlSettings.Builder setSourceId(String value)
The Database Migration Service source connection profile ID,
in the format:
projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID
string source_id = 12;
Name | Description |
value | String The sourceId to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setSourceIdBytes(ByteString value)
public CloudSqlSettings.Builder setSourceIdBytes(ByteString value)
The Database Migration Service source connection profile ID,
in the format:
projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID
string source_id = 12;
Name | Description |
value | ByteString The bytes for sourceId to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setStorageAutoResizeLimit(Int64Value value)
public CloudSqlSettings.Builder setStorageAutoResizeLimit(Int64Value value)
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;
Name | Description |
value | Int64Value |
Type | Description |
CloudSqlSettings.Builder |
setStorageAutoResizeLimit(Int64Value.Builder builderForValue)
public CloudSqlSettings.Builder setStorageAutoResizeLimit(Int64Value.Builder builderForValue)
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;
Name | Description |
builderForValue | Builder |
Type | Description |
CloudSqlSettings.Builder |
setTier(String value)
public CloudSqlSettings.Builder setTier(String value)
The tier (or machine type) for this instance, for example:
db-n1-standard-1
(MySQL instances) or
db-custom-1-3840
(PostgreSQL instances).
For more information, see
Cloud SQL Instance
Settings.
string tier = 3;
Name | Description |
value | String The tier to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setTierBytes(ByteString value)
public CloudSqlSettings.Builder setTierBytes(ByteString value)
The tier (or machine type) for this instance, for example:
db-n1-standard-1
(MySQL instances) or
db-custom-1-3840
(PostgreSQL instances).
For more information, see
Cloud SQL Instance
Settings.
string tier = 3;
Name | Description |
value | ByteString The bytes for tier to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudSqlSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CloudSqlSettings.Builder |
setZone(String value)
public CloudSqlSettings.Builder setZone(String value)
The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.
string zone = 11;
Name | Description |
value | String The zone to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |
setZoneBytes(ByteString value)
public CloudSqlSettings.Builder setZoneBytes(ByteString value)
The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.
string zone = 11;
Name | Description |
value | ByteString The bytes for zone to set. |
Type | Description |
CloudSqlSettings.Builder | This builder for chaining. |