public final class WorkItem 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. 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 |
---|
WorkItem() |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getConfiguration()
null
for nonepublic WorkItem setConfiguration(String configuration)
configuration
- configuration or null
for nonepublic Long getId()
null
for nonepublic String getJobId()
null
for nonepublic String getLeaseExpireTime()
null
for nonepublic WorkItem setLeaseExpireTime(String leaseExpireTime)
leaseExpireTime
- leaseExpireTime or null
for nonepublic MapTask getMapTask()
null
for nonepublic WorkItem setMapTask(MapTask mapTask)
mapTask
- mapTask or null
for nonepublic List<DataflowPackage> getPackages()
null
for nonepublic WorkItem setPackages(List<DataflowPackage> packages)
packages
- packages or null
for nonepublic String getProjectId()
null
for nonepublic WorkItem setProjectId(String projectId)
projectId
- projectId or null
for nonepublic String getReportStatusInterval()
null
for nonepublic WorkItem setReportStatusInterval(String reportStatusInterval)
reportStatusInterval
- reportStatusInterval or null
for nonepublic SeqMapTask getSeqMapTask()
null
for nonepublic WorkItem setSeqMapTask(SeqMapTask seqMapTask)
seqMapTask
- seqMapTask or null
for nonepublic ShellTask getShellTask()
null
for nonepublic WorkItem setShellTask(ShellTask shellTask)
shellTask
- shellTask or null
for nonepublic SourceOperationRequest getSourceOperationTask()
null
for nonepublic WorkItem setSourceOperationTask(SourceOperationRequest sourceOperationTask)
sourceOperationTask
- sourceOperationTask or null
for nonepublic StreamingSetupTask getStreamingSetupTask()
null
for nonepublic WorkItem setStreamingSetupTask(StreamingSetupTask streamingSetupTask)
streamingSetupTask
- streamingSetupTask or null
for nonepublic WorkItem set(String fieldName, Object value)
set
in class GenericJson
public WorkItem clone()
clone
in class GenericJson