public final class StreamingComputationRanges 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 |
---|
StreamingComputationRanges() |
Modifier and Type | Method and Description |
---|---|
StreamingComputationRanges |
clone() |
String |
getComputationId()
The ID of the computation.
|
List<KeyRangeDataDiskAssignment> |
getRangeAssignments()
Data disk assignments for ranges from this computation.
|
StreamingComputationRanges |
set(String fieldName,
Object value) |
StreamingComputationRanges |
setComputationId(String computationId)
The ID of the computation.
|
StreamingComputationRanges |
setRangeAssignments(List<KeyRangeDataDiskAssignment> rangeAssignments)
Data disk assignments for ranges from this computation.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getComputationId()
null
for nonepublic StreamingComputationRanges setComputationId(String computationId)
computationId
- computationId or null
for nonepublic List<KeyRangeDataDiskAssignment> getRangeAssignments()
null
for nonepublic StreamingComputationRanges setRangeAssignments(List<KeyRangeDataDiskAssignment> rangeAssignments)
rangeAssignments
- rangeAssignments or null
for nonepublic StreamingComputationRanges set(String fieldName, Object value)
set
in class GenericJson
public StreamingComputationRanges clone()
clone
in class GenericJson