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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public 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.GenericJson
public PublishResponse clone()
clone
in class com.google.api.client.json.GenericJson