public final class StreamingComputationTask 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 |
---|
StreamingComputationTask() |
Modifier and Type | Method and Description |
---|---|
StreamingComputationTask |
clone() |
List<StreamingComputationRanges> |
getComputationRanges()
Contains ranges of a streaming computation this task should apply to.
|
List<MountedDataDisk> |
getDataDisks()
Describes the set of data disks this task should apply to.
|
String |
getTaskType()
A type of streaming computation task.
|
StreamingComputationTask |
set(String fieldName,
Object value) |
StreamingComputationTask |
setComputationRanges(List<StreamingComputationRanges> computationRanges)
Contains ranges of a streaming computation this task should apply to.
|
StreamingComputationTask |
setDataDisks(List<MountedDataDisk> dataDisks)
Describes the set of data disks this task should apply to.
|
StreamingComputationTask |
setTaskType(String taskType)
A type of streaming computation task.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public List<StreamingComputationRanges> getComputationRanges()
null
for nonepublic StreamingComputationTask setComputationRanges(List<StreamingComputationRanges> computationRanges)
computationRanges
- computationRanges or null
for nonepublic List<MountedDataDisk> getDataDisks()
null
for nonepublic StreamingComputationTask setDataDisks(List<MountedDataDisk> dataDisks)
dataDisks
- dataDisks or null
for nonepublic String getTaskType()
null
for nonepublic StreamingComputationTask setTaskType(String taskType)
taskType
- taskType or null
for nonepublic StreamingComputationTask set(String fieldName, Object value)
set
in class GenericJson
public StreamingComputationTask clone()
clone
in class GenericJson