Package com.google.cloud.dataproc.v1
Interface ClusterStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClusterStatus,ClusterStatus.Builder
public interface ClusterStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDetail()Optional.com.google.protobuf.ByteStringgetDetailBytes()Optional.ClusterStatus.StategetState()Output only.com.google.protobuf.TimestampgetStateStartTime()Output only.com.google.protobuf.TimestampOrBuildergetStateStartTimeOrBuilder()Output only.intgetStateValue()Output only.ClusterStatus.SubstategetSubstate()Output only.intgetSubstateValue()Output only.booleanhasStateStartTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStateValue
int getStateValue()
Output only. The cluster's state.
.google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
ClusterStatus.State getState()
Output only. The cluster's state.
.google.cloud.dataproc.v1.ClusterStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getDetail
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:
- The detail.
-
getDetailBytes
com.google.protobuf.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:
- The bytes for detail.
-
hasStateStartTime
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];- Returns:
- Whether the stateStartTime field is set.
-
getStateStartTime
com.google.protobuf.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];- Returns:
- The stateStartTime.
-
getStateStartTimeOrBuilder
com.google.protobuf.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];
-
getSubstateValue
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:
- The enum numeric value on the wire for substate.
-
getSubstate
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:
- The substate.
-
-