public final class YarnApplication 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 Cloud Dataproc API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
YarnApplication() |
Modifier and Type | Method and Description |
---|---|
YarnApplication |
clone() |
String |
getName()
Required.
|
Float |
getProgress()
Required.
|
String |
getState()
Required.
|
String |
getTrackingUrl()
Optional.
|
YarnApplication |
set(String fieldName,
Object value) |
YarnApplication |
setName(String name)
Required.
|
YarnApplication |
setProgress(Float progress)
Required.
|
YarnApplication |
setState(String state)
Required.
|
YarnApplication |
setTrackingUrl(String trackingUrl)
Optional.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getName()
null
for nonepublic YarnApplication setName(String name)
name
- name or null
for nonepublic Float getProgress()
null
for nonepublic YarnApplication setProgress(Float progress)
progress
- progress or null
for nonepublic String getState()
null
for nonepublic YarnApplication setState(String state)
state
- state or null
for nonepublic String getTrackingUrl()
null
for nonepublic YarnApplication setTrackingUrl(String trackingUrl)
trackingUrl
- trackingUrl or null
for nonepublic YarnApplication set(String fieldName, Object value)
set
in class GenericJson
public YarnApplication clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.