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 | |
---|---|
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.
Generated from protobuf field string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
string |
setStepId
Output only. The name of the node.
Generated from protobuf field string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getError
Output only. The error detail.
Generated from protobuf field string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
string |
setError
Output only. The error detail.
Generated from protobuf field string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |