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

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

        return $this;
    }
public function setVersionView ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Kms \ V1 \ CryptoKeyVersion_CryptoKeyVersionView :: class ) ; $ this -> version_view = $ var ; return $ this ; }
The fields of the primary version to include in the response.

Generated from protobuf field <code>.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView version_view = 4;</code>
@param int $var
@return $this
The fields of the primary version to include in the response .