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