public final class PublishResponse
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 |
|---|
PublishResponse() |
| Modifier and Type | Method and Description |
|---|---|
PublishResponse |
clone() |
java.util.List<java.lang.String> |
getMessageIds()
The server-assigned ID of each published message, in the same order as the messages in the
request.
|
PublishResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
PublishResponse |
setMessageIds(java.util.List<java.lang.String> messageIds)
The server-assigned ID of each published message, in the same order as the messages in the
request.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.List<java.lang.String> getMessageIds()
null for nonepublic PublishResponse setMessageIds(java.util.List<java.lang.String> messageIds)
messageIds - messageIds or null for nonepublic PublishResponse set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PublishResponse clone()
clone in class com.google.api.client.json.GenericJson