public Protocol getProtocol(int i) {
        return protocols.get(i);
    }
Returns the protocol at the given index.

@param i The index of the protocol to return.
@return The protocol object.
messagebus/src/main/java/com/yahoo/messagebus/MessageBusParams.java