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
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
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
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 com.google.api.client.json.GenericJson
public TopologyConfig clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.