Google Cloud Dataproc V1 Client - Class StateHistory (3.13.4)

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
Name Description
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
Type Description
int

setState

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

Parameter
Name Description
var int
Returns
Type Description
$this

getStateMessage

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

Returns
Type Description
string

setStateMessage

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

Parameter
Name Description
var string
Returns
Type Description
$this

getStateStartTime

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStateStartTime

clearStateStartTime

setStateStartTime

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

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this