public static final class ClusterStatus.Builder extends GeneratedMessageV3.Builder<ClusterStatus.Builder> implements ClusterStatusOrBuilderThe status of a cluster and its instances.
Protobuf type google.cloud.dataproc.v1.ClusterStatus
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ClusterStatus.BuilderImplements
ClusterStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ClusterStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|
build()
public ClusterStatus build()| Returns | |
|---|---|
| Type | Description |
ClusterStatus |
|
buildPartial()
public ClusterStatus buildPartial()| Returns | |
|---|---|
| Type | Description |
ClusterStatus |
|
clear()
public ClusterStatus.Builder clear()| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|
clearDetail()
public ClusterStatus.Builder clearDetail()Optional. Output only. Details of cluster's state.
string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ClusterStatus.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public ClusterStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|
clearState()
public ClusterStatus.Builder clearState()Output only. The cluster's state.
.google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
This builder for chaining. |
clearStateStartTime()
public ClusterStatus.Builder clearStateStartTime()Output only. Time when this state was entered (see JSON representation of Timestamp).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|
clearSubstate()
public ClusterStatus.Builder clearSubstate()Output only. Additional state information that includes status reported by the agent.
.google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
This builder for chaining. |
clone()
public ClusterStatus.Builder clone()| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|
getDefaultInstanceForType()
public ClusterStatus getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ClusterStatus |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDetail()
public String getDetail()Optional. Output only. Details of cluster's state.
string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The detail. |
getDetailBytes()
public ByteString getDetailBytes()Optional. Output only. Details of cluster's state.
string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for detail. |
getState()
public ClusterStatus.State getState()Output only. The cluster's state.
.google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.State |
The state. |
getStateStartTime()
public Timestamp getStateStartTime()Output only. Time when this state was entered (see JSON representation of Timestamp).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The stateStartTime. |
getStateStartTimeBuilder()
public Timestamp.Builder getStateStartTimeBuilder()Output only. Time when this state was entered (see JSON representation of Timestamp).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStateStartTimeOrBuilder()
public TimestampOrBuilder getStateStartTimeOrBuilder()Output only. Time when this state was entered (see JSON representation of Timestamp).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getStateValue()
public int getStateValue()Output only. The cluster's state.
.google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getSubstate()
public ClusterStatus.Substate getSubstate()Output only. Additional state information that includes status reported by the agent.
.google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Substate |
The substate. |
getSubstateValue()
public int getSubstateValue()Output only. Additional state information that includes status reported by the agent.
.google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for substate. |
hasStateStartTime()
public boolean hasStateStartTime()Output only. Time when this state was entered (see JSON representation of Timestamp).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the stateStartTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ClusterStatus other)
public ClusterStatus.Builder mergeFrom(ClusterStatus other)| Parameter | |
|---|---|
| Name | Description |
other |
ClusterStatus |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ClusterStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ClusterStatus.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|
mergeStateStartTime(Timestamp value)
public ClusterStatus.Builder mergeStateStartTime(Timestamp value)Output only. Time when this state was entered (see JSON representation of Timestamp).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ClusterStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|
setDetail(String value)
public ClusterStatus.Builder setDetail(String value)Optional. Output only. Details of cluster's state.
string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe detail to set. |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
This builder for chaining. |
setDetailBytes(ByteString value)
public ClusterStatus.Builder setDetailBytes(ByteString value)Optional. Output only. Details of cluster's state.
string detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for detail to set. |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ClusterStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ClusterStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|
setState(ClusterStatus.State value)
public ClusterStatus.Builder setState(ClusterStatus.State value)Output only. The cluster's state.
.google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ClusterStatus.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
This builder for chaining. |
setStateStartTime(Timestamp value)
public ClusterStatus.Builder setStateStartTime(Timestamp value)Output only. Time when this state was entered (see JSON representation of Timestamp).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|
setStateStartTime(Timestamp.Builder builderForValue)
public ClusterStatus.Builder setStateStartTime(Timestamp.Builder builderForValue)Output only. Time when this state was entered (see JSON representation of Timestamp).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|
setStateValue(int value)
public ClusterStatus.Builder setStateValue(int value)Output only. The cluster's state.
.google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
This builder for chaining. |
setSubstate(ClusterStatus.Substate value)
public ClusterStatus.Builder setSubstate(ClusterStatus.Substate value)Output only. Additional state information that includes status reported by the agent.
.google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ClusterStatus.SubstateThe substate to set. |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
This builder for chaining. |
setSubstateValue(int value)
public ClusterStatus.Builder setSubstateValue(int value)Output only. Additional state information that includes status reported by the agent.
.google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for substate to set. |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ClusterStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ClusterStatus.Builder |
|