public Set<String> getEndpoints() {
        return endpoints.stream().map(Endpoint::getBaseURL).collect(Collectors.toSet());
    }
Returns unmodifiable set of endpoints.
@return - set of endpoints
@deprecated
client-v2/src/main/java/com/clickhouse/client/api/Client.java