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 simple question. I have a Java class with an > attribute which is a class. How do I define that in a proto file? > Maybe the full qualified class name? > > Thanks Tai > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---