Dataproc/src/V1beta2/InstantiateInlineWorkflowTemplateRequest.php
public function setTemplate($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\WorkflowTemplate::class);
        $this->template = $var;

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

        return $this;
    }
public function setTemplate ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dataproc \ V1beta2 \ WorkflowTemplate :: class ) ; $ this -> template = $ var ; return $ this ; }
Required. The workflow template to instantiate.

Generated from protobuf field <code>.google.cloud.dataproc.v1beta2.WorkflowTemplate template = 2;</code>
@param \Google\Cloud\Dataproc\V1beta2\WorkflowTemplate $var
@return $this
Required . The workflow template to instantiate .