target.apidocs.com.google.api.services.dataflow.model.SourceSplitResponse.html Maven / Gradle / Ivy
SourceSplitResponse (Dataflow API v1b3-rev20231112-2.0.0)
com.google.api.services.dataflow.model
Class SourceSplitResponse
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dataflow.model.SourceSplitResponse
-
public final class SourceSplitResponse
extends com.google.api.client.json.GenericJson
The response to a SourceSplitRequest.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
SourceSplitResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBundles
public List<DerivedSource> getBundles()
If outcome is SPLITTING_HAPPENED, then this is a list of bundles into which the source was
split. Otherwise this field is ignored. This list can be empty, which means the source
represents an empty input.
- Returns:
- value or
null
for none
-
setBundles
public SourceSplitResponse setBundles(List<DerivedSource> bundles)
If outcome is SPLITTING_HAPPENED, then this is a list of bundles into which the source was
split. Otherwise this field is ignored. This list can be empty, which means the source
represents an empty input.
- Parameters:
bundles
- bundles or null
for none
-
getOutcome
public String getOutcome()
Indicates whether splitting happened and produced a list of bundles. If this is
USE_CURRENT_SOURCE_AS_IS, the current source should be processed "as is" without splitting.
"bundles" is ignored in this case. If this is SPLITTING_HAPPENED, then "bundles" contains a
list of bundles into which the source was split.
- Returns:
- value or
null
for none
-
setOutcome
public SourceSplitResponse setOutcome(String outcome)
Indicates whether splitting happened and produced a list of bundles. If this is
USE_CURRENT_SOURCE_AS_IS, the current source should be processed "as is" without splitting.
"bundles" is ignored in this case. If this is SPLITTING_HAPPENED, then "bundles" contains a
list of bundles into which the source was split.
- Parameters:
outcome
- outcome or null
for none
-
getShards
public List<SourceSplitShard> getShards()
DEPRECATED in favor of bundles.
- Returns:
- value or
null
for none
-
setShards
public SourceSplitResponse setShards(List<SourceSplitShard> shards)
DEPRECATED in favor of bundles.
- Parameters:
shards
- shards or null
for none
-
set
public SourceSplitResponse set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public SourceSplitResponse clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy