I am trying to send protobuf data from cpp side to java side.
I have multiple message types defined in .proto
On Cpp side, I have enums for every message type an
Protobuf 3 introduced a new concept, Any, that handles this. A good description can be found here.