public function setUpgradeOptions($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Container\V1\AutoUpgradeOptions::class);
        $this->upgrade_options = $var;

        return $this;
    }