public interface CreateSessionRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getParent()
public abstract String getParent()Required. The database in which the new session is created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes()Required. The database in which the new session is created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getSession()
public abstract Session getSession()Required. The session to create.
.google.spanner.adapter.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Session |
The session. |
getSessionOrBuilder()
public abstract SessionOrBuilder getSessionOrBuilder()Required. The session to create.
.google.spanner.adapter.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SessionOrBuilder |
|
hasSession()
public abstract boolean hasSession()Required. The session to create.
.google.spanner.adapter.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the session field is set. |