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

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

@throws IllegalArgumentException if the {@code clientType} is an unsupported Thrift client stub.
thrift/thrift0.13/src/main/java/com/linecorp/armeria/client/thrift/ThriftClients.java