public static <T> T newClient(SessionProtocol protocol, EndpointGroup endpointGroup, Class<T> clientType) {
        return builder(protocol, endpointGroup).build(clientType);
    }
Creates a new client that connects to the specified {@link EndpointGroup} with
the specified {@link SessionProtocol} using the default {@link ClientFactory}.

@param protocol the {@link SessionProtocol}
@param endpointGroup the server {@link EndpointGroup}
@param clientType the type of the new client

@throws IllegalArgumentException if the specified {@code clientType} is unsupported for
                                 the specified {@link SessionProtocol} or
                                 {@link SerializationFormat} is required.
core/src/main/java/com/linecorp/armeria/client/Clients.java