final case class Session(name: String = "", labels: Map[String, String] = ..., createTime: Option[Timestamp] = _root_.scala.None, approximateLastUseTime: Option[Timestamp] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[Session] with Product with Serializable

A session in the Cloud Spanner API.

name

The name of the session. This is always system-assigned; values provided when creating a session are ignored.

labels

The labels for the session. * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. * Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. * No more than 64 labels can be associated with a given session. See https://goo.gl/xmQnxf for more information on and examples of labels.

createTime

Output only. The timestamp when the session is created.

approximateLastUseTime

Output only. The approximate timestamp when the session is last used. It is typically earlier than the actual last use time.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[Session], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Session
  2. Product
  3. Equals
  4. Updatable
  5. GeneratedMessage
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Session(name: String = "", labels: Map[String, String] = ..., createTime: Option[Timestamp] = _root_.scala.None, approximateLastUseTime: Option[Timestamp] = _root_.scala.None, unknownFields: UnknownFieldSet = ...)

    name

    The name of the session. This is always system-assigned; values provided when creating a session are ignored.

    labels

    The labels for the session. * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. * Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. * No more than 64 labels can be associated with a given session. See https://goo.gl/xmQnxf for more information on and examples of labels.

    createTime

    Output only. The timestamp when the session is created.

    approximateLastUseTime

    Output only. The approximate timestamp when the session is last used. It is typically earlier than the actual last use time.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllLabels(__vs: Iterable[(String, String)]): Session
  5. def addLabels(__vs: (String, String)*): Session
  6. val approximateLastUseTime: Option[Timestamp]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clearApproximateLastUseTime: Session
  9. def clearCreateTime: Session
  10. def clearLabels: Session
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def companion: Session.type
    Definition Classes
    Session → GeneratedMessage
  13. val createTime: Option[Timestamp]
  14. def discardUnknownFields: Session
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def getApproximateLastUseTime: Timestamp
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getCreateTime: Timestamp
  20. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    Session → GeneratedMessage
  21. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    Session → GeneratedMessage
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. val labels: Map[String, String]
  24. val name: String
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def serializedSize: Int
    Definition Classes
    Session → GeneratedMessage
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  31. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  32. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  33. def toProtoString: String
    Definition Classes
    Session → GeneratedMessage
  34. val unknownFields: UnknownFieldSet
  35. def update(ms: (Lens[Session, Session]) ⇒ scalapb.lenses.Mutation[Session]*): Session
    Definition Classes
    Updatable
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  39. def withApproximateLastUseTime(__v: Timestamp): Session
  40. def withCreateTime(__v: Timestamp): Session
  41. def withLabels(__v: Map[String, String]): Session
  42. def withName(__v: String): Session
  43. def withUnknownFields(__v: UnknownFieldSet): Session
  44. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  45. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    Session → GeneratedMessage
  46. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Product

Inherited from Equals

Inherited from Updatable[Session]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped