[protobuf] Re: Issue 362 in protobuf: Java: TextFormat can't merge from UTF-8 string

2013-02-25 Thread protobuf
Updates: Status: CannotReproduce Owner: xiaof...@google.com Comment #3 on issue 362 by xiaof...@google.com: Java: TextFormat can't merge from UTF-8 string http://code.google.com/p/protobuf/issues/detail?id=362 Seems the problem has been fixed already as it cannot be reproduced

[protobuf] Re: Issue 403 in protobuf: Java service insertion point needed, patch attached

2013-02-25 Thread protobuf
Updates: Status: Fixed Owner: xiaof...@google.com Comment #2 on issue 403 by xiaof...@google.com: Java service insertion point needed, patch attached http://code.google.com/p/protobuf/issues/detail?id=403 Fixed in r476. -- You received this message because this project is con

[protobuf] Re: Issue 456 in protobuf: Patch for /trunk/src/google/protobuf/io/coded_stream_inl.h

2013-02-25 Thread protobuf
Updates: Status: Fixed Comment #4 on issue 456 by xiaof...@google.com: Patch for /trunk/src/google/protobuf/io/coded_stream_inl.h http://code.google.com/p/protobuf/issues/detail?id=456 Fixed in r476. -- You received this message because this project is configured to send all issue

[protobuf] Re: Issue 462 in protobuf: r475 is incorrect

2013-02-25 Thread protobuf
Updates: Status: Fixed Comment #2 on issue 462 by xiaof...@google.com: r475 is incorrect http://code.google.com/p/protobuf/issues/detail?id=462 Fixed in r476. -- You received this message because this project is configured to send all issue notifications to this address. You may adju

[protobuf] Re: Issue 442 in protobuf: google.protobuf.text_format.Merge fails to parse values returned from google.protobuf.text_format.MessageToString

2013-02-25 Thread protobuf
Updates: Status: Fixed Owner: xiaof...@google.com Comment #2 on issue 442 by xiaof...@google.com: google.protobuf.text_format.Merge fails to parse values returned from google.protobuf.text_format.MessageToString http://code.google.com/p/protobuf/issues/detail?id=442 Fixed in

[protobuf] Issue 464 in protobuf: Inefficient Java handling of repeated list of primitive types

2013-02-25 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 464 by ryan.fog...@gmail.com: Inefficient Java handling of repeated list of primitive types http://code.google.com/p/protobuf/issues/detail?id=464 What steps will reproduce the problem? 1. Any handling of Prot

[protobuf] Re: Dynamically determine the type of a message

2013-02-25 Thread Jeremy Swigart
What about something like this message UnknownMessage { enum MessageType { MESSAGE_TYPE_A = 1; MESSAGE_TYPE_B = 2; MESSAGE_TYPE_C = 3; } required MessageTypemsgType = 1; required bytesmsgPayload = 2; } On Wednesday, February 10, 2

[protobuf] Binary Message between Client and Server

2013-02-25 Thread jsab
Must the version of the protocol message be same between the binary of a client and server? For example, if I am consistently adding to the proto-message for the server, does each client need to have the same version of that proto-message or does it not matter as long as the variables the clien

[protobuf] how to create a protocol buffer object using spring

2013-02-25 Thread Mark
In Java I can do the following: MyObject.Builder builder = MyObject.newBuilder(); builder.setXXX(...); builder.setYYY(...); MyObject obj = builder.build(); I would like to perform these tasks in Spring so that I can inject an instance into another class. What is the easiest way to perform this

Re: [protobuf] Binary Message between Client and Server

2013-02-25 Thread Christopher Head
See , the section on required, optional, and repeated fields. The general answer is yes, there’s full backwards and forwards compatibility between different versions of protobuf and different versions of your message, except that the

[protobuf] Sending Protocol buffer messages over socket connection.

2013-02-25 Thread Pradeep Rathnayaka
I newbie to protocol buffers, I am currently working on a new java client/server standalone application. The system transfers messages between client and server where the process should be happened over a restricted network(WLAN). I chosen protocol buffer messages technology to transfer data e

Re: [protobuf] Sending Protocol buffer messages over socket connection.

2013-02-25 Thread Feng Xiao
On Tue, Feb 26, 2013 at 3:24 PM, Pradeep Rathnayaka < pradeepkrathnay...@gmail.com> wrote: > I newbie to protocol buffers, I am currently working on a new java > client/server standalone application. The system transfers messages > between client and server where the process should be happened ov

[protobuf] Re: Sending Protocol buffer messages over socket connection.

2013-02-25 Thread Pradeep Rathnayaka
It looks like below, client's messages are organised as below and sending them in following order. <---TP header + CS header + (PB messages)<--- TP header consits with 6fields - 30bytes CS header with 2fields - 4bytes PB message message ReplyData { enum ErrorCodeType { UNSPECIFIE