public final class SourceSplitResponse 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 Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SourceSplitResponse() |
Modifier and Type | Method and Description |
---|---|
SourceSplitResponse |
clone() |
List<DerivedSource> |
getBundles()
If outcome is SPLITTING_HAPPENED, then this is a list of bundles into which the source was
split.
|
String |
getOutcome()
Indicates whether splitting happened and produced a list of bundles.
|
List<SourceSplitShard> |
getShards()
DEPRECATED in favor of bundles.
|
SourceSplitResponse |
set(String fieldName,
Object value) |
SourceSplitResponse |
setBundles(List<DerivedSource> bundles)
If outcome is SPLITTING_HAPPENED, then this is a list of bundles into which the source was
split.
|
SourceSplitResponse |
setOutcome(String outcome)
Indicates whether splitting happened and produced a list of bundles.
|
SourceSplitResponse |
setShards(List<SourceSplitShard> shards)
DEPRECATED in favor of bundles.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<DerivedSource> getBundles()
null
for nonepublic SourceSplitResponse setBundles(List<DerivedSource> bundles)
bundles
- bundles or null
for nonepublic String getOutcome()
null
for nonepublic SourceSplitResponse setOutcome(String outcome)
outcome
- outcome or null
for nonepublic List<SourceSplitShard> getShards()
null
for nonepublic SourceSplitResponse setShards(List<SourceSplitShard> shards)
shards
- shards or null
for nonepublic SourceSplitResponse set(String fieldName, Object value)
set
in class GenericJson
public SourceSplitResponse clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.