public Builder addEndpoint(Protocol protocol, String host, int port, boolean secure) {
            ValidationUtils.checkNonBlank(host, "host");
            ValidationUtils.checkNotNull(protocol, "protocol");
            ValidationUtils.checkRange(port, 1, ValidationUtils.TCP_PORT_NUMBER_MAX, "port");
            if (secure) {
                // TODO: if secure init SSL context
            }
            String endpoint = String.format("%s%s://%s:%d", protocol.toString().toLowerCase(), secure ? "s": "", host, port);
            this.endpoints.add(endpoint);
            return this;
        }
Server address to which client may connect. If there are multiple endpoints then client will
connect to one of them.

@param protocol - Endpoint protocol
@param host - Endpoint host
@param port - Endpoint port
client-v2/src/main/java/com/clickhouse/client/api/Client.java