target.apidocs.com.google.api.services.dataproc.model.YarnApplication.html Maven / Gradle / Ivy
The newest version!
YarnApplication (Cloud Dataproc API v1-rev20241025-2.0.0)
com.google.api.services.dataproc.model
Class YarnApplication
- 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.YarnApplication
-
public final class YarnApplication
extends com.google.api.client.json.GenericJson
A YARN application created by a job. Application information is a subset of
org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto.Beta Feature: This report is
available for testing purposes only. It may be changed before final release.
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
YarnApplication()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
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
-
getName
public String getName()
Required. The application name.
- Returns:
- value or
null
for none
-
setName
public YarnApplication setName(String name)
Required. The application name.
- Parameters:
name
- name or null
for none
-
getProgress
public Float getProgress()
Required. The numerical progress of the application, from 1 to 100.
- Returns:
- value or
null
for none
-
setProgress
public YarnApplication setProgress(Float progress)
Required. The numerical progress of the application, from 1 to 100.
- Parameters:
progress
- progress or null
for none
-
getState
public String getState()
Required. The application state.
- Returns:
- value or
null
for none
-
setState
public YarnApplication setState(String state)
Required. The application state.
- Parameters:
state
- state or null
for none
-
getTrackingUrl
public String getTrackingUrl()
Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides
application-specific information. The URL uses the internal hostname, and requires a proxy
server for resolution and, possibly, access.
- Returns:
- value or
null
for none
-
setTrackingUrl
public YarnApplication setTrackingUrl(String trackingUrl)
Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides
application-specific information. The URL uses the internal hostname, and requires a proxy
server for resolution and, possibly, access.
- Parameters:
trackingUrl
- trackingUrl or null
for none
-
set
public YarnApplication set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public YarnApplication 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