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