target.apidocs.com.google.api.services.dataflow.model.TopologyConfig.html Maven / Gradle / Ivy
TopologyConfig (Dataflow API v1b3-rev20231112-2.0.0)
com.google.api.services.dataflow.model
Class TopologyConfig
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dataflow.model.TopologyConfig
-
public final class TopologyConfig
extends com.google.api.client.json.GenericJson
Global topology of the streaming Dataflow job, including all computations and their sharded
locations.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
TopologyConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getComputations
public List<ComputationTopology> getComputations()
The computations associated with a streaming Dataflow job.
- Returns:
- value or
null
for none
-
setComputations
public TopologyConfig setComputations(List<ComputationTopology> computations)
The computations associated with a streaming Dataflow job.
- Parameters:
computations
- computations or null
for none
-
getDataDiskAssignments
public List<DataDiskAssignment> getDataDiskAssignments()
The disks assigned to a streaming Dataflow job.
- Returns:
- value or
null
for none
-
setDataDiskAssignments
public TopologyConfig setDataDiskAssignments(List<DataDiskAssignment> dataDiskAssignments)
The disks assigned to a streaming Dataflow job.
- Parameters:
dataDiskAssignments
- dataDiskAssignments or null
for none
-
getForwardingKeyBits
public Integer getForwardingKeyBits()
The size (in bits) of keys that will be assigned to source messages.
- Returns:
- value or
null
for none
-
setForwardingKeyBits
public TopologyConfig setForwardingKeyBits(Integer forwardingKeyBits)
The size (in bits) of keys that will be assigned to source messages.
- Parameters:
forwardingKeyBits
- forwardingKeyBits or null
for none
-
getPersistentStateVersion
public Integer getPersistentStateVersion()
Version number for persistent state.
- Returns:
- value or
null
for none
-
setPersistentStateVersion
public TopologyConfig setPersistentStateVersion(Integer persistentStateVersion)
Version number for persistent state.
- Parameters:
persistentStateVersion
- persistentStateVersion or null
for none
-
getUserStageToComputationNameMap
public Map<String,String> getUserStageToComputationNameMap()
Maps user stage names to stable computation names.
- Returns:
- value or
null
for none
-
setUserStageToComputationNameMap
public TopologyConfig setUserStageToComputationNameMap(Map<String,String> userStageToComputationNameMap)
Maps user stage names to stable computation names.
- Parameters:
userStageToComputationNameMap
- userStageToComputationNameMap or null
for none
-
set
public TopologyConfig set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public TopologyConfig clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy