public final class StreamLocation 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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
StreamLocation() |
Modifier and Type | Method and Description |
---|---|
StreamLocation |
clone() |
CustomSourceLocation |
getCustomSourceLocation()
The stream is a custom source.
|
PubsubLocation |
getPubsubLocation()
The stream is a pubsub stream.
|
StreamingSideInputLocation |
getSideInputLocation()
The stream is a streaming side input.
|
StreamingStageLocation |
getStreamingStageLocation()
The stream is part of another computation within the current streaming Dataflow job.
|
StreamLocation |
set(String fieldName,
Object value) |
StreamLocation |
setCustomSourceLocation(CustomSourceLocation customSourceLocation)
The stream is a custom source.
|
StreamLocation |
setPubsubLocation(PubsubLocation pubsubLocation)
The stream is a pubsub stream.
|
StreamLocation |
setSideInputLocation(StreamingSideInputLocation sideInputLocation)
The stream is a streaming side input.
|
StreamLocation |
setStreamingStageLocation(StreamingStageLocation streamingStageLocation)
The stream is part of another computation within the current streaming Dataflow job.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public CustomSourceLocation getCustomSourceLocation()
null
for nonepublic StreamLocation setCustomSourceLocation(CustomSourceLocation customSourceLocation)
customSourceLocation
- customSourceLocation or null
for nonepublic PubsubLocation getPubsubLocation()
null
for nonepublic StreamLocation setPubsubLocation(PubsubLocation pubsubLocation)
pubsubLocation
- pubsubLocation or null
for nonepublic StreamingSideInputLocation getSideInputLocation()
null
for nonepublic StreamLocation setSideInputLocation(StreamingSideInputLocation sideInputLocation)
sideInputLocation
- sideInputLocation or null
for nonepublic StreamingStageLocation getStreamingStageLocation()
null
for nonepublic StreamLocation setStreamingStageLocation(StreamingStageLocation streamingStageLocation)
streamingStageLocation
- streamingStageLocation or null
for nonepublic StreamLocation set(String fieldName, Object value)
set
in class GenericJson
public StreamLocation clone()
clone
in class GenericJson