Dataproc/src/V1/WorkflowTemplatePlacement.php
public function setClusterSelector($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\ClusterSelector::class);
        $this->writeOneof(2, $var);

        return $this;
    }
public function setClusterSelector($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\ClusterSelector::class);
        $this->writeOneof(2, $var);

        return $this;
    }
public function setClusterSelector ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dataproc \ V1 \ ClusterSelector :: class ) ; $ this -> writeOneof ( 2 , $ var ) ; return $ this ; }
Optional. A selector that chooses target cluster for jobs based
on metadata.
The selector is evaluated at the time each job is submitted.

Generated from protobuf field <code>.google.cloud.dataproc.v1.ClusterSelector cluster_selector = 2;</code>
@param \Google\Cloud\Dataproc\V1\ClusterSelector $var
@return $this
Optional . A selector that chooses target cluster for jobs based on metadata . The selector is evaluated at the time each job is submitted .