StepState

enum StepState : Enum<StepState> , ConvertibleToJava<StepState>

The initial state is IN_PROGRESS. The only legal state transitions are * IN_PROGRESS -> COMPLETE A PRECONDITION_FAILED will be returned if an invalid transition is requested. It is valid to create Step with a state set to COMPLETE. The state can only be set to COMPLETE once. A PRECONDITION_FAILED will be returned if the state is set to COMPLETE multiple times. - In response: always set - In create/update request: optional

Entries

Link copied to clipboard

Should never be in this state. Exists for proto deserialization backward compatibility.

Link copied to clipboard

The Execution/Step is created, ready to run, but not running yet. If an Execution/Step is created without initial state, it is assumed that the Execution/Step is in PENDING state.

Link copied to clipboard

The Execution/Step is in progress.

Link copied to clipboard

The finalized, immutable state. Steps/Executions in this state cannot be modified.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): StepState
Link copied to clipboard
fun valueOf(value: String): StepState

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: StepState
Link copied to clipboard
Link copied to clipboard