public final class Session
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Spanner API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Session() |
Modifier and Type | Method and Description |
---|---|
Session |
clone() |
java.lang.String |
getApproximateLastUseTime()
Output only.
|
java.lang.String |
getCreateTime()
Output only.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabels()
The labels for the session.
|
java.lang.String |
getName()
The name of the session.
|
Session |
set(java.lang.String fieldName,
java.lang.Object value) |
Session |
setApproximateLastUseTime(java.lang.String approximateLastUseTime)
Output only.
|
Session |
setCreateTime(java.lang.String createTime)
Output only.
|
Session |
setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
The labels for the session.
|
Session |
setName(java.lang.String name)
The name of the session.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getApproximateLastUseTime()
null
for nonepublic Session setApproximateLastUseTime(java.lang.String approximateLastUseTime)
approximateLastUseTime
- approximateLastUseTime or null
for nonepublic java.lang.String getCreateTime()
null
for nonepublic Session setCreateTime(java.lang.String createTime)
createTime
- createTime or null
for nonepublic java.util.Map<java.lang.String,java.lang.String> getLabels()
null
for nonepublic Session setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
labels
- labels or null
for nonepublic java.lang.String getName()
null
for nonepublic Session setName(java.lang.String name)
name
- name or null
for nonepublic Session set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Session clone()
clone
in class com.google.api.client.json.GenericJson