Interface CreateSessionRequestOrBuilder (6.25.1)

Stay organized with collections Save and categorize content based on your preferences.
public interface CreateSessionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatabase()

public abstract String getDatabase()

Required. The database in which the new session is created.

string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The database.

getDatabaseBytes()

public abstract ByteString getDatabaseBytes()

Required. The database in which the new session is created.

string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for database.

getSession()

public abstract Session getSession()

Required. The session to create.

.google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Session

The session.

getSessionOrBuilder()

public abstract SessionOrBuilder getSessionOrBuilder()

Required. The session to create.

.google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SessionOrBuilder

hasSession()

public abstract boolean hasSession()

Required. The session to create.

.google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the session field is set.