public final class StageSource 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 Google 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 |
---|
StageSource() |
Modifier and Type | Method and Description |
---|---|
StageSource |
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.
|
Long |
getSizeBytes()
Size of the source, if measurable.
|
String |
getUserName()
Human-readable name for this source; may be user or system generated.
|
StageSource |
set(String fieldName,
Object value) |
StageSource |
setName(String name)
Dataflow service generated name for this source.
|
StageSource |
setOriginalTransformOrCollection(String originalTransformOrCollection)
User name for the original user transform or collection with which this source is most closely
associated.
|
StageSource |
setSizeBytes(Long sizeBytes)
Size of the source, if measurable.
|
StageSource |
setUserName(String userName)
Human-readable name for this source; 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
public String getName()
null
for nonepublic StageSource setName(String name)
name
- name or null
for nonepublic String getOriginalTransformOrCollection()
null
for nonepublic StageSource setOriginalTransformOrCollection(String originalTransformOrCollection)
originalTransformOrCollection
- originalTransformOrCollection or null
for nonepublic Long getSizeBytes()
null
for nonepublic StageSource setSizeBytes(Long sizeBytes)
sizeBytes
- sizeBytes or null
for nonepublic String getUserName()
null
for nonepublic StageSource setUserName(String userName)
userName
- userName or null
for nonepublic StageSource set(String fieldName, Object value)
set
in class GenericJson
public StageSource clone()
clone
in class GenericJson