public interface DatabaseInstanceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsTags(String key)
public abstract boolean containsTags(String key) Optional. Input only. Immutable. Tag keys and tag values that are bound to
this instance. You must represent each item in the map as:
"<tag-key-namespaced-name>" : "<tag-value-short-name>".
For example, a single resource can have the following tags:
<code><code>
"123/environment": "production",
"123/costCenter": "marketing",
</code></code>
For more information on tag creation and management, see https://cloud.google.com/resource-manager/docs/tags/tags-overview.
map<string, string> tags = 60 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAvailableMaintenanceVersions(int index)
public abstract String getAvailableMaintenanceVersions(int index)Output only. List all maintenance versions applicable on the instance
repeated string available_maintenance_versions = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The availableMaintenanceVersions at the given index. |
getAvailableMaintenanceVersionsBytes(int index)
public abstract ByteString getAvailableMaintenanceVersionsBytes(int index)Output only. List all maintenance versions applicable on the instance
repeated string available_maintenance_versions = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the availableMaintenanceVersions at the given index. |
getAvailableMaintenanceVersionsCount()
public abstract int getAvailableMaintenanceVersionsCount()Output only. List all maintenance versions applicable on the instance
repeated string available_maintenance_versions = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of availableMaintenanceVersions. |
getAvailableMaintenanceVersionsList()
public abstract List<String> getAvailableMaintenanceVersionsList()Output only. List all maintenance versions applicable on the instance
repeated string available_maintenance_versions = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the availableMaintenanceVersions. |
getBackendType()
public abstract SqlBackendType getBackendType() The backend type.
SECOND_GEN: Cloud SQL database instance.
EXTERNAL: A database server that is not managed by Google.
This property is read-only; use the tier property in the settings
object to determine the database type.
.google.cloud.sql.v1beta4.SqlBackendType backend_type = 19;
| Returns | |
|---|---|
| Type | Description |
SqlBackendType |
The backendType. |
getBackendTypeValue()
public abstract int getBackendTypeValue() The backend type.
SECOND_GEN: Cloud SQL database instance.
EXTERNAL: A database server that is not managed by Google.
This property is read-only; use the tier property in the settings
object to determine the database type.
.google.cloud.sql.v1beta4.SqlBackendType backend_type = 19;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for backendType. |
getConnectionName()
public abstract String getConnectionName()Connection name of the Cloud SQL instance used in connection strings.
string connection_name = 22;
| Returns | |
|---|---|
| Type | Description |
String |
The connectionName. |
getConnectionNameBytes()
public abstract ByteString getConnectionNameBytes()Connection name of the Cloud SQL instance used in connection strings.
string connection_name = 22;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for connectionName. |
getCreateTime()
public abstract Timestamp getCreateTime() Output only. The time when the instance was created in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
.google.protobuf.Timestamp create_time = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder() Output only. The time when the instance was created in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
.google.protobuf.Timestamp create_time = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getCurrentDiskSize() (deprecated)
public abstract Int64Value getCurrentDiskSize()Deprecated. google.cloud.sql.v1beta4.DatabaseInstance.current_disk_size is deprecated. See google/cloud/sql/v1beta4/cloud_sql_resources.proto;l=796
The current disk usage of the instance in bytes. This property has been deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see this announcement for details.
.google.protobuf.Int64Value current_disk_size = 10 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
Int64Value |
The currentDiskSize. |
getCurrentDiskSizeOrBuilder() (deprecated)
public abstract Int64ValueOrBuilder getCurrentDiskSizeOrBuilder()The current disk usage of the instance in bytes. This property has been deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see this announcement for details.
.google.protobuf.Int64Value current_disk_size = 10 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
Int64ValueOrBuilder |
|
getDatabaseCenterIntegrationEnabled()
public abstract BoolValue getDatabaseCenterIntegrationEnabled()Optional. If true, instance metadata is sent to the Database Center. If false, instance metadata is not sent to the Database Center.
.google.protobuf.BoolValue database_center_integration_enabled = 72 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The databaseCenterIntegrationEnabled. |
getDatabaseCenterIntegrationEnabledOrBuilder()
public abstract BoolValueOrBuilder getDatabaseCenterIntegrationEnabledOrBuilder()Optional. If true, instance metadata is sent to the Database Center. If false, instance metadata is not sent to the Database Center.
.google.protobuf.BoolValue database_center_integration_enabled = 72 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getDatabaseInstalledVersion()
public abstract String getDatabaseInstalledVersion() Output only. Stores the current database version running on the instance
including minor version such as MYSQL_8_0_18.
string database_installed_version = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The databaseInstalledVersion. |
getDatabaseInstalledVersionBytes()
public abstract ByteString getDatabaseInstalledVersionBytes() Output only. Stores the current database version running on the instance
including minor version such as MYSQL_8_0_18.
string database_installed_version = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for databaseInstalledVersion. |
getDatabaseVersion()
public abstract SqlDatabaseVersion getDatabaseVersion() The database engine type and version. The databaseVersion field cannot
be changed after instance creation.
.google.cloud.sql.v1beta4.SqlDatabaseVersion database_version = 3;
| Returns | |
|---|---|
| Type | Description |
SqlDatabaseVersion |
The databaseVersion. |
getDatabaseVersionValue()
public abstract int getDatabaseVersionValue() The database engine type and version. The databaseVersion field cannot
be changed after instance creation.
.google.cloud.sql.v1beta4.SqlDatabaseVersion database_version = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for databaseVersion. |
getDiskEncryptionConfiguration()
public abstract DiskEncryptionConfiguration getDiskEncryptionConfiguration()Disk encryption configuration specific to an instance.
.google.cloud.sql.v1beta4.DiskEncryptionConfiguration disk_encryption_configuration = 26;
| Returns | |
|---|---|
| Type | Description |
DiskEncryptionConfiguration |
The diskEncryptionConfiguration. |
getDiskEncryptionConfigurationOrBuilder()
public abstract DiskEncryptionConfigurationOrBuilder getDiskEncryptionConfigurationOrBuilder()Disk encryption configuration specific to an instance.
.google.cloud.sql.v1beta4.DiskEncryptionConfiguration disk_encryption_configuration = 26;
| Returns | |
|---|---|
| Type | Description |
DiskEncryptionConfigurationOrBuilder |
|
getDiskEncryptionStatus()
public abstract DiskEncryptionStatus getDiskEncryptionStatus()Disk encryption status specific to an instance.
.google.cloud.sql.v1beta4.DiskEncryptionStatus disk_encryption_status = 27;
| Returns | |
|---|---|
| Type | Description |
DiskEncryptionStatus |
The diskEncryptionStatus. |
getDiskEncryptionStatusOrBuilder()
public abstract DiskEncryptionStatusOrBuilder getDiskEncryptionStatusOrBuilder()Disk encryption status specific to an instance.
.google.cloud.sql.v1beta4.DiskEncryptionStatus disk_encryption_status = 27;
| Returns | |
|---|---|
| Type | Description |
DiskEncryptionStatusOrBuilder |
|
getDnsName()
public abstract String getDnsName()Output only. The dns name of the instance.
optional string dns_name = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The dnsName. |
getDnsNameBytes()
public abstract ByteString getDnsNameBytes()Output only. The dns name of the instance.
optional string dns_name = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dnsName. |
getDnsNames(int index)
public abstract DnsNameMapping getDnsNames(int index)Output only. The list of DNS names used by this instance.
repeated .google.cloud.sql.v1beta4.DnsNameMapping dns_names = 67 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping |
|
getDnsNamesCount()
public abstract int getDnsNamesCount()Output only. The list of DNS names used by this instance.
repeated .google.cloud.sql.v1beta4.DnsNameMapping dns_names = 67 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getDnsNamesList()
public abstract List<DnsNameMapping> getDnsNamesList()Output only. The list of DNS names used by this instance.
repeated .google.cloud.sql.v1beta4.DnsNameMapping dns_names = 67 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<DnsNameMapping> |
|
getDnsNamesOrBuilder(int index)
public abstract DnsNameMappingOrBuilder getDnsNamesOrBuilder(int index)Output only. The list of DNS names used by this instance.
repeated .google.cloud.sql.v1beta4.DnsNameMapping dns_names = 67 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DnsNameMappingOrBuilder |
|
getDnsNamesOrBuilderList()
public abstract List<? extends DnsNameMappingOrBuilder> getDnsNamesOrBuilderList()Output only. The list of DNS names used by this instance.
repeated .google.cloud.sql.v1beta4.DnsNameMapping dns_names = 67 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.sql.v1beta4.DnsNameMappingOrBuilder> |
|
getEtag()
public abstract String getEtag() This field is deprecated and will be removed from a future version of the
API. Use the settings.settingsVersion field instead.
string etag = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The etag. |
getEtagBytes()
public abstract ByteString getEtagBytes() This field is deprecated and will be removed from a future version of the
API. Use the settings.settingsVersion field instead.
string etag = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for etag. |
getFailoverReplica()
public abstract DatabaseInstance.SqlFailoverReplica getFailoverReplica()The name and status of the failover replica.
.google.cloud.sql.v1beta4.DatabaseInstance.SqlFailoverReplica failover_replica = 6;
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.SqlFailoverReplica |
The failoverReplica. |
getFailoverReplicaOrBuilder()
public abstract DatabaseInstance.SqlFailoverReplicaOrBuilder getFailoverReplicaOrBuilder()The name and status of the failover replica.
.google.cloud.sql.v1beta4.DatabaseInstance.SqlFailoverReplica failover_replica = 6;
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.SqlFailoverReplicaOrBuilder |
|
getGceZone()
public abstract String getGceZone()The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance.
string gce_zone = 25;
| Returns | |
|---|---|
| Type | Description |
String |
The gceZone. |
getGceZoneBytes()
public abstract ByteString getGceZoneBytes()The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance.
string gce_zone = 25;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gceZone. |
getGeminiConfig()
public abstract GeminiInstanceConfig getGeminiConfig()Gemini instance configuration.
optional .google.cloud.sql.v1beta4.GeminiInstanceConfig gemini_config = 55;
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig |
The geminiConfig. |
getGeminiConfigOrBuilder()
public abstract GeminiInstanceConfigOrBuilder getGeminiConfigOrBuilder()Gemini instance configuration.
optional .google.cloud.sql.v1beta4.GeminiInstanceConfig gemini_config = 55;
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfigOrBuilder |
|
getIncludeReplicasForMajorVersionUpgrade()
public abstract BoolValue getIncludeReplicasForMajorVersionUpgrade()Input only. Determines whether an in-place major version upgrade of replicas happens when an in-place major version upgrade of a primary instance is initiated.
optional .google.protobuf.BoolValue include_replicas_for_major_version_upgrade = 59 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The includeReplicasForMajorVersionUpgrade. |
getIncludeReplicasForMajorVersionUpgradeOrBuilder()
public abstract BoolValueOrBuilder getIncludeReplicasForMajorVersionUpgradeOrBuilder()Input only. Determines whether an in-place major version upgrade of replicas happens when an in-place major version upgrade of a primary instance is initiated.
optional .google.protobuf.BoolValue include_replicas_for_major_version_upgrade = 59 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getInstanceType()
public abstract SqlInstanceType getInstanceType()The instance type.
.google.cloud.sql.v1beta4.SqlInstanceType instance_type = 13;
| Returns | |
|---|---|
| Type | Description |
SqlInstanceType |
The instanceType. |
getInstanceTypeValue()
public abstract int getInstanceTypeValue()The instance type.
.google.cloud.sql.v1beta4.SqlInstanceType instance_type = 13;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for instanceType. |
getIpAddresses(int index)
public abstract IpMapping getIpAddresses(int index)The assigned IP addresses for the instance.
repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 11;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
IpMapping |
|
getIpAddressesCount()
public abstract int getIpAddressesCount()The assigned IP addresses for the instance.
repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 11;
| Returns | |
|---|---|
| Type | Description |
int |
|
getIpAddressesList()
public abstract List<IpMapping> getIpAddressesList()The assigned IP addresses for the instance.
repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 11;
| Returns | |
|---|---|
| Type | Description |
List<IpMapping> |
|
getIpAddressesOrBuilder(int index)
public abstract IpMappingOrBuilder getIpAddressesOrBuilder(int index)The assigned IP addresses for the instance.
repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 11;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
IpMappingOrBuilder |
|
getIpAddressesOrBuilderList()
public abstract List<? extends IpMappingOrBuilder> getIpAddressesOrBuilderList()The assigned IP addresses for the instance.
repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 11;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.sql.v1beta4.IpMappingOrBuilder> |
|
getIpv6Address() (deprecated)
public abstract String getIpv6Address()Deprecated. google.cloud.sql.v1beta4.DatabaseInstance.ipv6_address is deprecated. See google/cloud/sql/v1beta4/cloud_sql_resources.proto;l=814
The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
string ipv6_address = 15 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
String |
The ipv6Address. |
getIpv6AddressBytes() (deprecated)
public abstract ByteString getIpv6AddressBytes()Deprecated. google.cloud.sql.v1beta4.DatabaseInstance.ipv6_address is deprecated. See google/cloud/sql/v1beta4/cloud_sql_resources.proto;l=814
The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
string ipv6_address = 15 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ipv6Address. |
getKind()
public abstract String getKind() This is always sql#instance.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public abstract ByteString getKindBytes() This is always sql#instance.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
getMaintenanceVersion()
public abstract String getMaintenanceVersion()The current software version on the instance.
string maintenance_version = 42;
| Returns | |
|---|---|
| Type | Description |
String |
The maintenanceVersion. |
getMaintenanceVersionBytes()
public abstract ByteString getMaintenanceVersionBytes()The current software version on the instance.
string maintenance_version = 42;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for maintenanceVersion. |
getMasterInstanceName()
public abstract String getMasterInstanceName()The name of the instance which will act as primary in the replication setup.
string master_instance_name = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The masterInstanceName. |
getMasterInstanceNameBytes()
public abstract ByteString getMasterInstanceNameBytes()The name of the instance which will act as primary in the replication setup.
string master_instance_name = 7;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for masterInstanceName. |
getMaxDiskSize() (deprecated)
public abstract Int64Value getMaxDiskSize()Deprecated. google.cloud.sql.v1beta4.DatabaseInstance.max_disk_size is deprecated. See google/cloud/sql/v1beta4/cloud_sql_resources.proto;l=788
The maximum disk size of the instance in bytes.
.google.protobuf.Int64Value max_disk_size = 9 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
Int64Value |
The maxDiskSize. |
getMaxDiskSizeOrBuilder() (deprecated)
public abstract Int64ValueOrBuilder getMaxDiskSizeOrBuilder()The maximum disk size of the instance in bytes.
.google.protobuf.Int64Value max_disk_size = 9 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
Int64ValueOrBuilder |
|
getName()
public abstract String getName()Name of the Cloud SQL instance. This does not include the project ID.
string name = 23;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Name of the Cloud SQL instance. This does not include the project ID.
string name = 23;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNodeCount()
public abstract int getNodeCount()The number of read pool nodes in a read pool.
optional int32 node_count = 63;
| Returns | |
|---|---|
| Type | Description |
int |
The nodeCount. |
getNodes(int index)
public abstract DatabaseInstance.PoolNodeConfig getNodes(int index)Output only. Entries containing information about each read pool node of the read pool.
repeated .google.cloud.sql.v1beta4.DatabaseInstance.PoolNodeConfig nodes = 64 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfig |
|
getNodesCount()
public abstract int getNodesCount()Output only. Entries containing information about each read pool node of the read pool.
repeated .google.cloud.sql.v1beta4.DatabaseInstance.PoolNodeConfig nodes = 64 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getNodesList()
public abstract List<DatabaseInstance.PoolNodeConfig> getNodesList()Output only. Entries containing information about each read pool node of the read pool.
repeated .google.cloud.sql.v1beta4.DatabaseInstance.PoolNodeConfig nodes = 64 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<PoolNodeConfig> |
|
getNodesOrBuilder(int index)
public abstract DatabaseInstance.PoolNodeConfigOrBuilder getNodesOrBuilder(int index)Output only. Entries containing information about each read pool node of the read pool.
repeated .google.cloud.sql.v1beta4.DatabaseInstance.PoolNodeConfig nodes = 64 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.PoolNodeConfigOrBuilder |
|
getNodesOrBuilderList()
public abstract List<? extends DatabaseInstance.PoolNodeConfigOrBuilder> getNodesOrBuilderList()Output only. Entries containing information about each read pool node of the read pool.
repeated .google.cloud.sql.v1beta4.DatabaseInstance.PoolNodeConfig nodes = 64 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.sql.v1beta4.DatabaseInstance.PoolNodeConfigOrBuilder> |
|
getOnPremisesConfiguration()
public abstract OnPremisesConfiguration getOnPremisesConfiguration()Configuration specific to on-premises instances.
.google.cloud.sql.v1beta4.OnPremisesConfiguration on_premises_configuration = 17;
| Returns | |
|---|---|
| Type | Description |
OnPremisesConfiguration |
The onPremisesConfiguration. |
getOnPremisesConfigurationOrBuilder()
public abstract OnPremisesConfigurationOrBuilder getOnPremisesConfigurationOrBuilder()Configuration specific to on-premises instances.
.google.cloud.sql.v1beta4.OnPremisesConfiguration on_premises_configuration = 17;
| Returns | |
|---|---|
| Type | Description |
OnPremisesConfigurationOrBuilder |
|
getOutOfDiskReport()
public abstract DatabaseInstance.SqlOutOfDiskReport getOutOfDiskReport()This field represents the report generated by the proactive database wellness job for OutOfDisk issues.
- Writers:
- the proactive database wellness job for OOD.
- Readers:
- the proactive database wellness job
optional .google.cloud.sql.v1beta4.DatabaseInstance.SqlOutOfDiskReport out_of_disk_report = 38;
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.SqlOutOfDiskReport |
The outOfDiskReport. |
getOutOfDiskReportOrBuilder()
public abstract DatabaseInstance.SqlOutOfDiskReportOrBuilder getOutOfDiskReportOrBuilder()This field represents the report generated by the proactive database wellness job for OutOfDisk issues.
- Writers:
- the proactive database wellness job for OOD.
- Readers:
- the proactive database wellness job
optional .google.cloud.sql.v1beta4.DatabaseInstance.SqlOutOfDiskReport out_of_disk_report = 38;
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.SqlOutOfDiskReportOrBuilder |
|
getPrimaryDnsName() (deprecated)
public abstract String getPrimaryDnsName()Deprecated. google.cloud.sql.v1beta4.DatabaseInstance.primary_dns_name is deprecated. See google/cloud/sql/v1beta4/cloud_sql_resources.proto;l=927
Output only. DEPRECATED: please use write_endpoint instead.
optional string primary_dns_name = 51 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The primaryDnsName. |
getPrimaryDnsNameBytes() (deprecated)
public abstract ByteString getPrimaryDnsNameBytes()Deprecated. google.cloud.sql.v1beta4.DatabaseInstance.primary_dns_name is deprecated. See google/cloud/sql/v1beta4/cloud_sql_resources.proto;l=927
Output only. DEPRECATED: please use write_endpoint instead.
optional string primary_dns_name = 51 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for primaryDnsName. |
getProject()
public abstract String getProject()The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.
string project = 14;
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public abstract ByteString getProjectBytes()The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.
string project = 14;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getPscServiceAttachmentLink()
public abstract String getPscServiceAttachmentLink()Output only. The link to service attachment of PSC instance.
optional string psc_service_attachment_link = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The pscServiceAttachmentLink. |
getPscServiceAttachmentLinkBytes()
public abstract ByteString getPscServiceAttachmentLinkBytes()Output only. The link to service attachment of PSC instance.
optional string psc_service_attachment_link = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pscServiceAttachmentLink. |
getRegion()
public abstract String getRegion()The geographical region of the Cloud SQL instance.
It can be one of the regions where Cloud SQL operates:
For example, asia-east1, europe-west1, and us-central1.
The default value is us-central1.
string region = 24;
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public abstract ByteString getRegionBytes()The geographical region of the Cloud SQL instance.
It can be one of the regions where Cloud SQL operates:
For example, asia-east1, europe-west1, and us-central1.
The default value is us-central1.
string region = 24;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
getReplicaConfiguration()
public abstract ReplicaConfiguration getReplicaConfiguration()Configuration specific to failover replicas and read replicas.
.google.cloud.sql.v1beta4.ReplicaConfiguration replica_configuration = 18;
| Returns | |
|---|---|
| Type | Description |
ReplicaConfiguration |
The replicaConfiguration. |
getReplicaConfigurationOrBuilder()
public abstract ReplicaConfigurationOrBuilder getReplicaConfigurationOrBuilder()Configuration specific to failover replicas and read replicas.
.google.cloud.sql.v1beta4.ReplicaConfiguration replica_configuration = 18;
| Returns | |
|---|---|
| Type | Description |
ReplicaConfigurationOrBuilder |
|
getReplicaNames(int index)
public abstract String getReplicaNames(int index)The replicas of the instance.
repeated string replica_names = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The replicaNames at the given index. |
getReplicaNamesBytes(int index)
public abstract ByteString getReplicaNamesBytes(int index)The replicas of the instance.
repeated string replica_names = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the replicaNames at the given index. |
getReplicaNamesCount()
public abstract int getReplicaNamesCount()The replicas of the instance.
repeated string replica_names = 8;
| Returns | |
|---|---|
| Type | Description |
int |
The count of replicaNames. |
getReplicaNamesList()
public abstract List<String> getReplicaNamesList()The replicas of the instance.
repeated string replica_names = 8;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the replicaNames. |
getReplicationCluster()
public abstract ReplicationCluster getReplicationCluster()A primary instance and disaster recovery (DR) replica pair. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance experiences regional failure. Applicable to MySQL and PostgreSQL.
optional .google.cloud.sql.v1beta4.ReplicationCluster replication_cluster = 54;
| Returns | |
|---|---|
| Type | Description |
ReplicationCluster |
The replicationCluster. |
getReplicationClusterOrBuilder()
public abstract ReplicationClusterOrBuilder getReplicationClusterOrBuilder()A primary instance and disaster recovery (DR) replica pair. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance experiences regional failure. Applicable to MySQL and PostgreSQL.
optional .google.cloud.sql.v1beta4.ReplicationCluster replication_cluster = 54;
| Returns | |
|---|---|
| Type | Description |
ReplicationClusterOrBuilder |
|
getRootPassword()
public abstract String getRootPassword()Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances.
string root_password = 29;
| Returns | |
|---|---|
| Type | Description |
String |
The rootPassword. |
getRootPasswordBytes()
public abstract ByteString getRootPasswordBytes()Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances.
string root_password = 29;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for rootPassword. |
getSatisfiesPzi()
public abstract BoolValue getSatisfiesPzi()Output only. This status indicates whether the instance satisfies PZI.
The status is reserved for future use.
.google.protobuf.BoolValue satisfies_pzi = 56 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The satisfiesPzi. |
getSatisfiesPziOrBuilder()
public abstract BoolValueOrBuilder getSatisfiesPziOrBuilder()Output only. This status indicates whether the instance satisfies PZI.
The status is reserved for future use.
.google.protobuf.BoolValue satisfies_pzi = 56 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getSatisfiesPzs()
public abstract BoolValue getSatisfiesPzs()This status indicates whether the instance satisfies PZS.
The status is reserved for future use.
.google.protobuf.BoolValue satisfies_pzs = 35;
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The satisfiesPzs. |
getSatisfiesPzsOrBuilder()
public abstract BoolValueOrBuilder getSatisfiesPzsOrBuilder()This status indicates whether the instance satisfies PZS.
The status is reserved for future use.
.google.protobuf.BoolValue satisfies_pzs = 35;
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getScheduledMaintenance()
public abstract DatabaseInstance.SqlScheduledMaintenance getScheduledMaintenance()The start time of any upcoming scheduled maintenance for this instance.
.google.cloud.sql.v1beta4.DatabaseInstance.SqlScheduledMaintenance scheduled_maintenance = 30;
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.SqlScheduledMaintenance |
The scheduledMaintenance. |
getScheduledMaintenanceOrBuilder()
public abstract DatabaseInstance.SqlScheduledMaintenanceOrBuilder getScheduledMaintenanceOrBuilder()The start time of any upcoming scheduled maintenance for this instance.
.google.cloud.sql.v1beta4.DatabaseInstance.SqlScheduledMaintenance scheduled_maintenance = 30;
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.SqlScheduledMaintenanceOrBuilder |
|
getSecondaryGceZone()
public abstract String getSecondaryGceZone()The Compute Engine zone that the failover instance is currently serving from for a regional instance. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary/failover zone.
string secondary_gce_zone = 34;
| Returns | |
|---|---|
| Type | Description |
String |
The secondaryGceZone. |
getSecondaryGceZoneBytes()
public abstract ByteString getSecondaryGceZoneBytes()The Compute Engine zone that the failover instance is currently serving from for a regional instance. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary/failover zone.
string secondary_gce_zone = 34;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for secondaryGceZone. |
getSelfLink()
public abstract String getSelfLink()The URI of this resource.
string self_link = 20;
| Returns | |
|---|---|
| Type | Description |
String |
The selfLink. |
getSelfLinkBytes()
public abstract ByteString getSelfLinkBytes()The URI of this resource.
string self_link = 20;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for selfLink. |
getServerCaCert()
public abstract SslCert getServerCaCert()SSL configuration.
.google.cloud.sql.v1beta4.SslCert server_ca_cert = 12;
| Returns | |
|---|---|
| Type | Description |
SslCert |
The serverCaCert. |
getServerCaCertOrBuilder()
public abstract SslCertOrBuilder getServerCaCertOrBuilder()SSL configuration.
.google.cloud.sql.v1beta4.SslCert server_ca_cert = 12;
| Returns | |
|---|---|
| Type | Description |
SslCertOrBuilder |
|
getServiceAccountEmailAddress()
public abstract String getServiceAccountEmailAddress()The service account email address assigned to the instance. \This property is read-only.
string service_account_email_address = 16;
| Returns | |
|---|---|
| Type | Description |
String |
The serviceAccountEmailAddress. |
getServiceAccountEmailAddressBytes()
public abstract ByteString getServiceAccountEmailAddressBytes()The service account email address assigned to the instance. \This property is read-only.
string service_account_email_address = 16;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceAccountEmailAddress. |
getSettings()
public abstract Settings getSettings()The user settings.
.google.cloud.sql.v1beta4.Settings settings = 4;
| Returns | |
|---|---|
| Type | Description |
Settings |
The settings. |
getSettingsOrBuilder()
public abstract SettingsOrBuilder getSettingsOrBuilder()The user settings.
.google.cloud.sql.v1beta4.Settings settings = 4;
| Returns | |
|---|---|
| Type | Description |
SettingsOrBuilder |
|
getSqlNetworkArchitecture()
public abstract DatabaseInstance.SqlNetworkArchitecture getSqlNetworkArchitecture()The SQL network architecture for the instance.
optional .google.cloud.sql.v1beta4.DatabaseInstance.SqlNetworkArchitecture sql_network_architecture = 47;
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.SqlNetworkArchitecture |
The sqlNetworkArchitecture. |
getSqlNetworkArchitectureValue()
public abstract int getSqlNetworkArchitectureValue()The SQL network architecture for the instance.
optional .google.cloud.sql.v1beta4.DatabaseInstance.SqlNetworkArchitecture sql_network_architecture = 47;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for sqlNetworkArchitecture. |
getState()
public abstract DatabaseInstance.SqlInstanceState getState()The current serving state of the Cloud SQL instance.
.google.cloud.sql.v1beta4.DatabaseInstance.SqlInstanceState state = 2;
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.SqlInstanceState |
The state. |
getStateValue()
public abstract int getStateValue()The current serving state of the Cloud SQL instance.
.google.cloud.sql.v1beta4.DatabaseInstance.SqlInstanceState state = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getSuspensionReason(int index)
public abstract SqlSuspensionReason getSuspensionReason(int index)If the instance state is SUSPENDED, the reason for the suspension.
repeated .google.cloud.sql.v1beta4.SqlSuspensionReason suspension_reason = 21;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
SqlSuspensionReason |
The suspensionReason at the given index. |
getSuspensionReasonCount()
public abstract int getSuspensionReasonCount()If the instance state is SUSPENDED, the reason for the suspension.
repeated .google.cloud.sql.v1beta4.SqlSuspensionReason suspension_reason = 21;
| Returns | |
|---|---|
| Type | Description |
int |
The count of suspensionReason. |
getSuspensionReasonList()
public abstract List<SqlSuspensionReason> getSuspensionReasonList()If the instance state is SUSPENDED, the reason for the suspension.
repeated .google.cloud.sql.v1beta4.SqlSuspensionReason suspension_reason = 21;
| Returns | |
|---|---|
| Type | Description |
List<SqlSuspensionReason> |
A list containing the suspensionReason. |
getSuspensionReasonValue(int index)
public abstract int getSuspensionReasonValue(int index)If the instance state is SUSPENDED, the reason for the suspension.
repeated .google.cloud.sql.v1beta4.SqlSuspensionReason suspension_reason = 21;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of suspensionReason at the given index. |
getSuspensionReasonValueList()
public abstract List<Integer> getSuspensionReasonValueList()If the instance state is SUSPENDED, the reason for the suspension.
repeated .google.cloud.sql.v1beta4.SqlSuspensionReason suspension_reason = 21;
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for suspensionReason. |
getSwitchTransactionLogsToCloudStorageEnabled()
public abstract BoolValue getSwitchTransactionLogsToCloudStorageEnabled()Input only. Whether Cloud SQL is enabled to switch storing point-in-time recovery log files from a data disk to Cloud Storage.
optional .google.protobuf.BoolValue switch_transaction_logs_to_cloud_storage_enabled = 57 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The switchTransactionLogsToCloudStorageEnabled. |
getSwitchTransactionLogsToCloudStorageEnabledOrBuilder()
public abstract BoolValueOrBuilder getSwitchTransactionLogsToCloudStorageEnabledOrBuilder()Input only. Whether Cloud SQL is enabled to switch storing point-in-time recovery log files from a data disk to Cloud Storage.
optional .google.protobuf.BoolValue switch_transaction_logs_to_cloud_storage_enabled = 57 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getTags() (deprecated)
public abstract Map<String,String> getTags()Use #getTagsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getTagsCount()
public abstract int getTagsCount() Optional. Input only. Immutable. Tag keys and tag values that are bound to
this instance. You must represent each item in the map as:
"<tag-key-namespaced-name>" : "<tag-value-short-name>".
For example, a single resource can have the following tags:
<code><code>
"123/environment": "production",
"123/costCenter": "marketing",
</code></code>
For more information on tag creation and management, see https://cloud.google.com/resource-manager/docs/tags/tags-overview.
map<string, string> tags = 60 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getTagsMap()
public abstract Map<String,String> getTagsMap() Optional. Input only. Immutable. Tag keys and tag values that are bound to
this instance. You must represent each item in the map as:
"<tag-key-namespaced-name>" : "<tag-value-short-name>".
For example, a single resource can have the following tags:
<code><code>
"123/environment": "production",
"123/costCenter": "marketing",
</code></code>
For more information on tag creation and management, see https://cloud.google.com/resource-manager/docs/tags/tags-overview.
map<string, string> tags = 60 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getTagsOrDefault(String key, String defaultValue)
public abstract String getTagsOrDefault(String key, String defaultValue) Optional. Input only. Immutable. Tag keys and tag values that are bound to
this instance. You must represent each item in the map as:
"<tag-key-namespaced-name>" : "<tag-value-short-name>".
For example, a single resource can have the following tags:
<code><code>
"123/environment": "production",
"123/costCenter": "marketing",
</code></code>
For more information on tag creation and management, see https://cloud.google.com/resource-manager/docs/tags/tags-overview.
map<string, string> tags = 60 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getTagsOrThrow(String key)
public abstract String getTagsOrThrow(String key) Optional. Input only. Immutable. Tag keys and tag values that are bound to
this instance. You must represent each item in the map as:
"<tag-key-namespaced-name>" : "<tag-value-short-name>".
For example, a single resource can have the following tags:
<code><code>
"123/environment": "production",
"123/costCenter": "marketing",
</code></code>
For more information on tag creation and management, see https://cloud.google.com/resource-manager/docs/tags/tags-overview.
map<string, string> tags = 60 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getUpgradableDatabaseVersions(int index)
public abstract AvailableDatabaseVersion getUpgradableDatabaseVersions(int index)Output only. All database versions that are available for upgrade.
repeated .google.cloud.sql.v1beta4.AvailableDatabaseVersion upgradable_database_versions = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AvailableDatabaseVersion |
|
getUpgradableDatabaseVersionsCount()
public abstract int getUpgradableDatabaseVersionsCount()Output only. All database versions that are available for upgrade.
repeated .google.cloud.sql.v1beta4.AvailableDatabaseVersion upgradable_database_versions = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getUpgradableDatabaseVersionsList()
public abstract List<AvailableDatabaseVersion> getUpgradableDatabaseVersionsList()Output only. All database versions that are available for upgrade.
repeated .google.cloud.sql.v1beta4.AvailableDatabaseVersion upgradable_database_versions = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<AvailableDatabaseVersion> |
|
getUpgradableDatabaseVersionsOrBuilder(int index)
public abstract AvailableDatabaseVersionOrBuilder getUpgradableDatabaseVersionsOrBuilder(int index)Output only. All database versions that are available for upgrade.
repeated .google.cloud.sql.v1beta4.AvailableDatabaseVersion upgradable_database_versions = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AvailableDatabaseVersionOrBuilder |
|
getUpgradableDatabaseVersionsOrBuilderList()
public abstract List<? extends AvailableDatabaseVersionOrBuilder> getUpgradableDatabaseVersionsOrBuilderList()Output only. All database versions that are available for upgrade.
repeated .google.cloud.sql.v1beta4.AvailableDatabaseVersion upgradable_database_versions = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.sql.v1beta4.AvailableDatabaseVersionOrBuilder> |
|
getWriteEndpoint()
public abstract String getWriteEndpoint()Output only. The dns name of the primary instance in a replication group.
optional string write_endpoint = 52 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The writeEndpoint. |
getWriteEndpointBytes()
public abstract ByteString getWriteEndpointBytes()Output only. The dns name of the primary instance in a replication group.
optional string write_endpoint = 52 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for writeEndpoint. |
hasCreateTime()
public abstract boolean hasCreateTime() Output only. The time when the instance was created in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
.google.protobuf.Timestamp create_time = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasCurrentDiskSize() (deprecated)
public abstract boolean hasCurrentDiskSize()Deprecated. google.cloud.sql.v1beta4.DatabaseInstance.current_disk_size is deprecated. See google/cloud/sql/v1beta4/cloud_sql_resources.proto;l=796
The current disk usage of the instance in bytes. This property has been deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see this announcement for details.
.google.protobuf.Int64Value current_disk_size = 10 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the currentDiskSize field is set. |
hasDatabaseCenterIntegrationEnabled()
public abstract boolean hasDatabaseCenterIntegrationEnabled()Optional. If true, instance metadata is sent to the Database Center. If false, instance metadata is not sent to the Database Center.
.google.protobuf.BoolValue database_center_integration_enabled = 72 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the databaseCenterIntegrationEnabled field is set. |
hasDiskEncryptionConfiguration()
public abstract boolean hasDiskEncryptionConfiguration()Disk encryption configuration specific to an instance.
.google.cloud.sql.v1beta4.DiskEncryptionConfiguration disk_encryption_configuration = 26;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the diskEncryptionConfiguration field is set. |
hasDiskEncryptionStatus()
public abstract boolean hasDiskEncryptionStatus()Disk encryption status specific to an instance.
.google.cloud.sql.v1beta4.DiskEncryptionStatus disk_encryption_status = 27;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the diskEncryptionStatus field is set. |
hasDnsName()
public abstract boolean hasDnsName()Output only. The dns name of the instance.
optional string dns_name = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dnsName field is set. |
hasFailoverReplica()
public abstract boolean hasFailoverReplica()The name and status of the failover replica.
.google.cloud.sql.v1beta4.DatabaseInstance.SqlFailoverReplica failover_replica = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the failoverReplica field is set. |
hasGeminiConfig()
public abstract boolean hasGeminiConfig()Gemini instance configuration.
optional .google.cloud.sql.v1beta4.GeminiInstanceConfig gemini_config = 55;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the geminiConfig field is set. |
hasIncludeReplicasForMajorVersionUpgrade()
public abstract boolean hasIncludeReplicasForMajorVersionUpgrade()Input only. Determines whether an in-place major version upgrade of replicas happens when an in-place major version upgrade of a primary instance is initiated.
optional .google.protobuf.BoolValue include_replicas_for_major_version_upgrade = 59 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the includeReplicasForMajorVersionUpgrade field is set. |
hasMaxDiskSize() (deprecated)
public abstract boolean hasMaxDiskSize()Deprecated. google.cloud.sql.v1beta4.DatabaseInstance.max_disk_size is deprecated. See google/cloud/sql/v1beta4/cloud_sql_resources.proto;l=788
The maximum disk size of the instance in bytes.
.google.protobuf.Int64Value max_disk_size = 9 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the maxDiskSize field is set. |
hasNodeCount()
public abstract boolean hasNodeCount()The number of read pool nodes in a read pool.
optional int32 node_count = 63;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the nodeCount field is set. |
hasOnPremisesConfiguration()
public abstract boolean hasOnPremisesConfiguration()Configuration specific to on-premises instances.
.google.cloud.sql.v1beta4.OnPremisesConfiguration on_premises_configuration = 17;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the onPremisesConfiguration field is set. |
hasOutOfDiskReport()
public abstract boolean hasOutOfDiskReport()This field represents the report generated by the proactive database wellness job for OutOfDisk issues.
- Writers:
- the proactive database wellness job for OOD.
- Readers:
- the proactive database wellness job
optional .google.cloud.sql.v1beta4.DatabaseInstance.SqlOutOfDiskReport out_of_disk_report = 38;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the outOfDiskReport field is set. |
hasPrimaryDnsName() (deprecated)
public abstract boolean hasPrimaryDnsName()Deprecated. google.cloud.sql.v1beta4.DatabaseInstance.primary_dns_name is deprecated. See google/cloud/sql/v1beta4/cloud_sql_resources.proto;l=927
Output only. DEPRECATED: please use write_endpoint instead.
optional string primary_dns_name = 51 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the primaryDnsName field is set. |
hasPscServiceAttachmentLink()
public abstract boolean hasPscServiceAttachmentLink()Output only. The link to service attachment of PSC instance.
optional string psc_service_attachment_link = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pscServiceAttachmentLink field is set. |
hasReplicaConfiguration()
public abstract boolean hasReplicaConfiguration()Configuration specific to failover replicas and read replicas.
.google.cloud.sql.v1beta4.ReplicaConfiguration replica_configuration = 18;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the replicaConfiguration field is set. |
hasReplicationCluster()
public abstract boolean hasReplicationCluster()A primary instance and disaster recovery (DR) replica pair. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance experiences regional failure. Applicable to MySQL and PostgreSQL.
optional .google.cloud.sql.v1beta4.ReplicationCluster replication_cluster = 54;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the replicationCluster field is set. |
hasSatisfiesPzi()
public abstract boolean hasSatisfiesPzi()Output only. This status indicates whether the instance satisfies PZI.
The status is reserved for future use.
.google.protobuf.BoolValue satisfies_pzi = 56 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the satisfiesPzi field is set. |
hasSatisfiesPzs()
public abstract boolean hasSatisfiesPzs()This status indicates whether the instance satisfies PZS.
The status is reserved for future use.
.google.protobuf.BoolValue satisfies_pzs = 35;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the satisfiesPzs field is set. |
hasScheduledMaintenance()
public abstract boolean hasScheduledMaintenance()The start time of any upcoming scheduled maintenance for this instance.
.google.cloud.sql.v1beta4.DatabaseInstance.SqlScheduledMaintenance scheduled_maintenance = 30;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the scheduledMaintenance field is set. |
hasServerCaCert()
public abstract boolean hasServerCaCert()SSL configuration.
.google.cloud.sql.v1beta4.SslCert server_ca_cert = 12;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the serverCaCert field is set. |
hasSettings()
public abstract boolean hasSettings()The user settings.
.google.cloud.sql.v1beta4.Settings settings = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the settings field is set. |
hasSqlNetworkArchitecture()
public abstract boolean hasSqlNetworkArchitecture()The SQL network architecture for the instance.
optional .google.cloud.sql.v1beta4.DatabaseInstance.SqlNetworkArchitecture sql_network_architecture = 47;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sqlNetworkArchitecture field is set. |
hasSwitchTransactionLogsToCloudStorageEnabled()
public abstract boolean hasSwitchTransactionLogsToCloudStorageEnabled()Input only. Whether Cloud SQL is enabled to switch storing point-in-time recovery log files from a data disk to Cloud Storage.
optional .google.protobuf.BoolValue switch_transaction_logs_to_cloud_storage_enabled = 57 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the switchTransactionLogsToCloudStorageEnabled field is set. |
hasWriteEndpoint()
public abstract boolean hasWriteEndpoint()Output only. The dns name of the primary instance in a replication group.
optional string write_endpoint = 52 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the writeEndpoint field is set. |