Google Cloud Dataproc V1 Client - Class SessionStateHistory (2.2.0)

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

Historical state information.

Generated from protobuf message google.cloud.dataproc.v1.Session.SessionStateHistory

Namespace

Google \ Cloud \ Dataproc \ V1 \ Session

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ state int

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

↳ state_message string

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

↳ state_start_time Google\Protobuf\Timestamp

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

getState

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

Returns
Type Description
int

setState

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

Parameter
Name Description
var int
Returns
Type Description
$this

getStateMessage

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

Returns
Type Description
string

setStateMessage

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

Parameter
Name Description
var string
Returns
Type Description
$this

getStateStartTime

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStateStartTime

clearStateStartTime

setStateStartTime

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

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