target.apidocs.com.google.api.services.dataproc.model.TaskData.html Maven / Gradle / Ivy
TaskData (Cloud Dataproc API v1-rev20241025-2.0.0)
com.google.api.services.dataproc.model
Class TaskData
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dataproc.model.TaskData
-
public final class TaskData
extends com.google.api.client.json.GenericJson
Data corresponding to tasks created by spark.
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 Cloud Dataproc API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
TaskData()
-
Method Summary
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAccumulatorUpdates
public List<AccumulableInfo> getAccumulatorUpdates()
- Returns:
- value or
null
for none
-
setAccumulatorUpdates
public TaskData setAccumulatorUpdates(List<AccumulableInfo> accumulatorUpdates)
- Parameters:
accumulatorUpdates
- accumulatorUpdates or null
for none
-
getAttempt
public Integer getAttempt()
- Returns:
- value or
null
for none
-
setAttempt
public TaskData setAttempt(Integer attempt)
- Parameters:
attempt
- attempt or null
for none
-
getDurationMillis
public Long getDurationMillis()
- Returns:
- value or
null
for none
-
setDurationMillis
public TaskData setDurationMillis(Long durationMillis)
- Parameters:
durationMillis
- durationMillis or null
for none
-
getErrorMessage
public String getErrorMessage()
- Returns:
- value or
null
for none
-
setErrorMessage
public TaskData setErrorMessage(String errorMessage)
- Parameters:
errorMessage
- errorMessage or null
for none
-
getExecutorId
public String getExecutorId()
- Returns:
- value or
null
for none
-
setExecutorId
public TaskData setExecutorId(String executorId)
- Parameters:
executorId
- executorId or null
for none
-
setExecutorLogs
public TaskData setExecutorLogs(Map<String,String> executorLogs)
- Parameters:
executorLogs
- executorLogs or null
for none
-
getGettingResultTimeMillis
public Long getGettingResultTimeMillis()
- Returns:
- value or
null
for none
-
setGettingResultTimeMillis
public TaskData setGettingResultTimeMillis(Long gettingResultTimeMillis)
- Parameters:
gettingResultTimeMillis
- gettingResultTimeMillis or null
for none
-
getHasMetrics
public Boolean getHasMetrics()
- Returns:
- value or
null
for none
-
setHasMetrics
public TaskData setHasMetrics(Boolean hasMetrics)
- Parameters:
hasMetrics
- hasMetrics or null
for none
-
getHost
public String getHost()
- Returns:
- value or
null
for none
-
getIndex
public Integer getIndex()
- Returns:
- value or
null
for none
-
getLaunchTime
public String getLaunchTime()
- Returns:
- value or
null
for none
-
setLaunchTime
public TaskData setLaunchTime(String launchTime)
- Parameters:
launchTime
- launchTime or null
for none
-
getPartitionId
public Integer getPartitionId()
- Returns:
- value or
null
for none
-
setPartitionId
public TaskData setPartitionId(Integer partitionId)
- Parameters:
partitionId
- partitionId or null
for none
-
getResultFetchStart
public String getResultFetchStart()
- Returns:
- value or
null
for none
-
setResultFetchStart
public TaskData setResultFetchStart(String resultFetchStart)
- Parameters:
resultFetchStart
- resultFetchStart or null
for none
-
getSchedulerDelayMillis
public Long getSchedulerDelayMillis()
- Returns:
- value or
null
for none
-
setSchedulerDelayMillis
public TaskData setSchedulerDelayMillis(Long schedulerDelayMillis)
- Parameters:
schedulerDelayMillis
- schedulerDelayMillis or null
for none
-
getSpeculative
public Boolean getSpeculative()
- Returns:
- value or
null
for none
-
setSpeculative
public TaskData setSpeculative(Boolean speculative)
- Parameters:
speculative
- speculative or null
for none
-
getStageAttemptId
public Integer getStageAttemptId()
- Returns:
- value or
null
for none
-
setStageAttemptId
public TaskData setStageAttemptId(Integer stageAttemptId)
- Parameters:
stageAttemptId
- stageAttemptId or null
for none
-
getStageId
public Long getStageId()
- Returns:
- value or
null
for none
-
getStatus
public String getStatus()
- Returns:
- value or
null
for none
-
getTaskId
public Long getTaskId()
- Returns:
- value or
null
for none
-
getTaskLocality
public String getTaskLocality()
- Returns:
- value or
null
for none
-
setTaskLocality
public TaskData setTaskLocality(String taskLocality)
- Parameters:
taskLocality
- taskLocality or null
for none
-
getTaskMetrics
public TaskMetrics getTaskMetrics()
- Returns:
- value or
null
for none
-
setTaskMetrics
public TaskData setTaskMetrics(TaskMetrics taskMetrics)
- Parameters:
taskMetrics
- taskMetrics or null
for none
-
set
public TaskData set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public TaskData clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy