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