Interface Batch.StateHistoryOrBuilder (4.31.0)

public static interface Batch.StateHistoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getState()

public abstract Batch.State getState()

Output only. The state of the batch at this point in history.

.google.cloud.dataproc.v1.Batch.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Batch.State

The state.

getStateMessage()

public abstract String getStateMessage()

Output only. Details about the state at this point in history.

string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The stateMessage.

getStateMessageBytes()

public abstract ByteString getStateMessageBytes()

Output only. Details about the state at this point in history.

string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for stateMessage.

getStateStartTime()

public abstract Timestamp getStateStartTime()

Output only. The time when the batch entered the historical state.

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

Returns
TypeDescription
Timestamp

The stateStartTime.

getStateStartTimeOrBuilder()

public abstract TimestampOrBuilder getStateStartTimeOrBuilder()

Output only. The time when the batch entered the historical state.

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

Returns
TypeDescription
TimestampOrBuilder

getStateValue()

public abstract int getStateValue()

Output only. The state of the batch at this point in history.

.google.cloud.dataproc.v1.Batch.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasStateStartTime()

public abstract boolean hasStateStartTime()

Output only. The time when the batch entered the historical state.

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

Returns
TypeDescription
boolean

Whether the stateStartTime field is set.