private Endpoint getEndpoint(Server server) {
        if (endpoint != null) {
            if (endpoint.hasPort()) {
                warnIfInactivePort(server, endpoint.port());
            }
            return endpoint;
        }
        return defaultEndpoint(server);
    }
Returns a newly-created {@link NacosUpdatingListenerBuilder} with the specified {@code nacosUri}
and {@code serviceName} to build {@link NacosUpdatingListener}.

@param nacosUri the URI of Nacos API service, including the path up to but not including API version.
                (example: http://localhost:8848/nacos)
nacos/src/main/java/com/linecorp/armeria/server/nacos/NacosUpdatingListener.java