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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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, java.lang.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, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ClusterStatus.Builder>
public ClusterStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.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 java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ClusterStatus.Builder>
java.io.IOException
public int getStateValue()
Output-only. The cluster's state.
.google.cloud.dataproc.v1.ClusterStatus.State state = 1;
getStateValue
in interface ClusterStatusOrBuilder
public ClusterStatus.Builder setStateValue(int value)
Output-only. The cluster's state.
.google.cloud.dataproc.v1.ClusterStatus.State state = 1;
public ClusterStatus.State getState()
Output-only. The cluster's state.
.google.cloud.dataproc.v1.ClusterStatus.State state = 1;
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;
public ClusterStatus.Builder clearState()
Output-only. The cluster's state.
.google.cloud.dataproc.v1.ClusterStatus.State state = 1;
public java.lang.String getDetail()
Output-only. Optional details of cluster's state.
string detail = 2;
getDetail
in interface ClusterStatusOrBuilder
public ByteString getDetailBytes()
Output-only. Optional details of cluster's state.
string detail = 2;
getDetailBytes
in interface ClusterStatusOrBuilder
public ClusterStatus.Builder setDetail(java.lang.String value)
Output-only. Optional details of cluster's state.
string detail = 2;
public ClusterStatus.Builder clearDetail()
Output-only. Optional details of cluster's state.
string detail = 2;
public ClusterStatus.Builder setDetailBytes(ByteString value)
Output-only. Optional details of cluster's state.
string detail = 2;
public boolean hasStateStartTime()
Output-only. Time when this state was entered.
.google.protobuf.Timestamp state_start_time = 3;
hasStateStartTime
in interface ClusterStatusOrBuilder
public Timestamp getStateStartTime()
Output-only. Time when this state was entered.
.google.protobuf.Timestamp state_start_time = 3;
getStateStartTime
in interface ClusterStatusOrBuilder
public ClusterStatus.Builder setStateStartTime(Timestamp value)
Output-only. Time when this state was entered.
.google.protobuf.Timestamp state_start_time = 3;
public ClusterStatus.Builder setStateStartTime(Timestamp.Builder builderForValue)
Output-only. Time when this state was entered.
.google.protobuf.Timestamp state_start_time = 3;
public ClusterStatus.Builder mergeStateStartTime(Timestamp value)
Output-only. Time when this state was entered.
.google.protobuf.Timestamp state_start_time = 3;
public ClusterStatus.Builder clearStateStartTime()
Output-only. Time when this state was entered.
.google.protobuf.Timestamp state_start_time = 3;
public Timestamp.Builder getStateStartTimeBuilder()
Output-only. Time when this state was entered.
.google.protobuf.Timestamp state_start_time = 3;
public TimestampOrBuilder getStateStartTimeOrBuilder()
Output-only. Time when this state was entered.
.google.protobuf.Timestamp state_start_time = 3;
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;
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;
public ClusterStatus.Substate getSubstate()
Output-only. Additional state information that includes status reported by the agent.
.google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4;
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;
public ClusterStatus.Builder clearSubstate()
Output-only. Additional state information that includes status reported by the agent.
.google.cloud.dataproc.v1.ClusterStatus.Substate substate = 4;
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>