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

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

        return $this;
    }
public function setPublicKeyType ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Iam \ Admin \ V1 \ ServiceAccountPublicKeyType :: class ) ; $ this -> public_key_type = $ var ; return $ this ; }
The output format of the public key requested.
X509_PEM is the default output format.

Generated from protobuf field <code>.google.iam.admin.v1.ServiceAccountPublicKeyType public_key_type = 2;</code>
@param int $var
@return $this
The output format of the public key requested . X509_PEM is the default output format .