Interface CreateSessionRequestOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getDatabase()
      Required.
      com.google.protobuf.ByteString getDatabaseBytes()
      Required.
      Session getSession()
      Required.
      SessionOrBuilder getSessionOrBuilder()
      Required.
      boolean hasSession()
      Required.
      • 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 Detail

      • getDatabase

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

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

        boolean hasSession()
         Required. The session to create.
         
        .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the session field is set.
      • getSession

        Session getSession()
         Required. The session to create.
         
        .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The session.
      • getSessionOrBuilder

        SessionOrBuilder getSessionOrBuilder()
         Required. The session to create.
         
        .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED];