public final class PubsubLocation
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 Dataflow 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 |
|---|
PubsubLocation() |
| Modifier and Type | Method and Description |
|---|---|
PubsubLocation |
clone() |
java.lang.Boolean |
getDropLateData()
Indicates whether the pipeline allows late-arriving data.
|
java.lang.String |
getIdLabel()
If set, contains a pubsub label from which to extract record ids.
|
java.lang.String |
getSubscription()
A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions//"
|
java.lang.String |
getTimestampLabel()
If set, contains a pubsub label from which to extract record timestamps.
|
java.lang.String |
getTopic()
A pubsub topic, in the form of "pubsub.googleapis.com/topics//"
|
java.lang.String |
getTrackingSubscription()
If set, specifies the pubsub subscription that will be used for tracking custom time timestamps
for watermark estimation.
|
java.lang.Boolean |
getWithAttributes()
If true, then the client has requested to get pubsub attributes.
|
PubsubLocation |
set(java.lang.String fieldName,
java.lang.Object value) |
PubsubLocation |
setDropLateData(java.lang.Boolean dropLateData)
Indicates whether the pipeline allows late-arriving data.
|
PubsubLocation |
setIdLabel(java.lang.String idLabel)
If set, contains a pubsub label from which to extract record ids.
|
PubsubLocation |
setSubscription(java.lang.String subscription)
A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions//"
|
PubsubLocation |
setTimestampLabel(java.lang.String timestampLabel)
If set, contains a pubsub label from which to extract record timestamps.
|
PubsubLocation |
setTopic(java.lang.String topic)
A pubsub topic, in the form of "pubsub.googleapis.com/topics//"
|
PubsubLocation |
setTrackingSubscription(java.lang.String trackingSubscription)
If set, specifies the pubsub subscription that will be used for tracking custom time timestamps
for watermark estimation.
|
PubsubLocation |
setWithAttributes(java.lang.Boolean withAttributes)
If true, then the client has requested to get pubsub attributes.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getDropLateData()
null for nonepublic PubsubLocation setDropLateData(java.lang.Boolean dropLateData)
dropLateData - dropLateData or null for nonepublic java.lang.String getIdLabel()
null for nonepublic PubsubLocation setIdLabel(java.lang.String idLabel)
idLabel - idLabel or null for nonepublic java.lang.String getSubscription()
null for nonepublic PubsubLocation setSubscription(java.lang.String subscription)
subscription - subscription or null for nonepublic java.lang.String getTimestampLabel()
null for nonepublic PubsubLocation setTimestampLabel(java.lang.String timestampLabel)
timestampLabel - timestampLabel or null for nonepublic java.lang.String getTopic()
null for nonepublic PubsubLocation setTopic(java.lang.String topic)
topic - topic or null for nonepublic java.lang.String getTrackingSubscription()
null for nonepublic PubsubLocation setTrackingSubscription(java.lang.String trackingSubscription)
trackingSubscription - trackingSubscription or null for nonepublic java.lang.Boolean getWithAttributes()
null for nonepublic PubsubLocation setWithAttributes(java.lang.Boolean withAttributes)
withAttributes - withAttributes or null for nonepublic PubsubLocation set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PubsubLocation clone()
clone in class com.google.api.client.json.GenericJson