[protobuf] ID in protobuf

2016-03-23 Thread Hp Liu
As a beginner, I'm confused is there a "id" to distinguish different RPCs at client in JAVA version protobuf? Any suggestion is appreciated! -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving

[protobuf] On Spring boot(Java), XML seems faster than Protobuf?

2016-03-23 Thread Seong K
I generated xml and protobuf messages and it seems Protobuf message is 3.5 times smaller than xml for my project. I am very satisfied :) However when it comes to *performance, I think I did something wrong..* I use Spring boot and I have the following methods for Jmeter test. The XML method below

[protobuf] Streaming Serialization - Suggestion

2016-03-23 Thread Yoav H
Hi, I have a suggestion fr improving the protobuf encoding. Is proto3 final? I like the simplicity of the encoding of protobuf. But I think it has one issue with serialization, using streams. The problem is with length delimited fields and the fact that they require knowing the length ahead of t

[protobuf] ProtoClass$Builder overrides final method setUnknownFields

2016-03-23 Thread Rohit Saboo
Hi all, I'm seeing the following error with my generated protocol buffer in Java (with Bazel as the build system and being used inside a spark program): Exception in thread "main" java.lang.VerifyError: class ...Proto$Builder overrides final method setUnknownFields.(Lcom/google/protobuf/UnknownFi

Re: [protobuf] ProtoClass$Builder overrides final method setUnknownFields

2016-03-23 Thread 'Feng Xiao' via Protocol Buffers
On Wed, Mar 23, 2016 at 3:20 PM, Rohit Saboo wrote: > Hi all, > > I'm seeing the following error with my generated protocol buffer in Java > (with Bazel as the build system and being used inside a spark program): > > Exception in thread "main" java.lang.VerifyError: class ...Proto$Builder > overr