public final class WorkItemDetails
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
WorkItemDetails() |
Modifier and Type | Method and Description |
---|---|
WorkItemDetails |
clone() |
String |
getAttemptId()
Attempt ID of this work item
|
String |
getEndTime()
End time of this work item attempt.
|
List<MetricUpdate> |
getMetrics()
Metrics for this work item.
|
ProgressTimeseries |
getProgress()
Progress of this work item.
|
String |
getStartTime()
Start time of this work item attempt.
|
String |
getState()
State of this work item.
|
StragglerInfo |
getStragglerInfo()
Information about straggler detections for this work item.
|
String |
getTaskId()
Name of this work item.
|
WorkItemDetails |
set(String fieldName,
Object value) |
WorkItemDetails |
setAttemptId(String attemptId)
Attempt ID of this work item
|
WorkItemDetails |
setEndTime(String endTime)
End time of this work item attempt.
|
WorkItemDetails |
setMetrics(List<MetricUpdate> metrics)
Metrics for this work item.
|
WorkItemDetails |
setProgress(ProgressTimeseries progress)
Progress of this work item.
|
WorkItemDetails |
setStartTime(String startTime)
Start time of this work item attempt.
|
WorkItemDetails |
setState(String state)
State of this work item.
|
WorkItemDetails |
setStragglerInfo(StragglerInfo stragglerInfo)
Information about straggler detections for this work item.
|
WorkItemDetails |
setTaskId(String taskId)
Name of this work item.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAttemptId()
null
for nonepublic WorkItemDetails setAttemptId(String attemptId)
attemptId
- attemptId or null
for nonepublic String getEndTime()
null
for nonepublic WorkItemDetails setEndTime(String endTime)
endTime
- endTime or null
for nonepublic List<MetricUpdate> getMetrics()
null
for nonepublic WorkItemDetails setMetrics(List<MetricUpdate> metrics)
metrics
- metrics or null
for nonepublic ProgressTimeseries getProgress()
null
for nonepublic WorkItemDetails setProgress(ProgressTimeseries progress)
progress
- progress or null
for nonepublic String getStartTime()
null
for nonepublic WorkItemDetails setStartTime(String startTime)
startTime
- startTime or null
for nonepublic String getState()
null
for nonepublic WorkItemDetails setState(String state)
state
- state or null
for nonepublic StragglerInfo getStragglerInfo()
null
for nonepublic WorkItemDetails setStragglerInfo(StragglerInfo stragglerInfo)
stragglerInfo
- stragglerInfo or null
for nonepublic String getTaskId()
null
for nonepublic WorkItemDetails setTaskId(String taskId)
taskId
- taskId or null
for nonepublic WorkItemDetails set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public WorkItemDetails clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.