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