[protobuf] Protobuf 2.4 and Android

2011-02-03 Thread pprados
Hello, With Android source code, we can find a specific version of Protobuf. The version 2.4 is it compatible with Android ? What is the best approch to use a lite and optimized version, parameter, options of Protobuf with Android ? Regards Philippe -- You received this message because you are

[protobuf] Number of Bits Written to Memory

2011-02-03 Thread Tanya
Hi, we are looking at replacing a XML/JAXB project with something similar to protocol buffers, especially since it's multi-platform, but there are a couple of concerns we have seen that would prevent us from switching. I'd like to verify that what we think is actually true before passing on what se

[protobuf] Generate .proto file from FileDescriptor?

2011-02-03 Thread Ben Wright
I've started a project generating new FileDescriptors at runtime in Java using FileDescriptorProto in order to dynamically extend a base type. I have a class that generates .proto files (StringBuilder) and one that generates FileDescriptorProto. What I was wondering was if there was a class (in j

Re: [protobuf] Generate .proto file from FileDescriptor?

2011-02-03 Thread Jason Hsueh
C++'s FileDescriptor::DebugString() produces text that is reparsable as a .proto file On Thu, Feb 3, 2011 at 12:52 PM, Ben Wright wrote: > I've started a project generating new FileDescriptors at runtime in > Java using FileDescriptorProto in order to dynamically extend a base > type. > > I have

[protobuf] Compilation error for ppc/440 target

2011-02-03 Thread dear chap
I am getting the following compilation error for ppc/440 google/protobuf/descriptor.cc: In member function `virtual const google::protobuf::FieldDescriptor* google::protobuf::DescriptorBuilder::OptionInterpreter::AggregateOptionFinder::FindExtension(google::protobuf::Message*, const std::string&)

[protobuf] Alternate names for enumeration values

2011-02-03 Thread MahlerFive
Is there a way to assign alternate names to enumeration values? I have a piece of C++ code that processes protocol buffer messages which have a lot of enums in them, and I need to print out the contents in a user- friendly, readable way. I know that I can get the enum value name by doing something

Re: [protobuf] Compilation error for ppc/440 target

2011-02-03 Thread Henner Zeller
On Thu, Feb 3, 2011 at 18:41, dear chap wrote: > I am getting the following compilation error for ppc/440 > > google/protobuf/descriptor.cc: In member function `virtual const > google::protobuf::FieldDescriptor* > google::protobuf::DescriptorBuilder::OptionInterpreter::AggregateOptionFinder::FindE