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 <> 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
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to