public function setPublicKeyType($var)
    {
        GPBUtil::checkEnum($var, \Google\Iam\Admin\V1\ServiceAccountPublicKeyType::class);
        $this->public_key_type = $var;

        return $this;
    }