Dataproc/src/V1/WorkflowTemplate.php
public function setParameters($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dataproc\V1\TemplateParameter::class);
        $this->parameters = $arr;

        return $this;
    }
public function setParameters($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dataproc\V1\TemplateParameter::class);
        $this->parameters = $arr;

        return $this;
    }
public function setParameters ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Dataproc \ V1 \ TemplateParameter :: class ) ; $ this -> parameters = $ arr ; return $ this ; }
Optional. Template parameters whose values are substituted into the
template. Values for parameters must be provided when the template is
instantiated.

Generated from protobuf field <code>repeated .google.cloud.dataproc.v1.TemplateParameter parameters = 9;</code>
@param \Google\Cloud\Dataproc\V1\TemplateParameter[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Optional . Template parameters whose values are substituted into the template . Values for parameters must be provided when the template is instantiated .