Interface StartSessionOrBuilder (0.1.0)

public interface StartSessionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstanceId()

public abstract String getInstanceId()

Required. The Cloud SQL instance resource name, for example: projects/example-project/instances/example-instance

string instance_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public abstract ByteString getInstanceIdBytes()

Required. The Cloud SQL instance resource name, for example: projects/example-project/instances/example-instance

string instance_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for instanceId.

getLocationId()

public abstract String getLocationId()

Required. location_id is used to route the request to a specific region. Use the same region which was used to create the instance. Use the format locations/{location}, for example: locations/us-central1.

string location_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The locationId.

getLocationIdBytes()

public abstract ByteString getLocationIdBytes()

Required. location_id is used to route the request to a specific region. Use the same region which was used to create the instance. Use the format locations/{location}, for example: locations/us-central1.

string location_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for locationId.

getSessionId()

public abstract String getSessionId()

Optional. The session id, chosen by the client. This should be an unguessable string. If the client does not intend to reconnect to this session, the client may leave session_id unset.

string session_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sessionId.

getSessionIdBytes()

public abstract ByteString getSessionIdBytes()

Optional. The session id, chosen by the client. This should be an unguessable string. If the client does not intend to reconnect to this session, the client may leave session_id unset.

string session_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sessionId.