Google Cloud Dataproc V1 Client - Class WorkflowNode (3.2.2)

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.

Generated from protobuf field string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
string

setStepId

Output only. The name of the node.

Generated from protobuf field string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPrerequisiteStepIds

Output only. Node's prerequisite nodes.

Generated from protobuf field repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPrerequisiteStepIds

Output only. Node's prerequisite nodes.

Generated from protobuf field repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getJobId

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

Generated from protobuf field string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
string

setJobId

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

Generated from protobuf field string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

Output only. The node state.

Generated from protobuf field .google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

setState

Output only. The node state.

Generated from protobuf field .google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getError

Output only. The error detail.

Generated from protobuf field string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
string

setError

Output only. The error detail.

Generated from protobuf field string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string
Returns
TypeDescription
$this