Google Cloud Dataproc V1 Client - Class WorkflowNode (3.4.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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setStepId

Output only. The name of the node.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPrerequisiteStepIds

Output only. Node's prerequisite nodes.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPrerequisiteStepIds

Output only. Node's prerequisite nodes.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getJobId

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

Returns
TypeDescription
string

setJobId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

Output only. The node state.

Returns
TypeDescription
int

setState

Output only. The node state.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getError

Output only. The error detail.

Returns
TypeDescription
string

setError

Output only. The error detail.

Parameter
NameDescription
var string
Returns
TypeDescription
$this