I guess, ProtoBuf was made for use as a very simple data container from the
very beginning. User (programmer) is supposed to write wrappers around these
containers. AFAIK, there is no access level control, all set/get methods are
Don't forget, that ProtoBuf is only simple way to (re-)store data.
It seems, that you are trying to have a very generic use-case: Automatic
serialization/deserialization of complex structures with inheritance. The
next logical question would be access level, etc. All that would complicate
things and is not what ProtoBuf is made for.
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at