public final class SourceSplitResponse
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 |
|---|
SourceSplitResponse() |
| Modifier and Type | Method and Description |
|---|---|
SourceSplitResponse |
clone() |
java.util.List<DerivedSource> |
getBundles()
If outcome is SPLITTING_HAPPENED, then this is a list of bundles into which the source was
split.
|
java.lang.String |
getOutcome()
Indicates whether splitting happened and produced a list of bundles.
|
java.util.List<SourceSplitShard> |
getShards()
DEPRECATED in favor of bundles.
|
SourceSplitResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
SourceSplitResponse |
setBundles(java.util.List<DerivedSource> bundles)
If outcome is SPLITTING_HAPPENED, then this is a list of bundles into which the source was
split.
|
SourceSplitResponse |
setOutcome(java.lang.String outcome)
Indicates whether splitting happened and produced a list of bundles.
|
SourceSplitResponse |
setShards(java.util.List<SourceSplitShard> shards)
DEPRECATED in favor of bundles.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<DerivedSource> getBundles()
null for nonepublic SourceSplitResponse setBundles(java.util.List<DerivedSource> bundles)
bundles - bundles or null for nonepublic java.lang.String getOutcome()
null for nonepublic SourceSplitResponse setOutcome(java.lang.String outcome)
outcome - outcome or null for nonepublic java.util.List<SourceSplitShard> getShards()
null for nonepublic SourceSplitResponse setShards(java.util.List<SourceSplitShard> shards)
shards - shards or null for nonepublic SourceSplitResponse set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic SourceSplitResponse clone()
clone in class com.google.api.client.json.GenericJson