public function setVersionView($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Kms\V1\CryptoKeyVersion_CryptoKeyVersionView::class);
        $this->version_view = $var;

        return $this;
    }