There is no explicit support for this. You can, of course, just use an
integer instead.
On Sat, Nov 13, 2010 at 8:10 AM, sabretoothedhamster
sabretoothedhams...@gmail.com wrote:
Hello everyone!
Is there any way to extend not only a message, but an enum also? E.g.
having the example from
http://code.google.com/apis/protocolbuffers/docs/techniques.html
I would like to keep OneMessage description separated into two files.
Core part with Foo and Bar descriptions in one .proto file (like in
the second pre section), and the second .proto file with Baz
description. It is clear how to organize this on a message level, but
I would like also to have enum Type { FOO = 1; BAR = 2; } in the first
file, and enum Type { BAZ = 3; } in the second. Is it possible at all?
Any workarounds?
--
You received this message because you are subscribed to the Google Groups
Protocol Buffers group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to
protobuf+unsubscr...@googlegroups.comprotobuf%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.
--
You received this message because you are subscribed to the Google Groups
Protocol Buffers group.
To post to this group, send email to proto...@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.