Package com.google.cloud.dataproc.v1
Interface JobStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
JobStatus
,JobStatus.Builder
public interface JobStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDetails()
Optional.com.google.protobuf.ByteString
getDetailsBytes()
Optional.JobStatus.State
getState()
Output only.com.google.protobuf.Timestamp
getStateStartTime()
Output only.com.google.protobuf.TimestampOrBuilder
getStateStartTimeOrBuilder()
Output only.int
getStateValue()
Output only.JobStatus.Substate
getSubstate()
Output only.int
getSubstateValue()
Output only.boolean
hasStateStartTime()
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. A state message specifying the overall job state.
.google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for state.
-
getState
JobStatus.State getState()
Output only. A state message specifying the overall job state.
.google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The state.
-
getDetails
String getDetails()
Optional. Output only. Job state details, such as an error description if the state is <code>ERROR</code>.
string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
- Returns:
- The details.
-
getDetailsBytes
com.google.protobuf.ByteString getDetailsBytes()
Optional. Output only. Job state details, such as an error description if the state is <code>ERROR</code>.
string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for details.
-
hasStateStartTime
boolean hasStateStartTime()
Output only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the stateStartTime field is set.
-
getStateStartTime
com.google.protobuf.Timestamp getStateStartTime()
Output only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The stateStartTime.
-
getStateStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStateStartTimeOrBuilder()
Output only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getSubstateValue
int getSubstateValue()
Output only. Additional state information, which includes status reported by the agent.
.google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for substate.
-
getSubstate
JobStatus.Substate getSubstate()
Output only. Additional state information, which includes status reported by the agent.
.google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The substate.
-
-