[protobuf] Re: Issue 493 in protobuf: protobuf-java (2.5.0) GeneratedMessage#getUnknownFields() not implemented

2014-06-11 Thread protobuf
Comment #11 on issue 493 by owen.oma...@gmail.com: protobuf-java (2.5.0) GeneratedMessage#getUnknownFields() not implemented http://code.google.com/p/protobuf/issues/detail?id=493 For your own project, regenerating the code is not unreasonable. The problem comes when you use ant/ivy or

[protobuf] Can protocol buffer be partial updated?

2014-06-11 Thread Zangw
I am new to protobuf and here is my question: Can protocol buffer support partial update? For example, I have such messages: package model.test; message Person{ required int32 id = 1; required string name = 2; repeated PhoneNumber phone = 3;} enum PhoneType{ MOBILE = 0;

[protobuf] Re: Issue 493 in protobuf: protobuf-java (2.5.0) GeneratedMessage#getUnknownFields() not implemented

2014-06-11 Thread protobuf
Comment #12 on issue 493 by oliver.j...@gmail.com: protobuf-java (2.5.0) GeneratedMessage#getUnknownFields() not implemented http://code.google.com/p/protobuf/issues/detail?id=493 In this case, why doesn't hadoop-mapreduce have a dependency on the library version it requires for correct

[protobuf] Re: Issue 493 in protobuf: protobuf-java (2.5.0) GeneratedMessage#getUnknownFields() not implemented

2014-06-11 Thread protobuf
Comment #13 on issue 493 by oliver.j...@gmail.com: protobuf-java (2.5.0) GeneratedMessage#getUnknownFields() not implemented http://code.google.com/p/protobuf/issues/detail?id=493 The can only use one version issue is not a problem specific to protobuf; it's a general problem with common

[protobuf] Re: Issue 493 in protobuf: protobuf-java (2.5.0) GeneratedMessage#getUnknownFields() not implemented

2014-06-11 Thread protobuf
Comment #14 on issue 493 by owen.oma...@gmail.com: protobuf-java (2.5.0) GeneratedMessage#getUnknownFields() not implemented http://code.google.com/p/protobuf/issues/detail?id=493 This is more than can only use one version. Protobuf requires that you run with precisely the version of the

[protobuf] Re: Issue 493 in protobuf: protobuf-java (2.5.0) GeneratedMessage#getUnknownFields() not implemented

2014-06-11 Thread protobuf
Comment #15 on issue 493 by oliver.j...@gmail.com: protobuf-java (2.5.0) GeneratedMessage#getUnknownFields() not implemented http://code.google.com/p/protobuf/issues/detail?id=493 protobuf requires that if you have some generated class G that was generated using protoc version V, then G

[protobuf] protoc not generated add_...() method for repeated nested messages

2014-06-11 Thread CB
I've got a proto file that looks like this: option optimize_for = SPEED; package test; message KeyedStrings { optional string key = 1; repeated string value = 2; } message Map { repeated KeyedStrings map = 1; repeated string test = 2; } My problem is that the generated C++

Re: [protobuf] protoc not generated add_...() method for repeated nested messages

2014-06-11 Thread Ilia Mirkin
On Wed, Jun 11, 2014 at 6:54 PM, CB cbrund...@gmail.com wrote: I've got a proto file that looks like this: option optimize_for = SPEED; package test; message KeyedStrings { optional string key = 1; repeated string value = 2; } message Map { repeated KeyedStrings map =

Re: [protobuf] protoc not generated add_...() method for repeated nested messages

2014-06-11 Thread CB
On Wednesday, June 11, 2014 7:01:42 PM UTC-4, Ilia Mirkin wrote: On Wed, Jun 11, 2014 at 6:54 PM, CB cbru...@gmail.com javascript: wrote: I've got a proto file that looks like this: option optimize_for = SPEED; package test; message KeyedStrings { optional

Re: [protobuf] protoc not generated add_...() method for repeated nested messages

2014-06-11 Thread Ilia Mirkin
On Wed, Jun 11, 2014 at 7:04 PM, CB cbrund...@gmail.com wrote: On Wednesday, June 11, 2014 7:01:42 PM UTC-4, Ilia Mirkin wrote: On Wed, Jun 11, 2014 at 6:54 PM, CB cbru...@gmail.com wrote: I've got a proto file that looks like this: option optimize_for = SPEED; package test;

Re: [protobuf] protoc not generated add_...() method for repeated nested messages

2014-06-11 Thread CB
On Wednesday, June 11, 2014 7:07:51 PM UTC-4, Ilia Mirkin wrote: On Wed, Jun 11, 2014 at 7:04 PM, CB cbru...@gmail.com javascript: wrote: On Wednesday, June 11, 2014 7:01:42 PM UTC-4, Ilia Mirkin wrote: On Wed, Jun 11, 2014 at 6:54 PM, CB cbru...@gmail.com wrote: I've