I can create the schema (Descriptors.Descriptor) at runtime dynamically
using FileDescriptorProto, also I'm able to serialize and deserialize
messages using DynamicMessage.
However performance of DynamicMessage is not good enough because of the way
it constructs the messages. I wonder whether it's possible to compile the
schema at runtime and use it when de-serializing messages for better
If protocol buffers doesn't provide a way to compile the schemas at runtime
then is it possible to generate .proto file from a Descriptors.Descriptor
instance? Maybe I can try to generate the classes by calling protoc command
from my program, compile and load them to the program using Class.forName
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.