Interface JobStatusOrBuilder (4.6.0)

public interface JobStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetails()

public abstract 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
TypeDescription
String

The details.

getDetailsBytes()

public abstract 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
TypeDescription
ByteString

The bytes for details.

getState()

public abstract 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
TypeDescription
JobStatus.State

The state.

getStateStartTime()

public abstract 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
TypeDescription
Timestamp

The stateStartTime.

getStateStartTimeOrBuilder()

public abstract TimestampOrBuilder getStateStartTimeOrBuilder()

Output only. The time when this state was entered.

.google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getStateValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for state.

getSubstate()

public abstract 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
TypeDescription
JobStatus.Substate

The substate.

getSubstateValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for substate.

hasStateStartTime()

public abstract 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
TypeDescription
boolean

Whether the stateStartTime field is set.