Class YarnApplication (4.38.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
TypeDescription
int

PROGRESS_FIELD_NUMBER

public static final int PROGRESS_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

TRACKING_URL_FIELD_NUMBER

public static final int TRACKING_URL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static YarnApplication getDefaultInstance()
Returns
TypeDescription
YarnApplication

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static YarnApplication.Builder newBuilder()
Returns
TypeDescription
YarnApplication.Builder

newBuilder(YarnApplication prototype)

public static YarnApplication.Builder newBuilder(YarnApplication prototype)
Parameter
NameDescription
prototypeYarnApplication
Returns
TypeDescription
YarnApplication.Builder

parseDelimitedFrom(InputStream input)

public static YarnApplication parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
YarnApplication
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static YarnApplication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
YarnApplication
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static YarnApplication parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
YarnApplication
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static YarnApplication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
YarnApplication
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static YarnApplication parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
YarnApplication
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static YarnApplication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
YarnApplication
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static YarnApplication parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
YarnApplication
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static YarnApplication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
YarnApplication
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static YarnApplication parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
YarnApplication
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static YarnApplication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
YarnApplication
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static YarnApplication parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
YarnApplication
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static YarnApplication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
YarnApplication
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<YarnApplication> parser()
Returns
TypeDescription
Parser<YarnApplication>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public YarnApplication getDefaultInstanceForType()
Returns
TypeDescription
YarnApplication

getName()

public String getName()

Required. The application name.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The application name.

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

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<YarnApplication> getParserForType()
Returns
TypeDescription
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
TypeDescription
float

The progress.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for trackingUrl.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public YarnApplication.Builder newBuilderForType()
Returns
TypeDescription
YarnApplication.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected YarnApplication.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
YarnApplication.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public YarnApplication.Builder toBuilder()
Returns
TypeDescription
YarnApplication.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException