public final class ListSessionsResponse
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 |
---|
ListSessionsResponse() |
Modifier and Type | Method and Description |
---|---|
ListSessionsResponse |
clone() |
java.lang.String |
getNextPageToken()
`next_page_token` can be sent in a subsequent ListSessions call to fetch more of the matching
sessions.
|
java.util.List<Session> |
getSessions()
The list of requested sessions.
|
ListSessionsResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
ListSessionsResponse |
setNextPageToken(java.lang.String nextPageToken)
`next_page_token` can be sent in a subsequent ListSessions call to fetch more of the matching
sessions.
|
ListSessionsResponse |
setSessions(java.util.List<Session> sessions)
The list of requested sessions.
|
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 getNextPageToken()
null
for nonepublic ListSessionsResponse setNextPageToken(java.lang.String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic java.util.List<Session> getSessions()
null
for nonepublic ListSessionsResponse setSessions(java.util.List<Session> sessions)
sessions
- sessions or null
for nonepublic ListSessionsResponse set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ListSessionsResponse clone()
clone
in class com.google.api.client.json.GenericJson