Talent/src/V4beta1/CommuteFilter.php
public function setRoadTraffic($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Talent\V4beta1\CommuteFilter_RoadTraffic::class);
        $this->writeOneof(5, $var);

        return $this;
    }
public function setRoadTraffic($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Talent\V4beta1\CommuteFilter_RoadTraffic::class);
        $this->writeOneof(5, $var);

        return $this;
    }
public function setRoadTraffic ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Talent \ V4beta1 \ CommuteFilter_RoadTraffic :: class ) ; $ this -> writeOneof ( 5 , $ var ) ; return $ this ; }
Optional.
Specifies the traffic density to use when calculating commute time.

Generated from protobuf field <code>.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5;</code>
@param int $var
@return $this
Optional . Specifies the traffic density to use when calculating commute time .