Implementation of informally used Java API to preserve compatibility with older code that uses
CoreSocketFactory.
See Also: com.google.cloud.sql.ConnectorRegistry
[[["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,["# Class CoreSocketFactory (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.CoreSocketFactory)\n- [1.14.1](/java/docs/reference/jdbc-socket-factory-parent/1.14.1/com.google.cloud.sql.core.CoreSocketFactory) \n\n public final class CoreSocketFactory\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\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e CoreSocketFactory \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nStatic Fields\n-------------\n\n### CLOUD_SQL_DELEGATES_PROPERTY (deprecated)\n\n public static final String CLOUD_SQL_DELEGATES_PROPERTY\n\n**Deprecated.** *Use the public API instead.*\n\nDelegates property name.\nSee Also: [ConnectionConfig#CLOUD_SQL_DELEGATES_PROPERTY](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.ConnectionConfig#com_google_cloud_sql_core_ConnectionConfig_CLOUD_SQL_DELEGATES_PROPERTY)\n\n### CLOUD_SQL_INSTANCE_PROPERTY (deprecated)\n\n public static final String CLOUD_SQL_INSTANCE_PROPERTY\n\n**Deprecated.** *Use the public API instead.*\n\nConnection property name.\nSee Also: [ConnectionConfig#CLOUD_SQL_INSTANCE_PROPERTY](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.ConnectionConfig#com_google_cloud_sql_core_ConnectionConfig_CLOUD_SQL_INSTANCE_PROPERTY)\n\n### CLOUD_SQL_TARGET_PRINCIPAL_PROPERTY (deprecated)\n\n public static final String CLOUD_SQL_TARGET_PRINCIPAL_PROPERTY\n\n**Deprecated.** *Use the public API instead.*\n\nTargetPrincipal property name.\nSee Also: [ConnectionConfig#CLOUD_SQL_TARGET_PRINCIPAL_PROPERTY](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.ConnectionConfig#com_google_cloud_sql_core_ConnectionConfig_CLOUD_SQL_TARGET_PRINCIPAL_PROPERTY)\n\n### DEFAULT_IP_TYPES (deprecated)\n\n public static final String DEFAULT_IP_TYPES\n\n**Deprecated.** *Use the public API instead.*\n\nIpTypes default property value.\nSee Also: [ConnectionConfig#DEFAULT_IP_TYPES](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.ConnectionConfig#com_google_cloud_sql_core_ConnectionConfig_DEFAULT_IP_TYPES)\n\n### USER_TOKEN_PROPERTY_NAME (deprecated)\n\n public static final String USER_TOKEN_PROPERTY_NAME\n\n**Deprecated.** *Use #setApplicationName(String) to set the application name\nprogrammatically.*\n\nProperty used to set the application name for the underlying SQLAdmin client.\n\nConstructors\n------------\n\n### CoreSocketFactory() (deprecated)\n\n public CoreSocketFactory()"]]