- 4.50.0 (latest)
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public YarnApplication.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
YarnApplication.Builder |
build()
public YarnApplication build()
Returns | |
---|---|
Type | Description |
YarnApplication |
buildPartial()
public YarnApplication buildPartial()
Returns | |
---|---|
Type | Description |
YarnApplication |
clear()
public YarnApplication.Builder clear()
Returns | |
---|---|
Type | Description |
YarnApplication.Builder |
clearField(Descriptors.FieldDescriptor field)
public YarnApplication.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
YarnApplication.Builder |
clearName()
public YarnApplication.Builder clearName()
Required. The application name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
YarnApplication.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public YarnApplication.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
YarnApplication.Builder |
This builder for chaining. |
clone()
public YarnApplication.Builder clone()
Returns | |
---|---|
Type | Description |
YarnApplication.Builder |
getDefaultInstanceForType()
public YarnApplication getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
YarnApplication |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(YarnApplication other)
public YarnApplication.Builder mergeFrom(YarnApplication other)
Parameter | |
---|---|
Name | Description |
other |
YarnApplication |
Returns | |
---|---|
Type | Description |
YarnApplication.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public YarnApplication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
YarnApplication.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public YarnApplication.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
YarnApplication.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final YarnApplication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
YarnApplication.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public YarnApplication.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
float The progress to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
YarnApplication.State The state to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
String The trackingUrl to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for trackingUrl to set. |
Returns | |
---|---|
Type | Description |
YarnApplication.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final YarnApplication.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
YarnApplication.Builder |