public ConsumerConfig<T> setProtocol(String protocol) {
        this.protocol = protocol;
        return this;
    }
Gets invoke type.

@return the invoke type
core/api/src/main/java/com/alipay/sofa/rpc/config/ConsumerConfig.java