public final class StreamingSetupTask
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 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
StreamingSetupTask() |
Modifier and Type | Method and Description |
---|---|
StreamingSetupTask |
clone() |
Boolean |
getDrain()
The user has requested drain.
|
Integer |
getReceiveWorkPort()
The TCP port on which the worker should listen for messages from other streaming computation
workers.
|
StreamingApplianceSnapshotConfig |
getSnapshotConfig()
Configures streaming appliance snapshot.
|
TopologyConfig |
getStreamingComputationTopology()
The global topology of the streaming Dataflow job.
|
Integer |
getWorkerHarnessPort()
The TCP port used by the worker to communicate with the Dataflow worker harness.
|
StreamingSetupTask |
set(String fieldName,
Object value) |
StreamingSetupTask |
setDrain(Boolean drain)
The user has requested drain.
|
StreamingSetupTask |
setReceiveWorkPort(Integer receiveWorkPort)
The TCP port on which the worker should listen for messages from other streaming computation
workers.
|
StreamingSetupTask |
setSnapshotConfig(StreamingApplianceSnapshotConfig snapshotConfig)
Configures streaming appliance snapshot.
|
StreamingSetupTask |
setStreamingComputationTopology(TopologyConfig streamingComputationTopology)
The global topology of the streaming Dataflow job.
|
StreamingSetupTask |
setWorkerHarnessPort(Integer workerHarnessPort)
The TCP port used by the worker to communicate with the Dataflow worker harness.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Boolean getDrain()
null
for nonepublic StreamingSetupTask setDrain(Boolean drain)
drain
- drain or null
for nonepublic Integer getReceiveWorkPort()
null
for nonepublic StreamingSetupTask setReceiveWorkPort(Integer receiveWorkPort)
receiveWorkPort
- receiveWorkPort or null
for nonepublic StreamingApplianceSnapshotConfig getSnapshotConfig()
null
for nonepublic StreamingSetupTask setSnapshotConfig(StreamingApplianceSnapshotConfig snapshotConfig)
snapshotConfig
- snapshotConfig or null
for nonepublic TopologyConfig getStreamingComputationTopology()
null
for nonepublic StreamingSetupTask setStreamingComputationTopology(TopologyConfig streamingComputationTopology)
streamingComputationTopology
- streamingComputationTopology or null
for nonepublic Integer getWorkerHarnessPort()
null
for nonepublic StreamingSetupTask setWorkerHarnessPort(Integer workerHarnessPort)
workerHarnessPort
- workerHarnessPort or null
for nonepublic StreamingSetupTask set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public StreamingSetupTask clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.