Re: Field of Class type

2009-08-03 Thread Kenton Varda
Protocol message classes can only contain other protocol message classes, not arbitrary Java classes. Otherwise, what would happen when you compile the same .proto file in C++ or another language? On Mon, Aug 3, 2009 at 1:14 PM, Tai maitai.tru...@gmail.com wrote: Hi, I guess this is a

Re: Field of Class type

2009-08-03 Thread Kenton Varda
Ah. Sure, that sounds reasonable. On Mon, Aug 3, 2009 at 2:15 PM, Tai maitai.tru...@gmail.com wrote: Sorry but maybe my post is somehow confusing. I try to migrate my java class into a protocal message class. Now I have a field like: publiy MyClass { Class anotherClass } I wonder