public function setPublishTimeRange($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Talent\V4beta1\TimestampRange::class);
        $this->publish_time_range = $var;

        return $this;
    }