- 6.108.0 (latest)
- 6.107.0
- 6.103.0
- 6.102.1
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class BatchCreateSessionsRequest.Builder extends GeneratedMessage.Builder<BatchCreateSessionsRequest.Builder> implements BatchCreateSessionsRequestOrBuilderThe request for BatchCreateSessions.
Protobuf type google.spanner.v1.BatchCreateSessionsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchCreateSessionsRequest.BuilderImplements
BatchCreateSessionsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BatchCreateSessionsRequest build()| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest |
|
buildPartial()
public BatchCreateSessionsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest |
|
clear()
public BatchCreateSessionsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest.Builder |
|
clearDatabase()
public BatchCreateSessionsRequest.Builder clearDatabase()Required. The database in which the new sessions are created.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest.Builder |
This builder for chaining. |
clearSessionCount()
public BatchCreateSessionsRequest.Builder clearSessionCount() Required. The number of sessions to be created in this batch call. At least
one session is created. The API can 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
as necessary).
int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest.Builder |
This builder for chaining. |
clearSessionTemplate()
public BatchCreateSessionsRequest.Builder clearSessionTemplate()Parameters to apply to each created session.
.google.spanner.v1.Session session_template = 2;
| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest.Builder |
|
getDatabase()
public String getDatabase()Required. The database in which the new sessions are created.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The database. |
getDatabaseBytes()
public ByteString getDatabaseBytes()Required. The database in which the new sessions are created.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for database. |
getDefaultInstanceForType()
public BatchCreateSessionsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSessionCount()
public int getSessionCount() Required. The number of sessions to be created in this batch call. At least
one session is created. The API can 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
as necessary).
int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The sessionCount. |
getSessionTemplate()
public Session getSessionTemplate()Parameters to apply to each created session.
.google.spanner.v1.Session session_template = 2;
| Returns | |
|---|---|
| Type | Description |
Session |
The sessionTemplate. |
getSessionTemplateBuilder()
public Session.Builder getSessionTemplateBuilder()Parameters to apply to each created session.
.google.spanner.v1.Session session_template = 2;
| Returns | |
|---|---|
| Type | Description |
Session.Builder |
|
getSessionTemplateOrBuilder()
public SessionOrBuilder getSessionTemplateOrBuilder()Parameters to apply to each created session.
.google.spanner.v1.Session session_template = 2;
| Returns | |
|---|---|
| Type | Description |
SessionOrBuilder |
|
hasSessionTemplate()
public boolean hasSessionTemplate()Parameters to apply to each created session.
.google.spanner.v1.Session session_template = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sessionTemplate field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchCreateSessionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchCreateSessionsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest.Builder |
|
mergeFrom(BatchCreateSessionsRequest other)
public BatchCreateSessionsRequest.Builder mergeFrom(BatchCreateSessionsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchCreateSessionsRequest |
| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest.Builder |
|
mergeSessionTemplate(Session value)
public BatchCreateSessionsRequest.Builder mergeSessionTemplate(Session value)Parameters to apply to each created session.
.google.spanner.v1.Session session_template = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Session |
| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest.Builder |
|
setDatabase(String value)
public BatchCreateSessionsRequest.Builder setDatabase(String value)Required. The database in which the new sessions are created.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe database to set. |
| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest.Builder |
This builder for chaining. |
setDatabaseBytes(ByteString value)
public BatchCreateSessionsRequest.Builder setDatabaseBytes(ByteString value)Required. The database in which the new sessions are created.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for database to set. |
| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest.Builder |
This builder for chaining. |
setSessionCount(int value)
public BatchCreateSessionsRequest.Builder setSessionCount(int value) Required. The number of sessions to be created in this batch call. At least
one session is created. The API can 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
as necessary).
int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe sessionCount to set. |
| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest.Builder |
This builder for chaining. |
setSessionTemplate(Session value)
public BatchCreateSessionsRequest.Builder setSessionTemplate(Session value)Parameters to apply to each created session.
.google.spanner.v1.Session session_template = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Session |
| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest.Builder |
|
setSessionTemplate(Session.Builder builderForValue)
public BatchCreateSessionsRequest.Builder setSessionTemplate(Session.Builder builderForValue)Parameters to apply to each created session.
.google.spanner.v1.Session session_template = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Session.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchCreateSessionsRequest.Builder |
|