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()
- Alphabetic
- By Inheritance
- Session
- Product
- Equals
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllLabels(__vs: Iterable[(String, String)]): Session
- def addLabels(__vs: (String, String)*): Session
- val approximateLastUseTime: Option[Timestamp]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearApproximateLastUseTime: Session
- def clearCreateTime: Session
- def clearLabels: Session
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: Session.type
- Definition Classes
- Session → GeneratedMessage
- val createTime: Option[Timestamp]
- def discardUnknownFields: Session
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getApproximateLastUseTime: Timestamp
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCreateTime: Timestamp
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- Session → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Session → GeneratedMessage
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val labels: Map[String, String]
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
serializedSize: Int
- Definition Classes
- Session → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- Session → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[Session, Session]) ⇒ scalapb.lenses.Mutation[Session]*): Session
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withApproximateLastUseTime(__v: Timestamp): Session
- def withCreateTime(__v: Timestamp): Session
- def withLabels(__v: Map[String, String]): Session
- def withName(__v: String): Session
- def withUnknownFields(__v: UnknownFieldSet): Session
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Session → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage