java_multiple_files option

481 views
Skip to first unread message

Antoine DESSAIGNE

unread,
Jan 20, 2011, 5:20:20 AM1/20/11
to Protobuf
Hi everyone,

First I want to say thank you for creating Protobuf, it truely makes my life easier. And I'm always thankful for that kind of thing :)

I'm currently going deeper and deeper in Protobuf in order to learn how to use it more efficiently.

I found the "java_multiple_files" option that is really great but I was wondering why it generates an extra class named after the .proto file. What is the use of this class?

Thanks a lot,

Antoine.

Jason Hsueh

unread,
Jan 21, 2011, 3:00:04 PM1/21/11
to Antoine DESSAIGNE, Protobuf
This contains file-level code. In addition to any file-scope extensions you may have defined, it provides the file's descriptor and initialization code for the .proto file.

--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.

Reply all
Reply to author
Forward
0 new messages