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 Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.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.
|
Boolean |
getWithAttributes()
If true, then the client has requested to get pubsub attributes.
|
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.
|
PubsubLocation |
setWithAttributes(Boolean withAttributes)
If true, then the client has requested to get pubsub attributes.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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 Boolean getWithAttributes()
null for nonepublic PubsubLocation setWithAttributes(Boolean withAttributes)
withAttributes - withAttributes or null for nonepublic PubsubLocation set(String fieldName, Object value)
set in class GenericJsonpublic PubsubLocation clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.