Google Cloud Dataproc V1 Client - Class StateHistory (3.8.1)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class StateHistory.

Historical state information.

Generated from protobuf message google.cloud.dataproc.v1.Batch.StateHistory

Namespace

Google \ Cloud \ Dataproc \ V1 \ Batch

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ state int

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

↳ state_message string

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

↳ state_start_time Google\Protobuf\Timestamp

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

getState

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

Returns
TypeDescription
int

setState

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStateMessage

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

Returns
TypeDescription
string

setStateMessage

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStateStartTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStateStartTime

clearStateStartTime

setStateStartTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this