public final class StreamLocation
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 |
|---|
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(java.lang.String fieldName,
java.lang.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, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic 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(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic StreamLocation clone()
clone in class com.google.api.client.json.GenericJson