Dataproc/src/V1beta2/WorkflowGraph.php
public function setNodes($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dataproc\V1beta2\WorkflowNode::class);
        $this->nodes = $arr;

        return $this;
    }
public function setNodes($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dataproc\V1beta2\WorkflowNode::class);
        $this->nodes = $arr;

        return $this;
    }
public function setNodes ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Dataproc \ V1beta2 \ WorkflowNode :: class ) ; $ this -> nodes = $ arr ; return $ this ; }
Output only. The workflow nodes.

Generated from protobuf field <code>repeated .google.cloud.dataproc.v1beta2.WorkflowNode nodes = 1;</code>
@param \Google\Cloud\Dataproc\V1beta2\WorkflowNode[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Output only . The workflow nodes .