class AbstractServiceBuilder extends AbstractInterfaceBuilder<T, B> {

    public B addProtocol(ProtocolConfig protocol) {
        if (this.protocols == null) {
            this.protocols = new ArrayList<>();
        }
        this.protocols.add(protocol);
        return getThis();
    }

}