Google Cloud Dataproc V1 Client - Class WorkflowNode (2.1.0)

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

The workflow node.

Generated from protobuf message google.cloud.dataproc.v1.WorkflowNode

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ step_id string

Output only. The name of the node.

↳ prerequisite_step_ids array

Output only. Node's prerequisite nodes.

↳ job_id string

Output only. The job id; populated after the node enters RUNNING state.

↳ state int

Output only. The node state.

↳ error string

Output only. The error detail.

getStepId

Output only. The name of the node.

Returns
Type Description
string

setStepId

Output only. The name of the node.

Parameter
Name Description
var string
Returns
Type Description
$this

getPrerequisiteStepIds

Output only. Node's prerequisite nodes.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPrerequisiteStepIds

Output only. Node's prerequisite nodes.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getJobId

Output only. The job id; populated after the node enters RUNNING state.

Returns
Type Description
string

setJobId

Output only. The job id; populated after the node enters RUNNING state.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. The node state.

Returns
Type Description
int

setState

Output only. The node state.

Parameter
Name Description
var int
Returns
Type Description
$this

getError

Output only. The error detail.

Returns
Type Description
string

setError

Output only. The error detail.

Parameter
Name Description
var string
Returns
Type Description
$this