public final class ComponentSource 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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ComponentSource() |
Modifier and Type | Method and Description |
---|---|
ComponentSource |
clone() |
String |
getName()
Dataflow service generated name for this source.
|
String |
getOriginalTransformOrCollection()
User name for the original user transform or collection with which this source is most closely
associated.
|
String |
getUserName()
Human-readable name for this transform; may be user or system generated.
|
ComponentSource |
set(String fieldName,
Object value) |
ComponentSource |
setName(String name)
Dataflow service generated name for this source.
|
ComponentSource |
setOriginalTransformOrCollection(String originalTransformOrCollection)
User name for the original user transform or collection with which this source is most closely
associated.
|
ComponentSource |
setUserName(String userName)
Human-readable name for this transform; may be user or system generated.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getName()
null
for nonepublic ComponentSource setName(String name)
name
- name or null
for nonepublic String getOriginalTransformOrCollection()
null
for nonepublic ComponentSource setOriginalTransformOrCollection(String originalTransformOrCollection)
originalTransformOrCollection
- originalTransformOrCollection or null
for nonepublic String getUserName()
null
for nonepublic ComponentSource setUserName(String userName)
userName
- userName or null
for nonepublic ComponentSource set(String fieldName, Object value)
set
in class GenericJson
public ComponentSource clone()
clone
in class GenericJson