Any Serializable or Parceable objects can be exchanged by Intent.
But protobuf objects do not implement Serializable or Parceable.
Since protobuf objects implementation may change in the future, it’s not advised to modify/extend them.
How to exchange by Android Intent data from protocol buffer message (generated class) ?
EDIT : I was using protobuf-2.3.0 where GeneratedMessage and GeneratedMessageLite don’t implement Serializable. Generated messages started to implement Serializable on 2 November 2010. Protobuf-2.4.1 was released on April 2011.
The following answer was true in 2011, but
GeneratedMessageLiteno longer implementsSerializable.GeneratedMessagestill does.GeneratedMessageandGeneratedMessageLiteboth implementSerializable, so you should be able to just serialize any specific generated message class as far as I’m aware. Were you trying to serialize justMessageby any chance?