Interface BatchCreateSessionsRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BatchCreateSessionsRequest, BatchCreateSessionsRequest.Builder

public interface BatchCreateSessionsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    int
    Required.
    Parameters to be applied to each created session.
    Parameters to be applied to each created session.
    boolean
    Parameters to be applied to each created session.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDatabase

      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:
      The database.
    • getDatabaseBytes

      com.google.protobuf.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:
      The bytes for database.
    • hasSessionTemplate

      boolean hasSessionTemplate()
       Parameters to be applied to each created session.
       
      .google.spanner.v1.Session session_template = 2;
      Returns:
      Whether the sessionTemplate field is set.
    • getSessionTemplate

      Session getSessionTemplate()
       Parameters to be applied to each created session.
       
      .google.spanner.v1.Session session_template = 2;
      Returns:
      The sessionTemplate.
    • getSessionTemplateOrBuilder

      SessionOrBuilder getSessionTemplateOrBuilder()
       Parameters to be applied to each created session.
       
      .google.spanner.v1.Session session_template = 2;
    • getSessionCount

      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];
      Returns:
      The sessionCount.