[protobuf] Dynamic protocol buffer generation in Java

2011-08-24 Thread Mick Killianey
I'd like to use dynamically generate/use protocol buffer objects in a running Java application. This would be running in a production environment (jre, not jdk) where protoc is not available. Has anyone written a utility in Java to parse a protocol buffer definition and dynamically build Java

Re: [protobuf] Dynamic protocol buffer generation in Java

2011-08-25 Thread Mick Killianey
Hmm. I can't use DescriptorProto to create the message -- I have no idea what kind of message I'll need to create until runtime. In my application, one or more plaintext .proto definition files are loaded at runtime, and I need to generate messages based on the types in those files. (If it