Class YarnApplication (4.39.0)

public final class YarnApplication extends GeneratedMessageV3 implements YarnApplicationOrBuilder

A YARN application created by a job. Application information is a subset of <code>org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto</code>.

Beta Feature: This report is available for testing purposes only. It may be changed before final release.

Protobuf type google.cloud.dataproc.v1.YarnApplication

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PROGRESS_FIELD_NUMBER

public static final int PROGRESS_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TRACKING_URL_FIELD_NUMBER

public static final int TRACKING_URL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static YarnApplication getDefaultInstance()
Returns
Type Description
YarnApplication

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static YarnApplication.Builder newBuilder()
Returns
Type Description
YarnApplication.Builder

newBuilder(YarnApplication prototype)

public static YarnApplication.Builder newBuilder(YarnApplication prototype)
Parameter
Name Description
prototype YarnApplication
Returns
Type Description
YarnApplication.Builder

parseDelimitedFrom(InputStream input)

public static YarnApplication parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
YarnApplication
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static YarnApplication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
YarnApplication
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static YarnApplication parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
YarnApplication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static YarnApplication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
YarnApplication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static YarnApplication parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
YarnApplication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static YarnApplication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
YarnApplication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static YarnApplication parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
YarnApplication
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static YarnApplication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
YarnApplication
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static YarnApplication parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
YarnApplication
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static YarnApplication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
YarnApplication
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static YarnApplication parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
YarnApplication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static YarnApplication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
YarnApplication
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<YarnApplication> parser()
Returns
Type Description
Parser<YarnApplication>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public YarnApplication getDefaultInstanceForType()
Returns
Type Description
YarnApplication

getName()

public String getName()

Required. The application name.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The application name.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<YarnApplication> getParserForType()
Returns
Type Description
Parser<YarnApplication>
Overrides

getProgress()

public float getProgress()

Required. The numerical progress of the application, from 1 to 100.

float progress = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
float

The progress.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public YarnApplication.State getState()

Required. The application state.

.google.cloud.dataproc.v1.YarnApplication.State state = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
YarnApplication.State

The state.

getStateValue()

public int getStateValue()

Required. The application state.

.google.cloud.dataproc.v1.YarnApplication.State state = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for state.

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.

string tracking_url = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The trackingUrl.

getTrackingUrlBytes()

public ByteString getTrackingUrlBytes()

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.

string tracking_url = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for trackingUrl.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public YarnApplication.Builder newBuilderForType()
Returns
Type Description
YarnApplication.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected YarnApplication.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
YarnApplication.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public YarnApplication.Builder toBuilder()
Returns
Type Description
YarnApplication.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException