public static final class ClusterStatus.Builder extends GeneratedMessageV3.Builder<ClusterStatus.Builder> implements ClusterStatusOrBuilder
The status of a cluster and its instances.Protobuf type
google.cloud.dataproc.v1.ClusterStatus
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ClusterStatus.Builder>
public ClusterStatus.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ClusterStatus.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ClusterStatus.Builder>
public ClusterStatus getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ClusterStatus build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ClusterStatus buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ClusterStatus.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ClusterStatus.Builder>
public ClusterStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ClusterStatus.Builder>
public ClusterStatus.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ClusterStatus.Builder>
public ClusterStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ClusterStatus.Builder>
public ClusterStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ClusterStatus.Builder>
public ClusterStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ClusterStatus.Builder>
public ClusterStatus.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ClusterStatus.Builder>
public ClusterStatus.Builder mergeFrom(ClusterStatus other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ClusterStatus.Builder>
public ClusterStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ClusterStatus.Builder>
IOException
public int getStateValue()
Output only. The cluster's state.
.google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue
in interface ClusterStatusOrBuilder
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];
value
- The enum numeric value on the wire for state to set.public ClusterStatus.State getState()
Output only. The cluster's state.
.google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState
in interface ClusterStatusOrBuilder
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];
value
- The state to set.public ClusterStatus.Builder clearState()
Output only. The cluster's state.
.google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
getDetail
in interface ClusterStatusOrBuilder
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];
getDetailBytes
in interface ClusterStatusOrBuilder
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];
value
- The detail to set.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];
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];
value
- The bytes for detail to set.public boolean hasStateStartTime()
Output only. Time when this state was entered (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStateStartTime
in interface ClusterStatusOrBuilder
public Timestamp getStateStartTime()
Output only. Time when this state was entered (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateStartTime
in interface ClusterStatusOrBuilder
public ClusterStatus.Builder setStateStartTime(Timestamp value)
Output only. Time when this state was entered (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterStatus.Builder setStateStartTime(Timestamp.Builder builderForValue)
Output only. Time when this state was entered (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterStatus.Builder mergeStateStartTime(Timestamp value)
Output only. Time when this state was entered (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterStatus.Builder clearStateStartTime()
Output only. Time when this state was entered (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Timestamp.Builder getStateStartTimeBuilder()
Output only. Time when this state was entered (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TimestampOrBuilder getStateStartTimeOrBuilder()
Output only. Time when this state was entered (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateStartTimeOrBuilder
in interface ClusterStatusOrBuilder
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];
getSubstateValue
in interface ClusterStatusOrBuilder
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];
value
- The enum numeric value on the wire for substate to set.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];
getSubstate
in interface ClusterStatusOrBuilder
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];
value
- The substate to set.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];
public final ClusterStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ClusterStatus.Builder>
public final ClusterStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ClusterStatus.Builder>
Copyright © 2022 Google LLC. All rights reserved.