- 4.51.0 (latest)
- 4.50.0
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public static final class YarnApplication.Builder extends GeneratedMessageV3.Builder<YarnApplication.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > YarnApplication.BuilderImplements
YarnApplicationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public YarnApplication.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
YarnApplication.Builder |
build()
public YarnApplication build()
Type | Description |
YarnApplication |
buildPartial()
public YarnApplication buildPartial()
Type | Description |
YarnApplication |
clear()
public YarnApplication.Builder clear()
Type | Description |
YarnApplication.Builder |
clearField(Descriptors.FieldDescriptor field)
public YarnApplication.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
YarnApplication.Builder |
clearName()
public YarnApplication.Builder clearName()
Required. The application name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
YarnApplication.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public YarnApplication.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
YarnApplication.Builder |
clearProgress()
public YarnApplication.Builder clearProgress()
Required. The numerical progress of the application, from 1 to 100.
float progress = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
YarnApplication.Builder | This builder for chaining. |
clearState()
public YarnApplication.Builder clearState()
Required. The application state.
.google.cloud.dataproc.v1.YarnApplication.State state = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
YarnApplication.Builder | This builder for chaining. |
clearTrackingUrl()
public YarnApplication.Builder clearTrackingUrl()
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];
Type | Description |
YarnApplication.Builder | This builder for chaining. |
clone()
public YarnApplication.Builder clone()
Type | Description |
YarnApplication.Builder |
getDefaultInstanceForType()
public YarnApplication getDefaultInstanceForType()
Type | Description |
YarnApplication |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Required. The application name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The application name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for name. |
getProgress()
public float getProgress()
Required. The numerical progress of the application, from 1 to 100.
float progress = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
float | The progress. |
getState()
public YarnApplication.State getState()
Required. The application state.
.google.cloud.dataproc.v1.YarnApplication.State state = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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];
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];
Type | Description |
ByteString | The bytes for trackingUrl. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(YarnApplication other)
public YarnApplication.Builder mergeFrom(YarnApplication other)
Name | Description |
other | YarnApplication |
Type | Description |
YarnApplication.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public YarnApplication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
YarnApplication.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public YarnApplication.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
YarnApplication.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final YarnApplication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
YarnApplication.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public YarnApplication.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
YarnApplication.Builder |
setName(String value)
public YarnApplication.Builder setName(String value)
Required. The application name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The name to set. |
Type | Description |
YarnApplication.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public YarnApplication.Builder setNameBytes(ByteString value)
Required. The application name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
YarnApplication.Builder | This builder for chaining. |
setProgress(float value)
public YarnApplication.Builder setProgress(float value)
Required. The numerical progress of the application, from 1 to 100.
float progress = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | float The progress to set. |
Type | Description |
YarnApplication.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public YarnApplication.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
YarnApplication.Builder |
setState(YarnApplication.State value)
public YarnApplication.Builder setState(YarnApplication.State value)
Required. The application state.
.google.cloud.dataproc.v1.YarnApplication.State state = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | YarnApplication.State The state to set. |
Type | Description |
YarnApplication.Builder | This builder for chaining. |
setStateValue(int value)
public YarnApplication.Builder setStateValue(int value)
Required. The application state.
.google.cloud.dataproc.v1.YarnApplication.State state = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
YarnApplication.Builder | This builder for chaining. |
setTrackingUrl(String value)
public YarnApplication.Builder setTrackingUrl(String value)
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];
Name | Description |
value | String The trackingUrl to set. |
Type | Description |
YarnApplication.Builder | This builder for chaining. |
setTrackingUrlBytes(ByteString value)
public YarnApplication.Builder setTrackingUrlBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for trackingUrl to set. |
Type | Description |
YarnApplication.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final YarnApplication.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
YarnApplication.Builder |