Implementation of informally used Java API to preserve compatibility with older code that uses
CoreSocketFactory.
See Also: com.google.cloud.sql.ConnectorRegistry
InternalConnectorRegistry keeps track of connectors. This class should not be used directly, but
only through the JDBC driver specific SocketFactory implementations.
WARNING: This is an internal class. The API is subject to change without notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Package com.google.cloud.sql.core (1.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.15.0 (latest)](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core)\n- [1.14.1](/java/docs/reference/jdbc-socket-factory-parent/1.14.1/com.google.cloud.sql.core) \nWARNING: This package does not contain any stable, public Java API. The class definitions may\nchange without notice.\n\nPackage com.google.cloud.sql.core holds internal shared packages that implement logic to\ncreate a socket to a Cloud SQL database.\n\nClasses\n-------\n\n### [CloudSqlConnectionFactory](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.CloudSqlConnectionFactory)\n\nConnectionFactory for accessing Cloud SQL instances via R2DBC protocol.\n\n### [ConnectionConfig](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.ConnectionConfig)\n\nConnectionConfig is an immutable configuration value object that holds the entire configuration\nof a CloudSqlInstance connection.\n\nWARNING: This is an internal class. The API is subject to change without notice.\n\n### [ConnectionConfig.Builder](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.ConnectionConfig.Builder)\n\nThe builder for the ConnectionConfig.\n\n### [ConnectionMetadata](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.ConnectionMetadata)\n\nA value object containing configuration needed to set up an mTLS connection to a Cloud SQL\ninstance.\n\n### [CoreSocketFactory](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.CoreSocketFactory) (deprecated)\n\n**Deprecated.** *Use the official java API instead.*\n\nImplementation of informally used Java API to preserve compatibility with older code that uses\nCoreSocketFactory.\nSee Also: [com.google.cloud.sql.ConnectorRegistry](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.ConnectorRegistry)\n\n### [DefaultConnectionInfoRepositoryFactory](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.DefaultConnectionInfoRepositoryFactory)\n\nFactory for creating a SQLAdmin client that interacts with the real SQL Admin API.\n\n### [GcpConnectionFactoryProvider](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.GcpConnectionFactoryProvider)\n\nConnectionFactoryProvider for proxied access to GCP Postgres and MySQL instances.\n\n### [GcpConnectionFactoryProviderMssql](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.GcpConnectionFactoryProviderMssql)\n\nConnectionFactoryProvider for proxied access to GCP MsSQL instances.\n\n### [GcpConnectionFactoryProviderMysql](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.GcpConnectionFactoryProviderMysql)\n\nConnectionFactoryProvider for proxied access to GCP MySQL instances.\n\n### [GcpConnectionFactoryProviderPostgres](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.GcpConnectionFactoryProviderPostgres)\n\nConnectionFactoryProvider for proxied access to GCP Postgres instances.\n\n### [InternalConnectorRegistry](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.InternalConnectorRegistry)\n\nInternalConnectorRegistry keeps track of connectors. This class should not be used directly, but\nonly through the JDBC driver specific `SocketFactory` implementations.\n\nWARNING: This is an internal class. The API is subject to change without notice.\n\nInterfaces\n----------\n\n### [ConnectionInfoRepositoryFactory](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.ConnectionInfoRepositoryFactory)\n\nFactory interface for creating SQLAdmin clients to interact with Cloud SQL Admin API."]]