public interface BatchCreateSessionsRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getDatabase()
Required.
|
ByteString |
getDatabaseBytes()
Required.
|
int |
getSessionCount()
Required.
|
Session |
getSessionTemplate()
Parameters to be applied to each created session.
|
SessionOrBuilder |
getSessionTemplateOrBuilder()
Parameters to be applied to each created session.
|
boolean |
hasSessionTemplate()
Parameters to be applied to each created session.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getDatabase()
Required. The database in which the new sessions are created.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ByteString getDatabaseBytes()
Required. The database in which the new sessions are created.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasSessionTemplate()
Parameters to be applied to each created session.
.google.spanner.v1.Session session_template = 2;
Session getSessionTemplate()
Parameters to be applied to each created session.
.google.spanner.v1.Session session_template = 2;
SessionOrBuilder getSessionTemplateOrBuilder()
Parameters to be applied to each created session.
.google.spanner.v1.Session session_template = 2;
int getSessionCount()
Required. The number of sessions to be created in this batch call. The API may return fewer than the requested number of sessions. If a specific number of sessions are desired, the client can make additional calls to BatchCreateSessions (adjusting [session_count][google.spanner.v1.BatchCreateSessionsRequest.session_count] as necessary).
int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED];
Copyright © 2022 Google LLC. All rights reserved.