Hello,
I am basically following the approach described under Union Types in
the techniques section of the documentation. I am using extensions. I
have found that when deserialising protobuffers in Java it does not
automatically deserialise the extensions. I have to manually create a
registry (I
The C++ implementation does have a singleton registry, which allows it to
magically parse extensions that are linked into the binary. This behavior
can be somewhat confusing though since it relies on what the linker decides
to do with generated code. The Java implementation uses an object oriented