Project: mesos
Issue MESOS-5561: Need to remove references to "messages/messages.hpp" from `State` API
In order to expose the `State` API for using replicated log in Mesos modules it is necessary that the `State` API does not reference headers that are not exposed as part of the Mesos installation. Currently include/mesos/state/protobuf.hpp references src/messages/messages.hpp making the `State` API unusable in a module. We need to move the protobuf `serialize`/`deserialize` functions out of messages.hpp and move them to `stout/protobuf.hpp`. This will help us remove references to messages.hpp from the `State` API.
Story points: 2