Dataproc/src/V1beta2/WorkflowMetadata.php
public function setGraph($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\WorkflowGraph::class);
        $this->graph = $var;

        return $this;
    }
public function setGraph($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\WorkflowGraph::class);
        $this->graph = $var;

        return $this;
    }
public function setGraph ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dataproc \ V1beta2 \ WorkflowGraph :: class ) ; $ this -> graph = $ var ; return $ this ; }
Output only. The workflow graph.

Generated from protobuf field <code>.google.cloud.dataproc.v1beta2.WorkflowGraph graph = 4;</code>
@param \Google\Cloud\Dataproc\V1beta2\WorkflowGraph $var
@return $this
Output only . The workflow graph .