public final class ApproximateSplitRequest
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
Constructor and Description |
---|
ApproximateSplitRequest() |
Modifier and Type | Method and Description |
---|---|
ApproximateSplitRequest |
clone() |
java.lang.Double |
getFractionConsumed()
A fraction at which to split the work item, from 0.0 (beginning of the input) to 1.0 (end of
the input).
|
Position |
getPosition()
A Position at which to split the work item.
|
ApproximateSplitRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
ApproximateSplitRequest |
setFractionConsumed(java.lang.Double fractionConsumed)
A fraction at which to split the work item, from 0.0 (beginning of the input) to 1.0 (end of
the input).
|
ApproximateSplitRequest |
setPosition(Position position)
A Position at which to split the work item.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Double getFractionConsumed()
null
for nonepublic ApproximateSplitRequest setFractionConsumed(java.lang.Double fractionConsumed)
fractionConsumed
- fractionConsumed or null
for nonepublic Position getPosition()
null
for nonepublic ApproximateSplitRequest setPosition(Position position)
position
- position or null
for nonepublic ApproximateSplitRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ApproximateSplitRequest clone()
clone
in class com.google.api.client.json.GenericJson