Hi Burak,
This sounds intriguing - i'm curious how you create a schema dynamically at runtime, do you have sample code you could share?
I'm also curious what performance difference you measured between DynamicMessage vs generated POJO class. (I use DynamicMessage very successfully to avoid POJO generation, but perhaps performance requirements are different)
Yes I also think you would need protoc & compiler toolchain at runtime to achieve what you want. Probably using tools.jar to invoke java compiler, then Class.forName(). Generated class should be in classpath.
For protoc invocation perhaps following java wrapper can help
https://github.com/os72/protoc-jarCheers
--Oliver