public interface SettingsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsUserLabels(String key)
public abstract boolean containsUserLabels(String key)User-provided labels, represented as a dictionary where each label is a single key value pair.
map<string, string> user_labels = 5;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAcceleratedReplicaMode()
public abstract BoolValue getAcceleratedReplicaMode()Optional. Whether the replica is in accelerated mode. This feature is in private preview and requires allowlisting to take effect.
.google.protobuf.BoolValue accelerated_replica_mode = 49 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The acceleratedReplicaMode. |
getAcceleratedReplicaModeOrBuilder()
public abstract BoolValueOrBuilder getAcceleratedReplicaModeOrBuilder()Optional. Whether the replica is in accelerated mode. This feature is in private preview and requires allowlisting to take effect.
.google.protobuf.BoolValue accelerated_replica_mode = 49 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getActivationPolicy()
public abstract Settings.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.sql.v1.Settings.SqlActivationPolicy activation_policy = 10;
| Returns | |
|---|---|
| Type | Description |
Settings.SqlActivationPolicy |
The activationPolicy. |
getActivationPolicyValue()
public abstract 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.sql.v1.Settings.SqlActivationPolicy activation_policy = 10;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for activationPolicy. |
getActiveDirectoryConfig()
public abstract SqlActiveDirectoryConfig getActiveDirectoryConfig()Active Directory configuration, relevant only for Cloud SQL for SQL Server.
.google.cloud.sql.v1.SqlActiveDirectoryConfig active_directory_config = 22;
| Returns | |
|---|---|
| Type | Description |
SqlActiveDirectoryConfig |
The activeDirectoryConfig. |
getActiveDirectoryConfigOrBuilder()
public abstract SqlActiveDirectoryConfigOrBuilder getActiveDirectoryConfigOrBuilder()Active Directory configuration, relevant only for Cloud SQL for SQL Server.
.google.cloud.sql.v1.SqlActiveDirectoryConfig active_directory_config = 22;
| Returns | |
|---|---|
| Type | Description |
SqlActiveDirectoryConfigOrBuilder |
|
getAdvancedMachineFeatures()
public abstract AdvancedMachineFeatures getAdvancedMachineFeatures()Specifies advanced machine configuration for the instances relevant only for SQL Server.
.google.cloud.sql.v1.AdvancedMachineFeatures advanced_machine_features = 35;
| Returns | |
|---|---|
| Type | Description |
AdvancedMachineFeatures |
The advancedMachineFeatures. |
getAdvancedMachineFeaturesOrBuilder()
public abstract AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder()Specifies advanced machine configuration for the instances relevant only for SQL Server.
.google.cloud.sql.v1.AdvancedMachineFeatures advanced_machine_features = 35;
| Returns | |
|---|---|
| Type | Description |
AdvancedMachineFeaturesOrBuilder |
|
getAuthorizedGaeApplications(int index) (deprecated)
public abstract String getAuthorizedGaeApplications(int index)Deprecated. google.cloud.sql.v1.Settings.authorized_gae_applications is deprecated. See google/cloud/sql/v1/cloud_sql_resources.proto;l=1658
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
repeated string authorized_gae_applications = 2 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The authorizedGaeApplications at the given index. |
getAuthorizedGaeApplicationsBytes(int index) (deprecated)
public abstract ByteString getAuthorizedGaeApplicationsBytes(int index)Deprecated. google.cloud.sql.v1.Settings.authorized_gae_applications is deprecated. See google/cloud/sql/v1/cloud_sql_resources.proto;l=1658
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
repeated string authorized_gae_applications = 2 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the authorizedGaeApplications at the given index. |
getAuthorizedGaeApplicationsCount() (deprecated)
public abstract int getAuthorizedGaeApplicationsCount()Deprecated. google.cloud.sql.v1.Settings.authorized_gae_applications is deprecated. See google/cloud/sql/v1/cloud_sql_resources.proto;l=1658
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
repeated string authorized_gae_applications = 2 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
int |
The count of authorizedGaeApplications. |
getAuthorizedGaeApplicationsList() (deprecated)
public abstract List<String> getAuthorizedGaeApplicationsList()Deprecated. google.cloud.sql.v1.Settings.authorized_gae_applications is deprecated. See google/cloud/sql/v1/cloud_sql_resources.proto;l=1658
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
repeated string authorized_gae_applications = 2 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the authorizedGaeApplications. |
getAutoUpgradeEnabled()
public abstract boolean getAutoUpgradeEnabled()Optional. Cloud SQL for MySQL auto-upgrade configuration. When this parameter is set to true, auto-upgrade is enabled for MySQL 8.0 minor versions. The MySQL version must be 8.0.35 or higher.
optional bool auto_upgrade_enabled = 50 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The autoUpgradeEnabled. |
getAvailabilityType()
public abstract SqlAvailabilityType getAvailabilityType()Availability type. Potential values:
ZONAL: The instance serves data from only one zone. Outages in that zone affect data accessibility.REGIONAL: The instance can serve data from more than one zone in a region (it is highly available)./For more information, see Overview of the High Availability Configuration.
.google.cloud.sql.v1.SqlAvailabilityType availability_type = 6;
| Returns | |
|---|---|
| Type | Description |
SqlAvailabilityType |
The availabilityType. |
getAvailabilityTypeValue()
public abstract int getAvailabilityTypeValue()Availability type. Potential values:
ZONAL: The instance serves data from only one zone. Outages in that zone affect data accessibility.REGIONAL: The instance can serve data from more than one zone in a region (it is highly available)./For more information, see Overview of the High Availability Configuration.
.google.cloud.sql.v1.SqlAvailabilityType availability_type = 6;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for availabilityType. |
getBackupConfiguration()
public abstract BackupConfiguration getBackupConfiguration()The daily backup configuration for the instance.
.google.cloud.sql.v1.BackupConfiguration backup_configuration = 17;
| Returns | |
|---|---|
| Type | Description |
BackupConfiguration |
The backupConfiguration. |
getBackupConfigurationOrBuilder()
public abstract BackupConfigurationOrBuilder getBackupConfigurationOrBuilder()The daily backup configuration for the instance.
.google.cloud.sql.v1.BackupConfiguration backup_configuration = 17;
| Returns | |
|---|---|
| Type | Description |
BackupConfigurationOrBuilder |
|
getCollation()
public abstract String getCollation()The name of server Instance collation.
string collation = 23;
| Returns | |
|---|---|
| Type | Description |
String |
The collation. |
getCollationBytes()
public abstract ByteString getCollationBytes()The name of server Instance collation.
string collation = 23;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for collation. |
getConnectionPoolConfig()
public abstract ConnectionPoolConfig getConnectionPoolConfig()Optional. The managed connection pooling configuration for the instance.
optional .google.cloud.sql.v1.ConnectionPoolConfig connection_pool_config = 45 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ConnectionPoolConfig |
The connectionPoolConfig. |
getConnectionPoolConfigOrBuilder()
public abstract ConnectionPoolConfigOrBuilder getConnectionPoolConfigOrBuilder()Optional. The managed connection pooling configuration for the instance.
optional .google.cloud.sql.v1.ConnectionPoolConfig connection_pool_config = 45 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ConnectionPoolConfigOrBuilder |
|
getConnectorEnforcement()
public abstract Settings.ConnectorEnforcement getConnectorEnforcement() Specifies if connections must use Cloud SQL connectors.
Option values include the following: NOT_REQUIRED (Cloud SQL instances
can be connected without Cloud SQL
Connectors) and REQUIRED (Only allow connections that use Cloud SQL
Connectors).
Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.
.google.cloud.sql.v1.Settings.ConnectorEnforcement connector_enforcement = 32;
| Returns | |
|---|---|
| Type | Description |
Settings.ConnectorEnforcement |
The connectorEnforcement. |
getConnectorEnforcementValue()
public abstract int getConnectorEnforcementValue() Specifies if connections must use Cloud SQL connectors.
Option values include the following: NOT_REQUIRED (Cloud SQL instances
can be connected without Cloud SQL
Connectors) and REQUIRED (Only allow connections that use Cloud SQL
Connectors).
Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.
.google.cloud.sql.v1.Settings.ConnectorEnforcement connector_enforcement = 32;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for connectorEnforcement. |
getCrashSafeReplicationEnabled() (deprecated)
public abstract BoolValue getCrashSafeReplicationEnabled()Deprecated. google.cloud.sql.v1.Settings.crash_safe_replication_enabled is deprecated. See google/cloud/sql/v1/cloud_sql_resources.proto;l=1739
Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.
.google.protobuf.BoolValue crash_safe_replication_enabled = 19 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The crashSafeReplicationEnabled. |
getCrashSafeReplicationEnabledOrBuilder() (deprecated)
public abstract BoolValueOrBuilder getCrashSafeReplicationEnabledOrBuilder()Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.
.google.protobuf.BoolValue crash_safe_replication_enabled = 19 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getDataApiAccess()
public abstract Settings.DataApiAccess getDataApiAccess()This parameter controls whether to allow using ExecuteSql API to connect to the instance. Not allowed by default.
optional .google.cloud.sql.v1.Settings.DataApiAccess data_api_access = 53;
| Returns | |
|---|---|
| Type | Description |
Settings.DataApiAccess |
The dataApiAccess. |
getDataApiAccessValue()
public abstract int getDataApiAccessValue()This parameter controls whether to allow using ExecuteSql API to connect to the instance. Not allowed by default.
optional .google.cloud.sql.v1.Settings.DataApiAccess data_api_access = 53;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for dataApiAccess. |
getDataCacheConfig()
public abstract DataCacheConfig getDataCacheConfig()Configuration for data cache.
.google.cloud.sql.v1.DataCacheConfig data_cache_config = 37;
| Returns | |
|---|---|
| Type | Description |
DataCacheConfig |
The dataCacheConfig. |
getDataCacheConfigOrBuilder()
public abstract DataCacheConfigOrBuilder getDataCacheConfigOrBuilder()Configuration for data cache.
.google.cloud.sql.v1.DataCacheConfig data_cache_config = 37;
| Returns | |
|---|---|
| Type | Description |
DataCacheConfigOrBuilder |
|
getDataDiskProvisionedIops()
public abstract long getDataDiskProvisionedIops()Optional. Provisioned number of I/O operations per second for the data disk. This field is only used for hyperdisk-balanced disk types.
optional int64 data_disk_provisioned_iops = 43 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The dataDiskProvisionedIops. |
getDataDiskProvisionedThroughput()
public abstract long getDataDiskProvisionedThroughput()Optional. Provisioned throughput measured in MiB per second for the data disk. This field is only used for hyperdisk-balanced disk types.
optional int64 data_disk_provisioned_throughput = 44 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The dataDiskProvisionedThroughput. |
getDataDiskSizeGb()
public abstract Int64Value getDataDiskSizeGb()The size of data disk, in GB. The data disk size minimum is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 20;
| Returns | |
|---|---|
| Type | Description |
Int64Value |
The dataDiskSizeGb. |
getDataDiskSizeGbOrBuilder()
public abstract Int64ValueOrBuilder getDataDiskSizeGbOrBuilder()The size of data disk, in GB. The data disk size minimum is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 20;
| Returns | |
|---|---|
| Type | Description |
Int64ValueOrBuilder |
|
getDataDiskType()
public abstract SqlDataDiskType getDataDiskType() The type of data disk: PD_SSD (default) or PD_HDD. Not used for
First Generation instances.
.google.cloud.sql.v1.SqlDataDiskType data_disk_type = 15;
| Returns | |
|---|---|
| Type | Description |
SqlDataDiskType |
The dataDiskType. |
getDataDiskTypeValue()
public abstract int getDataDiskTypeValue() The type of data disk: PD_SSD (default) or PD_HDD. Not used for
First Generation instances.
.google.cloud.sql.v1.SqlDataDiskType data_disk_type = 15;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for dataDiskType. |
getDatabaseFlags(int index)
public abstract DatabaseFlags getDatabaseFlags(int index)The database flags passed to the instance at startup.
repeated .google.cloud.sql.v1.DatabaseFlags database_flags = 14;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DatabaseFlags |
|
getDatabaseFlagsCount()
public abstract int getDatabaseFlagsCount()The database flags passed to the instance at startup.
repeated .google.cloud.sql.v1.DatabaseFlags database_flags = 14;
| Returns | |
|---|---|
| Type | Description |
int |
|
getDatabaseFlagsList()
public abstract List<DatabaseFlags> getDatabaseFlagsList()The database flags passed to the instance at startup.
repeated .google.cloud.sql.v1.DatabaseFlags database_flags = 14;
| Returns | |
|---|---|
| Type | Description |
List<DatabaseFlags> |
|
getDatabaseFlagsOrBuilder(int index)
public abstract DatabaseFlagsOrBuilder getDatabaseFlagsOrBuilder(int index)The database flags passed to the instance at startup.
repeated .google.cloud.sql.v1.DatabaseFlags database_flags = 14;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DatabaseFlagsOrBuilder |
|
getDatabaseFlagsOrBuilderList()
public abstract List<? extends DatabaseFlagsOrBuilder> getDatabaseFlagsOrBuilderList()The database flags passed to the instance at startup.
repeated .google.cloud.sql.v1.DatabaseFlags database_flags = 14;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.sql.v1.DatabaseFlagsOrBuilder> |
|
getDatabaseReplicationEnabled()
public abstract BoolValue getDatabaseReplicationEnabled()Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
.google.protobuf.BoolValue database_replication_enabled = 18;
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The databaseReplicationEnabled. |
getDatabaseReplicationEnabledOrBuilder()
public abstract BoolValueOrBuilder getDatabaseReplicationEnabledOrBuilder()Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
.google.protobuf.BoolValue database_replication_enabled = 18;
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getDeletionProtectionEnabled()
public abstract BoolValue getDeletionProtectionEnabled()Configuration to protect against accidental instance deletion.
.google.protobuf.BoolValue deletion_protection_enabled = 33;
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The deletionProtectionEnabled. |
getDeletionProtectionEnabledOrBuilder()
public abstract BoolValueOrBuilder getDeletionProtectionEnabledOrBuilder()Configuration to protect against accidental instance deletion.
.google.protobuf.BoolValue deletion_protection_enabled = 33;
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getDenyMaintenancePeriods(int index)
public abstract DenyMaintenancePeriod getDenyMaintenancePeriods(int index)Deny maintenance periods
repeated .google.cloud.sql.v1.DenyMaintenancePeriod deny_maintenance_periods = 24;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriod |
|
getDenyMaintenancePeriodsCount()
public abstract int getDenyMaintenancePeriodsCount()Deny maintenance periods
repeated .google.cloud.sql.v1.DenyMaintenancePeriod deny_maintenance_periods = 24;
| Returns | |
|---|---|
| Type | Description |
int |
|
getDenyMaintenancePeriodsList()
public abstract List<DenyMaintenancePeriod> getDenyMaintenancePeriodsList()Deny maintenance periods
repeated .google.cloud.sql.v1.DenyMaintenancePeriod deny_maintenance_periods = 24;
| Returns | |
|---|---|
| Type | Description |
List<DenyMaintenancePeriod> |
|
getDenyMaintenancePeriodsOrBuilder(int index)
public abstract DenyMaintenancePeriodOrBuilder getDenyMaintenancePeriodsOrBuilder(int index)Deny maintenance periods
repeated .google.cloud.sql.v1.DenyMaintenancePeriod deny_maintenance_periods = 24;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DenyMaintenancePeriodOrBuilder |
|
getDenyMaintenancePeriodsOrBuilderList()
public abstract List<? extends DenyMaintenancePeriodOrBuilder> getDenyMaintenancePeriodsOrBuilderList()Deny maintenance periods
repeated .google.cloud.sql.v1.DenyMaintenancePeriod deny_maintenance_periods = 24;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.sql.v1.DenyMaintenancePeriodOrBuilder> |
|
getEdition()
public abstract Settings.Edition getEdition()Optional. The edition type of the Cloud SQL instance.
.google.cloud.sql.v1.Settings.Edition edition = 38 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Settings.Edition |
The edition. |
getEditionValue()
public abstract int getEditionValue()Optional. The edition type of the Cloud SQL instance.
.google.cloud.sql.v1.Settings.Edition edition = 38 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for edition. |
getEnableDataplexIntegration()
public abstract BoolValue getEnableDataplexIntegration()Optional. By default, Cloud SQL instances have schema extraction disabled for Dataplex. When this parameter is set to true, schema extraction for Dataplex on Cloud SQL instances is activated.
.google.protobuf.BoolValue enable_dataplex_integration = 41 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The enableDataplexIntegration. |
getEnableDataplexIntegrationOrBuilder()
public abstract BoolValueOrBuilder getEnableDataplexIntegrationOrBuilder()Optional. By default, Cloud SQL instances have schema extraction disabled for Dataplex. When this parameter is set to true, schema extraction for Dataplex on Cloud SQL instances is activated.
.google.protobuf.BoolValue enable_dataplex_integration = 41 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getEnableGoogleMlIntegration()
public abstract BoolValue getEnableGoogleMlIntegration()Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to pass requests for real-time predictions and insights to the AI. The default value is false. This applies only to Cloud SQL for MySQL and Cloud SQL for PostgreSQL instances.
.google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The enableGoogleMlIntegration. |
getEnableGoogleMlIntegrationOrBuilder()
public abstract BoolValueOrBuilder getEnableGoogleMlIntegrationOrBuilder()Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to pass requests for real-time predictions and insights to the AI. The default value is false. This applies only to Cloud SQL for MySQL and Cloud SQL for PostgreSQL instances.
.google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getEntraidConfig()
public abstract SqlServerEntraIdConfig getEntraidConfig()Optional. The Microsoft Entra ID configuration for the SQL Server instance.
.google.cloud.sql.v1.SqlServerEntraIdConfig entraid_config = 52 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SqlServerEntraIdConfig |
The entraidConfig. |
getEntraidConfigOrBuilder()
public abstract SqlServerEntraIdConfigOrBuilder getEntraidConfigOrBuilder()Optional. The Microsoft Entra ID configuration for the SQL Server instance.
.google.cloud.sql.v1.SqlServerEntraIdConfig entraid_config = 52 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SqlServerEntraIdConfigOrBuilder |
|
getFinalBackupConfig()
public abstract FinalBackupConfig getFinalBackupConfig()Optional. The final backup configuration for the instance.
optional .google.cloud.sql.v1.FinalBackupConfig final_backup_config = 47 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FinalBackupConfig |
The finalBackupConfig. |
getFinalBackupConfigOrBuilder()
public abstract FinalBackupConfigOrBuilder getFinalBackupConfigOrBuilder()Optional. The final backup configuration for the instance.
optional .google.cloud.sql.v1.FinalBackupConfig final_backup_config = 47 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FinalBackupConfigOrBuilder |
|
getInsightsConfig()
public abstract InsightsConfig getInsightsConfig()Insights configuration, for now relevant only for Postgres.
.google.cloud.sql.v1.InsightsConfig insights_config = 25;
| Returns | |
|---|---|
| Type | Description |
InsightsConfig |
The insightsConfig. |
getInsightsConfigOrBuilder()
public abstract InsightsConfigOrBuilder getInsightsConfigOrBuilder()Insights configuration, for now relevant only for Postgres.
.google.cloud.sql.v1.InsightsConfig insights_config = 25;
| Returns | |
|---|---|
| Type | Description |
InsightsConfigOrBuilder |
|
getIpConfiguration()
public abstract IpConfiguration getIpConfiguration()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 for Second Generation instances.
.google.cloud.sql.v1.IpConfiguration ip_configuration = 11;
| Returns | |
|---|---|
| Type | Description |
IpConfiguration |
The ipConfiguration. |
getIpConfigurationOrBuilder()
public abstract IpConfigurationOrBuilder getIpConfigurationOrBuilder()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 for Second Generation instances.
.google.cloud.sql.v1.IpConfiguration ip_configuration = 11;
| Returns | |
|---|---|
| Type | Description |
IpConfigurationOrBuilder |
|
getKind()
public abstract String getKind() This is always sql#settings.
string kind = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public abstract ByteString getKindBytes() This is always sql#settings.
string kind = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
getLocationPreference()
public abstract LocationPreference getLocationPreference()The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances.
.google.cloud.sql.v1.LocationPreference location_preference = 13;
| Returns | |
|---|---|
| Type | Description |
LocationPreference |
The locationPreference. |
getLocationPreferenceOrBuilder()
public abstract LocationPreferenceOrBuilder getLocationPreferenceOrBuilder()The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances.
.google.cloud.sql.v1.LocationPreference location_preference = 13;
| Returns | |
|---|---|
| Type | Description |
LocationPreferenceOrBuilder |
|
getMaintenanceWindow()
public abstract MaintenanceWindow getMaintenanceWindow()The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.
.google.cloud.sql.v1.MaintenanceWindow maintenance_window = 16;
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindow |
The maintenanceWindow. |
getMaintenanceWindowOrBuilder()
public abstract MaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder()The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.
.google.cloud.sql.v1.MaintenanceWindow maintenance_window = 16;
| Returns | |
|---|---|
| Type | Description |
MaintenanceWindowOrBuilder |
|
getPasswordValidationPolicy()
public abstract PasswordValidationPolicy getPasswordValidationPolicy()The local user password validation policy of the instance.
.google.cloud.sql.v1.PasswordValidationPolicy password_validation_policy = 27;
| Returns | |
|---|---|
| Type | Description |
PasswordValidationPolicy |
The passwordValidationPolicy. |
getPasswordValidationPolicyOrBuilder()
public abstract PasswordValidationPolicyOrBuilder getPasswordValidationPolicyOrBuilder()The local user password validation policy of the instance.
.google.cloud.sql.v1.PasswordValidationPolicy password_validation_policy = 27;
| Returns | |
|---|---|
| Type | Description |
PasswordValidationPolicyOrBuilder |
|
getPerformanceCaptureConfig()
public abstract PerformanceCaptureConfig getPerformanceCaptureConfig()Optional. Configuration for Performance Capture, provides diagnostic metrics during high load situations.
.google.cloud.sql.v1.PerformanceCaptureConfig performance_capture_config = 54 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PerformanceCaptureConfig |
The performanceCaptureConfig. |
getPerformanceCaptureConfigOrBuilder()
public abstract PerformanceCaptureConfigOrBuilder getPerformanceCaptureConfigOrBuilder()Optional. Configuration for Performance Capture, provides diagnostic metrics during high load situations.
.google.cloud.sql.v1.PerformanceCaptureConfig performance_capture_config = 54 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PerformanceCaptureConfigOrBuilder |
|
getPricingPlan()
public abstract SqlPricingPlan getPricingPlan() The pricing plan for this instance. This can be either PER_USE or
PACKAGE. Only PER_USE is supported for Second Generation instances.
.google.cloud.sql.v1.SqlPricingPlan pricing_plan = 7;
| Returns | |
|---|---|
| Type | Description |
SqlPricingPlan |
The pricingPlan. |
getPricingPlanValue()
public abstract int getPricingPlanValue() The pricing plan for this instance. This can be either PER_USE or
PACKAGE. Only PER_USE is supported for Second Generation instances.
.google.cloud.sql.v1.SqlPricingPlan pricing_plan = 7;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for pricingPlan. |
getReadPoolAutoScaleConfig()
public abstract ReadPoolAutoScaleConfig getReadPoolAutoScaleConfig()Optional. The read pool auto-scale configuration for the instance.
optional .google.cloud.sql.v1.ReadPoolAutoScaleConfig read_pool_auto_scale_config = 48 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ReadPoolAutoScaleConfig |
The readPoolAutoScaleConfig. |
getReadPoolAutoScaleConfigOrBuilder()
public abstract ReadPoolAutoScaleConfigOrBuilder getReadPoolAutoScaleConfigOrBuilder()Optional. The read pool auto-scale configuration for the instance.
optional .google.cloud.sql.v1.ReadPoolAutoScaleConfig read_pool_auto_scale_config = 48 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ReadPoolAutoScaleConfigOrBuilder |
|
getReplicationLagMaxSeconds()
public abstract Int32Value getReplicationLagMaxSeconds()Optional. Configuration value for recreation of replica after certain replication lag
.google.protobuf.Int32Value replication_lag_max_seconds = 39 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Int32Value |
The replicationLagMaxSeconds. |
getReplicationLagMaxSecondsOrBuilder()
public abstract Int32ValueOrBuilder getReplicationLagMaxSecondsOrBuilder()Optional. Configuration value for recreation of replica after certain replication lag
.google.protobuf.Int32Value replication_lag_max_seconds = 39 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Int32ValueOrBuilder |
|
getReplicationType() (deprecated)
public abstract SqlReplicationType getReplicationType()Deprecated. google.cloud.sql.v1.Settings.replication_type is deprecated. See google/cloud/sql/v1/cloud_sql_resources.proto;l=1688
The type of replication this instance uses. This can be either
ASYNCHRONOUS or SYNCHRONOUS. (Deprecated) This property was only
applicable to First Generation instances.
.google.cloud.sql.v1.SqlReplicationType replication_type = 8 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
SqlReplicationType |
The replicationType. |
getReplicationTypeValue() (deprecated)
public abstract int getReplicationTypeValue()Deprecated. google.cloud.sql.v1.Settings.replication_type is deprecated. See google/cloud/sql/v1/cloud_sql_resources.proto;l=1688
The type of replication this instance uses. This can be either
ASYNCHRONOUS or SYNCHRONOUS. (Deprecated) This property was only
applicable to First Generation instances.
.google.cloud.sql.v1.SqlReplicationType replication_type = 8 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for replicationType. |
getRetainBackupsOnDelete()
public abstract BoolValue getRetainBackupsOnDelete()Optional. When this parameter is set to true, Cloud SQL retains backups of the instance even after the instance is deleted. The ON_DEMAND backup will be retained until customer deletes the backup or the project. The AUTOMATED backup will be retained based on the backups retention setting.
.google.protobuf.BoolValue retain_backups_on_delete = 42 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The retainBackupsOnDelete. |
getRetainBackupsOnDeleteOrBuilder()
public abstract BoolValueOrBuilder getRetainBackupsOnDeleteOrBuilder()Optional. When this parameter is set to true, Cloud SQL retains backups of the instance even after the instance is deleted. The ON_DEMAND backup will be retained until customer deletes the backup or the project. The AUTOMATED backup will be retained based on the backups retention setting.
.google.protobuf.BoolValue retain_backups_on_delete = 42 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getSettingsVersion()
public abstract Int64Value getSettingsVersion()The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.
.google.protobuf.Int64Value settings_version = 1;
| Returns | |
|---|---|
| Type | Description |
Int64Value |
The settingsVersion. |
getSettingsVersionOrBuilder()
public abstract Int64ValueOrBuilder getSettingsVersionOrBuilder()The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.
.google.protobuf.Int64Value settings_version = 1;
| Returns | |
|---|---|
| Type | Description |
Int64ValueOrBuilder |
|
getSqlServerAuditConfig()
public abstract SqlServerAuditConfig getSqlServerAuditConfig()SQL Server specific audit configuration.
.google.cloud.sql.v1.SqlServerAuditConfig sql_server_audit_config = 29;
| Returns | |
|---|---|
| Type | Description |
SqlServerAuditConfig |
The sqlServerAuditConfig. |
getSqlServerAuditConfigOrBuilder()
public abstract SqlServerAuditConfigOrBuilder getSqlServerAuditConfigOrBuilder()SQL Server specific audit configuration.
.google.cloud.sql.v1.SqlServerAuditConfig sql_server_audit_config = 29;
| Returns | |
|---|---|
| Type | Description |
SqlServerAuditConfigOrBuilder |
|
getStorageAutoResize()
public abstract BoolValue getStorageAutoResize()Configuration to increase storage size automatically. The default value is true.
.google.protobuf.BoolValue storage_auto_resize = 12;
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The storageAutoResize. |
getStorageAutoResizeLimit()
public abstract 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 = 9;
| Returns | |
|---|---|
| Type | Description |
Int64Value |
The storageAutoResizeLimit. |
getStorageAutoResizeLimitOrBuilder()
public abstract 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 = 9;
| Returns | |
|---|---|
| Type | Description |
Int64ValueOrBuilder |
|
getStorageAutoResizeOrBuilder()
public abstract BoolValueOrBuilder getStorageAutoResizeOrBuilder()Configuration to increase storage size automatically. The default value is true.
.google.protobuf.BoolValue storage_auto_resize = 12;
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getTier()
public abstract String getTier() The tier (or machine type) for this instance, for example
db-custom-1-3840. WARNING: Changing this restarts the instance.
string tier = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The tier. |
getTierBytes()
public abstract ByteString getTierBytes() The tier (or machine type) for this instance, for example
db-custom-1-3840. WARNING: Changing this restarts the instance.
string tier = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tier. |
getTimeZone()
public abstract String getTimeZone()Server timezone, relevant only for Cloud SQL for SQL Server.
string time_zone = 34;
| Returns | |
|---|---|
| Type | Description |
String |
The timeZone. |
getTimeZoneBytes()
public abstract ByteString getTimeZoneBytes()Server timezone, relevant only for Cloud SQL for SQL Server.
string time_zone = 34;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for timeZone. |
getUserLabels() (deprecated)
public abstract Map<String,String> getUserLabels()Use #getUserLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getUserLabelsCount()
public abstract int getUserLabelsCount()User-provided labels, represented as a dictionary where each label is a single key value pair.
map<string, string> user_labels = 5;
| Returns | |
|---|---|
| Type | Description |
int |
|
getUserLabelsMap()
public abstract Map<String,String> getUserLabelsMap()User-provided labels, represented as a dictionary where each label is a single key value pair.
map<string, string> user_labels = 5;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getUserLabelsOrDefault(String key, String defaultValue)
public abstract String getUserLabelsOrDefault(String key, String defaultValue)User-provided labels, represented as a dictionary where each label is a single key value pair.
map<string, string> user_labels = 5;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getUserLabelsOrThrow(String key)
public abstract String getUserLabelsOrThrow(String key)User-provided labels, represented as a dictionary where each label is a single key value pair.
map<string, string> user_labels = 5;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
hasAcceleratedReplicaMode()
public abstract boolean hasAcceleratedReplicaMode()Optional. Whether the replica is in accelerated mode. This feature is in private preview and requires allowlisting to take effect.
.google.protobuf.BoolValue accelerated_replica_mode = 49 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the acceleratedReplicaMode field is set. |
hasActiveDirectoryConfig()
public abstract boolean hasActiveDirectoryConfig()Active Directory configuration, relevant only for Cloud SQL for SQL Server.
.google.cloud.sql.v1.SqlActiveDirectoryConfig active_directory_config = 22;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the activeDirectoryConfig field is set. |
hasAdvancedMachineFeatures()
public abstract boolean hasAdvancedMachineFeatures()Specifies advanced machine configuration for the instances relevant only for SQL Server.
.google.cloud.sql.v1.AdvancedMachineFeatures advanced_machine_features = 35;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the advancedMachineFeatures field is set. |
hasAutoUpgradeEnabled()
public abstract boolean hasAutoUpgradeEnabled()Optional. Cloud SQL for MySQL auto-upgrade configuration. When this parameter is set to true, auto-upgrade is enabled for MySQL 8.0 minor versions. The MySQL version must be 8.0.35 or higher.
optional bool auto_upgrade_enabled = 50 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the autoUpgradeEnabled field is set. |
hasBackupConfiguration()
public abstract boolean hasBackupConfiguration()The daily backup configuration for the instance.
.google.cloud.sql.v1.BackupConfiguration backup_configuration = 17;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the backupConfiguration field is set. |
hasConnectionPoolConfig()
public abstract boolean hasConnectionPoolConfig()Optional. The managed connection pooling configuration for the instance.
optional .google.cloud.sql.v1.ConnectionPoolConfig connection_pool_config = 45 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the connectionPoolConfig field is set. |
hasCrashSafeReplicationEnabled() (deprecated)
public abstract boolean hasCrashSafeReplicationEnabled()Deprecated. google.cloud.sql.v1.Settings.crash_safe_replication_enabled is deprecated. See google/cloud/sql/v1/cloud_sql_resources.proto;l=1739
Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.
.google.protobuf.BoolValue crash_safe_replication_enabled = 19 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the crashSafeReplicationEnabled field is set. |
hasDataApiAccess()
public abstract boolean hasDataApiAccess()This parameter controls whether to allow using ExecuteSql API to connect to the instance. Not allowed by default.
optional .google.cloud.sql.v1.Settings.DataApiAccess data_api_access = 53;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataApiAccess field is set. |
hasDataCacheConfig()
public abstract boolean hasDataCacheConfig()Configuration for data cache.
.google.cloud.sql.v1.DataCacheConfig data_cache_config = 37;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataCacheConfig field is set. |
hasDataDiskProvisionedIops()
public abstract boolean hasDataDiskProvisionedIops()Optional. Provisioned number of I/O operations per second for the data disk. This field is only used for hyperdisk-balanced disk types.
optional int64 data_disk_provisioned_iops = 43 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataDiskProvisionedIops field is set. |
hasDataDiskProvisionedThroughput()
public abstract boolean hasDataDiskProvisionedThroughput()Optional. Provisioned throughput measured in MiB per second for the data disk. This field is only used for hyperdisk-balanced disk types.
optional int64 data_disk_provisioned_throughput = 44 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataDiskProvisionedThroughput field is set. |
hasDataDiskSizeGb()
public abstract boolean hasDataDiskSizeGb()The size of data disk, in GB. The data disk size minimum is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 20;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataDiskSizeGb field is set. |
hasDatabaseReplicationEnabled()
public abstract boolean hasDatabaseReplicationEnabled()Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
.google.protobuf.BoolValue database_replication_enabled = 18;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the databaseReplicationEnabled field is set. |
hasDeletionProtectionEnabled()
public abstract boolean hasDeletionProtectionEnabled()Configuration to protect against accidental instance deletion.
.google.protobuf.BoolValue deletion_protection_enabled = 33;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deletionProtectionEnabled field is set. |
hasEnableDataplexIntegration()
public abstract boolean hasEnableDataplexIntegration()Optional. By default, Cloud SQL instances have schema extraction disabled for Dataplex. When this parameter is set to true, schema extraction for Dataplex on Cloud SQL instances is activated.
.google.protobuf.BoolValue enable_dataplex_integration = 41 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enableDataplexIntegration field is set. |
hasEnableGoogleMlIntegration()
public abstract boolean hasEnableGoogleMlIntegration()Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to pass requests for real-time predictions and insights to the AI. The default value is false. This applies only to Cloud SQL for MySQL and Cloud SQL for PostgreSQL instances.
.google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enableGoogleMlIntegration field is set. |
hasEntraidConfig()
public abstract boolean hasEntraidConfig()Optional. The Microsoft Entra ID configuration for the SQL Server instance.
.google.cloud.sql.v1.SqlServerEntraIdConfig entraid_config = 52 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the entraidConfig field is set. |
hasFinalBackupConfig()
public abstract boolean hasFinalBackupConfig()Optional. The final backup configuration for the instance.
optional .google.cloud.sql.v1.FinalBackupConfig final_backup_config = 47 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the finalBackupConfig field is set. |
hasInsightsConfig()
public abstract boolean hasInsightsConfig()Insights configuration, for now relevant only for Postgres.
.google.cloud.sql.v1.InsightsConfig insights_config = 25;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the insightsConfig field is set. |
hasIpConfiguration()
public abstract boolean hasIpConfiguration()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 for Second Generation instances.
.google.cloud.sql.v1.IpConfiguration ip_configuration = 11;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ipConfiguration field is set. |
hasLocationPreference()
public abstract boolean hasLocationPreference()The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances.
.google.cloud.sql.v1.LocationPreference location_preference = 13;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the locationPreference field is set. |
hasMaintenanceWindow()
public abstract boolean hasMaintenanceWindow()The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.
.google.cloud.sql.v1.MaintenanceWindow maintenance_window = 16;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the maintenanceWindow field is set. |
hasPasswordValidationPolicy()
public abstract boolean hasPasswordValidationPolicy()The local user password validation policy of the instance.
.google.cloud.sql.v1.PasswordValidationPolicy password_validation_policy = 27;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the passwordValidationPolicy field is set. |
hasPerformanceCaptureConfig()
public abstract boolean hasPerformanceCaptureConfig()Optional. Configuration for Performance Capture, provides diagnostic metrics during high load situations.
.google.cloud.sql.v1.PerformanceCaptureConfig performance_capture_config = 54 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the performanceCaptureConfig field is set. |
hasReadPoolAutoScaleConfig()
public abstract boolean hasReadPoolAutoScaleConfig()Optional. The read pool auto-scale configuration for the instance.
optional .google.cloud.sql.v1.ReadPoolAutoScaleConfig read_pool_auto_scale_config = 48 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the readPoolAutoScaleConfig field is set. |
hasReplicationLagMaxSeconds()
public abstract boolean hasReplicationLagMaxSeconds()Optional. Configuration value for recreation of replica after certain replication lag
.google.protobuf.Int32Value replication_lag_max_seconds = 39 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the replicationLagMaxSeconds field is set. |
hasRetainBackupsOnDelete()
public abstract boolean hasRetainBackupsOnDelete()Optional. When this parameter is set to true, Cloud SQL retains backups of the instance even after the instance is deleted. The ON_DEMAND backup will be retained until customer deletes the backup or the project. The AUTOMATED backup will be retained based on the backups retention setting.
.google.protobuf.BoolValue retain_backups_on_delete = 42 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the retainBackupsOnDelete field is set. |
hasSettingsVersion()
public abstract boolean hasSettingsVersion()The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.
.google.protobuf.Int64Value settings_version = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the settingsVersion field is set. |
hasSqlServerAuditConfig()
public abstract boolean hasSqlServerAuditConfig()SQL Server specific audit configuration.
.google.cloud.sql.v1.SqlServerAuditConfig sql_server_audit_config = 29;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sqlServerAuditConfig field is set. |
hasStorageAutoResize()
public abstract boolean hasStorageAutoResize()Configuration to increase storage size automatically. The default value is true.
.google.protobuf.BoolValue storage_auto_resize = 12;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the storageAutoResize field is set. |
hasStorageAutoResizeLimit()
public abstract 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 = 9;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the storageAutoResizeLimit field is set. |