@Override
    public boolean equals(Object obj) {
        if (!(obj instanceof RoutingTableSpec)) {
            return false;
        }
        RoutingTableSpec rhs = (RoutingTableSpec)obj;
        if (!protocol.equals(rhs.protocol)) {
            return false;
        }
        if (!hops.equals(rhs.hops)) {
            return false;
        }
        if (!routes.equals(rhs.routes)) {
            return false;
        }
        return true;
    }
Appends the content of this to the given config string builder.

@param cfg    The config to add to.
@param prefix The prefix to use for each add.
messagebus/src/main/java/com/yahoo/messagebus/routing/RoutingTableSpec.java