public ClickHouseClientBuilder agent(boolean agent) {
        this.agent = agent;
        return this;
    }
Sets whether agent should be used for advanced feature like failover and
retry.

@param agent whether to use agent
@return this builder
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseClientBuilder.java