public final class Topic
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Topic() |
| Modifier and Type | Method and Description |
|---|---|
Topic |
clone() |
Map<String,String> |
getLabels()
See Creating and managing labels.
|
String |
getName()
The name of the topic.
|
Topic |
set(String fieldName,
Object value) |
Topic |
setLabels(Map<String,String> labels)
See Creating and managing labels.
|
Topic |
setName(String name)
The name of the topic.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Map<String,String> getLabels()
null for nonepublic Topic setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getName()
null for nonepublic Topic setName(String name)
name - name or null for nonepublic Topic set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Topic clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2018 Google. All rights reserved.