public final class PubsubLocation extends 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 Dataflow API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PubsubLocation() |
Modifier and Type | Method and Description |
---|---|
PubsubLocation |
clone() |
Boolean |
getDropLateData() |
String |
getIdLabel() |
String |
getSubscription() |
String |
getTimestampLabel() |
String |
getTopic() |
PubsubLocation |
set(String fieldName,
Object value) |
PubsubLocation |
setDropLateData(Boolean dropLateData) |
PubsubLocation |
setIdLabel(String idLabel) |
PubsubLocation |
setSubscription(String subscription) |
PubsubLocation |
setTimestampLabel(String timestampLabel) |
PubsubLocation |
setTopic(String topic) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Boolean getDropLateData()
null
for nonepublic PubsubLocation setDropLateData(Boolean dropLateData)
dropLateData
- dropLateData or null
for nonepublic String getIdLabel()
null
for nonepublic PubsubLocation setIdLabel(String idLabel)
idLabel
- idLabel or null
for nonepublic String getSubscription()
null
for nonepublic PubsubLocation setSubscription(String subscription)
subscription
- subscription or null
for nonepublic String getTimestampLabel()
null
for nonepublic PubsubLocation setTimestampLabel(String timestampLabel)
timestampLabel
- timestampLabel or null
for nonepublic String getTopic()
null
for nonepublic PubsubLocation setTopic(String topic)
topic
- topic or null
for nonepublic PubsubLocation set(String fieldName, Object value)
set
in class GenericJson
public PubsubLocation clone()
clone
in class GenericJson