Class CoreSocketFactory (1.15.0)

public final class CoreSocketFactory

Deprecated. Use the official java API instead.

Implementation of informally used Java API to preserve compatibility with older code that uses CoreSocketFactory. See Also: com.google.cloud.sql.ConnectorRegistry

Inheritance

java.lang.Object > CoreSocketFactory

Static Fields

CLOUD_SQL_DELEGATES_PROPERTY (deprecated)

public static final String CLOUD_SQL_DELEGATES_PROPERTY

Deprecated. Use the public API instead.

Delegates property name. See Also: ConnectionConfig#CLOUD_SQL_DELEGATES_PROPERTY

Field Value
TypeDescription
String

CLOUD_SQL_INSTANCE_PROPERTY (deprecated)

public static final String CLOUD_SQL_INSTANCE_PROPERTY

Deprecated. Use the public API instead.

Connection property name. See Also: ConnectionConfig#CLOUD_SQL_INSTANCE_PROPERTY

Field Value
TypeDescription
String

CLOUD_SQL_TARGET_PRINCIPAL_PROPERTY (deprecated)

public static final String CLOUD_SQL_TARGET_PRINCIPAL_PROPERTY

Deprecated. Use the public API instead.

TargetPrincipal property name. See Also: ConnectionConfig#CLOUD_SQL_TARGET_PRINCIPAL_PROPERTY

Field Value
TypeDescription
String

DEFAULT_IP_TYPES (deprecated)

public static final String DEFAULT_IP_TYPES

Deprecated. Use the public API instead.

IpTypes default property value. See Also: ConnectionConfig#DEFAULT_IP_TYPES

Field Value
TypeDescription
String

USER_TOKEN_PROPERTY_NAME (deprecated)

public static final String USER_TOKEN_PROPERTY_NAME

Deprecated. Use #setApplicationName(String) to set the application name programmatically.

Property used to set the application name for the underlying SQLAdmin client.

Field Value
TypeDescription
String

Constructors

CoreSocketFactory() (deprecated)

public CoreSocketFactory()