public final class PushConfig
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 Google 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 |
|---|
PushConfig() |
| Modifier and Type | Method and Description |
|---|---|
PushConfig |
clone() |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Endpoint configuration attributes.
|
java.lang.String |
getPushEndpoint()
A URL locating the endpoint to which messages should be pushed.
|
PushConfig |
set(java.lang.String fieldName,
java.lang.Object value) |
PushConfig |
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Endpoint configuration attributes.
|
PushConfig |
setPushEndpoint(java.lang.String pushEndpoint)
A URL locating the endpoint to which messages should be pushed.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.Map<java.lang.String,java.lang.String> getAttributes()
null for nonepublic PushConfig setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
attributes - attributes or null for nonepublic java.lang.String getPushEndpoint()
null for nonepublic PushConfig setPushEndpoint(java.lang.String pushEndpoint)
pushEndpoint - pushEndpoint or null for nonepublic PushConfig set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PushConfig clone()
clone in class com.google.api.client.json.GenericJson