public final class TopologyConfig 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 Google 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 |
---|
TopologyConfig() |
Modifier and Type | Method and Description |
---|---|
TopologyConfig |
clone() |
List<ComputationTopology> |
getComputations()
The computations associated with a streaming Dataflow job.
|
List<DataDiskAssignment> |
getDataDiskAssignments()
The disks assigned to a streaming Dataflow job.
|
Integer |
getForwardingKeyBits()
The size (in bits) of keys that will be assigned to source messages.
|
Integer |
getPersistentStateVersion()
Version number for persistent state.
|
Map<String,String> |
getUserStageToComputationNameMap()
Maps user stage names to stable computation names.
|
TopologyConfig |
set(String fieldName,
Object value) |
TopologyConfig |
setComputations(List<ComputationTopology> computations)
The computations associated with a streaming Dataflow job.
|
TopologyConfig |
setDataDiskAssignments(List<DataDiskAssignment> dataDiskAssignments)
The disks assigned to a streaming Dataflow job.
|
TopologyConfig |
setForwardingKeyBits(Integer forwardingKeyBits)
The size (in bits) of keys that will be assigned to source messages.
|
TopologyConfig |
setPersistentStateVersion(Integer persistentStateVersion)
Version number for persistent state.
|
TopologyConfig |
setUserStageToComputationNameMap(Map<String,String> userStageToComputationNameMap)
Maps user stage names to stable computation names.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public List<ComputationTopology> getComputations()
null
for nonepublic TopologyConfig setComputations(List<ComputationTopology> computations)
computations
- computations or null
for nonepublic List<DataDiskAssignment> getDataDiskAssignments()
null
for nonepublic TopologyConfig setDataDiskAssignments(List<DataDiskAssignment> dataDiskAssignments)
dataDiskAssignments
- dataDiskAssignments or null
for nonepublic Integer getForwardingKeyBits()
null
for nonepublic TopologyConfig setForwardingKeyBits(Integer forwardingKeyBits)
forwardingKeyBits
- forwardingKeyBits or null
for nonepublic Integer getPersistentStateVersion()
null
for nonepublic TopologyConfig setPersistentStateVersion(Integer persistentStateVersion)
persistentStateVersion
- persistentStateVersion or null
for nonepublic Map<String,String> getUserStageToComputationNameMap()
null
for nonepublic TopologyConfig setUserStageToComputationNameMap(Map<String,String> userStageToComputationNameMap)
userStageToComputationNameMap
- userStageToComputationNameMap or null
for nonepublic TopologyConfig set(String fieldName, Object value)
set
in class GenericJson
public TopologyConfig clone()
clone
in class GenericJson