public Builder address(ClickHouseProtocol protocol, InetSocketAddress address) {
            if (address != null) {
                host(address.getHostName());
                port(protocol, address.getPort());
            } else {
                host(null);
                port(protocol, null);
            }
            return this;
        }
Sets protocol and socket address.

@param protocol protocol, null means {@link ClickHouseDefaults#PROTOCOL}
@param address  socket address, null means {@link ClickHouseDefaults#HOST}
                and default port of {@code protocol}
@return this builder
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseNode.java