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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static YarnApplication.Builder newBuilder()
newBuilder(YarnApplication prototype)
public static YarnApplication.Builder newBuilder(YarnApplication prototype)
public static YarnApplication parseDelimitedFrom(InputStream input)
public static YarnApplication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static YarnApplication parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static YarnApplication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static YarnApplication parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static YarnApplication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static YarnApplication parseFrom(CodedInputStream input)
public static YarnApplication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static YarnApplication parseFrom(InputStream input)
public static YarnApplication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static YarnApplication parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static YarnApplication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<YarnApplication> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public YarnApplication getDefaultInstanceForType()
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()
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];
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public YarnApplication.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected YarnApplication.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public YarnApplication.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides