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()
Indicates whether the pipeline allows late-arriving data.
|
String |
getIdLabel()
If set, contains a pubsub label from which to extract record ids.
|
String |
getSubscription()
A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions/ /"
|
String |
getTimestampLabel()
If set, contains a pubsub label from which to extract record timestamps.
|
String |
getTopic()
A pubsub topic, in the form of "pubsub.googleapis.com/topics/ /"
|
String |
getTrackingSubscription()
If set, specifies the pubsub subscription that will be used for tracking custom time timestamps
for watermark estimation.
|
PubsubLocation |
set(String fieldName,
Object value) |
PubsubLocation |
setDropLateData(Boolean dropLateData)
Indicates whether the pipeline allows late-arriving data.
|
PubsubLocation |
setIdLabel(String idLabel)
If set, contains a pubsub label from which to extract record ids.
|
PubsubLocation |
setSubscription(String subscription)
A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions/ /"
|
PubsubLocation |
setTimestampLabel(String timestampLabel)
If set, contains a pubsub label from which to extract record timestamps.
|
PubsubLocation |
setTopic(String topic)
A pubsub topic, in the form of "pubsub.googleapis.com/topics/ /"
|
PubsubLocation |
setTrackingSubscription(String trackingSubscription)
If set, specifies the pubsub subscription that will be used for tracking custom time timestamps
for watermark estimation.
|
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 String getTrackingSubscription()
null
for nonepublic PubsubLocation setTrackingSubscription(String trackingSubscription)
trackingSubscription
- trackingSubscription or null
for nonepublic PubsubLocation set(String fieldName, Object value)
set
in class GenericJson
public PubsubLocation clone()
clone
in class GenericJson