public final class WorkItem
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
WorkItem() |
| Modifier and Type | Method and Description |
|---|---|
WorkItem |
clone() |
String |
getConfiguration()
Work item-specific configuration as an opaque blob.
|
Long |
getId()
Identifies this WorkItem.
|
Long |
getInitialReportIndex()
The initial index to use when reporting the status of the WorkItem.
|
String |
getJobId()
Identifies the workflow job this WorkItem belongs to.
|
String |
getLeaseExpireTime()
Time when the lease on this Work will expire.
|
MapTask |
getMapTask()
Additional information for MapTask WorkItems.
|
List<DataflowPackage> |
getPackages()
Any required packages that need to be fetched in order to execute this WorkItem.
|
String |
getProjectId()
Identifies the cloud project this WorkItem belongs to.
|
String |
getReportStatusInterval()
Recommended reporting interval.
|
SeqMapTask |
getSeqMapTask()
Additional information for SeqMapTask WorkItems.
|
ShellTask |
getShellTask()
Additional information for ShellTask WorkItems.
|
SourceOperationRequest |
getSourceOperationTask()
Additional information for source operation WorkItems.
|
StreamingComputationTask |
getStreamingComputationTask()
Additional information for StreamingComputationTask WorkItems.
|
StreamingConfigTask |
getStreamingConfigTask()
Additional information for StreamingConfigTask WorkItems.
|
StreamingSetupTask |
getStreamingSetupTask()
Additional information for StreamingSetupTask WorkItems.
|
WorkItem |
set(String fieldName,
Object value) |
WorkItem |
setConfiguration(String configuration)
Work item-specific configuration as an opaque blob.
|
WorkItem |
setId(Long id)
Identifies this WorkItem.
|
WorkItem |
setInitialReportIndex(Long initialReportIndex)
The initial index to use when reporting the status of the WorkItem.
|
WorkItem |
setJobId(String jobId)
Identifies the workflow job this WorkItem belongs to.
|
WorkItem |
setLeaseExpireTime(String leaseExpireTime)
Time when the lease on this Work will expire.
|
WorkItem |
setMapTask(MapTask mapTask)
Additional information for MapTask WorkItems.
|
WorkItem |
setPackages(List<DataflowPackage> packages)
Any required packages that need to be fetched in order to execute this WorkItem.
|
WorkItem |
setProjectId(String projectId)
Identifies the cloud project this WorkItem belongs to.
|
WorkItem |
setReportStatusInterval(String reportStatusInterval)
Recommended reporting interval.
|
WorkItem |
setSeqMapTask(SeqMapTask seqMapTask)
Additional information for SeqMapTask WorkItems.
|
WorkItem |
setShellTask(ShellTask shellTask)
Additional information for ShellTask WorkItems.
|
WorkItem |
setSourceOperationTask(SourceOperationRequest sourceOperationTask)
Additional information for source operation WorkItems.
|
WorkItem |
setStreamingComputationTask(StreamingComputationTask streamingComputationTask)
Additional information for StreamingComputationTask WorkItems.
|
WorkItem |
setStreamingConfigTask(StreamingConfigTask streamingConfigTask)
Additional information for StreamingConfigTask WorkItems.
|
WorkItem |
setStreamingSetupTask(StreamingSetupTask streamingSetupTask)
Additional information for StreamingSetupTask WorkItems.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getConfiguration()
null for nonepublic WorkItem setConfiguration(String configuration)
configuration - configuration or null for nonepublic Long getId()
null for nonepublic Long getInitialReportIndex()
null for nonepublic WorkItem setInitialReportIndex(Long initialReportIndex)
initialReportIndex - initialReportIndex or null for nonepublic String getJobId()
null for nonepublic WorkItem setJobId(String jobId)
jobId - jobId or 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 StreamingComputationTask getStreamingComputationTask()
null for nonepublic WorkItem setStreamingComputationTask(StreamingComputationTask streamingComputationTask)
streamingComputationTask - streamingComputationTask or null for nonepublic StreamingConfigTask getStreamingConfigTask()
null for nonepublic WorkItem setStreamingConfigTask(StreamingConfigTask streamingConfigTask)
streamingConfigTask - streamingConfigTask 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 com.google.api.client.json.GenericJsonpublic WorkItem clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.