ListSessionsRequest

com.google.spanner.v1.spanner.ListSessionsRequest
See theListSessionsRequest companion object
final case class ListSessionsRequest(database: String, pageSize: Int, pageToken: String, filter: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[ListSessionsRequest]

The request for [ListSessions][google.spanner.v1.Spanner.ListSessions].

Value parameters

database

Required. The database in which to list sessions.

filter

An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:

  • labels.key where key is the name of a label Some examples of using filters are:
  • labels.env:* --> The session has the label "env".
  • labels.env:dev --> The session has the label "env" and the value of the label contains the string "dev".
pageSize

Number of sessions to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.

pageToken

If non-empty, page_token should contain a [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous [ListSessionsResponse][google.spanner.v1.ListSessionsResponse].

Attributes

Companion
object
Source
ListSessionsRequest.scala
Graph
Supertypes
trait Updatable[ListSessionsRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
ListSessionsRequest.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
ListSessionsRequest.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
ListSessionsRequest.scala
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
ListSessionsRequest.scala
def withDatabase(`__v`: String): ListSessionsRequest

Attributes

Source
ListSessionsRequest.scala
def withFilter(`__v`: String): ListSessionsRequest

Attributes

Source
ListSessionsRequest.scala

Attributes

Source
ListSessionsRequest.scala
def withPageToken(`__v`: String): ListSessionsRequest

Attributes

Source
ListSessionsRequest.scala
def withUnknownFields(`__v`: UnknownFieldSet): ListSessionsRequest

Attributes

Source
ListSessionsRequest.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
ListSessionsRequest.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala