public final class ListSnapshotsResponse
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 Pub/Sub 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 |
---|
ListSnapshotsResponse() |
Modifier and Type | Method and Description |
---|---|
ListSnapshotsResponse |
clone() |
java.lang.String |
getNextPageToken()
If not empty, indicates that there may be more snapshot that match the request; this value
should be passed in a new `ListSnapshotsRequest`.
|
java.util.List<Snapshot> |
getSnapshots()
The resulting snapshots.
|
ListSnapshotsResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
ListSnapshotsResponse |
setNextPageToken(java.lang.String nextPageToken)
If not empty, indicates that there may be more snapshot that match the request; this value
should be passed in a new `ListSnapshotsRequest`.
|
ListSnapshotsResponse |
setSnapshots(java.util.List<Snapshot> snapshots)
The resulting snapshots.
|
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 ListSnapshotsResponse setNextPageToken(java.lang.String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic java.util.List<Snapshot> getSnapshots()
null
for nonepublic ListSnapshotsResponse setSnapshots(java.util.List<Snapshot> snapshots)
snapshots
- snapshots or null
for nonepublic ListSnapshotsResponse set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ListSnapshotsResponse clone()
clone
in class com.google.api.client.json.GenericJson