Dataproc/src/V1/ClusterConfig.php
public function setWorkerConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\InstanceGroupConfig::class);
        $this->worker_config = $var;

        return $this;
    }
public function setWorkerConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\InstanceGroupConfig::class);
        $this->worker_config = $var;

        return $this;
    }
public function setWorkerConfig ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dataproc \ V1 \ InstanceGroupConfig :: class ) ; $ this -> worker_config = $ var ; return $ this ; }
Optional. The Compute Engine config settings for
worker instances in a cluster.

Generated from protobuf field <code>.google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10;</code>
@param \Google\Cloud\Dataproc\V1\InstanceGroupConfig $var
@return $this
Optional . The Compute Engine config settings for worker instances in a cluster .