I'm not really sure where to start. Like, some sites I saw wanted me to install maven, and do a bunch of things with copying files to system directories, and adding those directories to $path (which I hate doing, btw, the devs should just write an in
How do we construct a sub message by adding the extension field in protocol buffers. In C++, one way of doing it is by using MutableMessage(Message, FieldDescriptor) with reflection interface. How do we do the similar thing in Java? I'm a newbie so d
Is it a good choice to use Google Protocol Buffers in JavaScript or is it better to do it with JSON? Also if someone can give me a simple example about Protocol Buffers implementation in JavaScript. Becauseon Google's site I think it's very poor.[edi
I need to receive a protocol buffers message on my python - tornado server and get the stuff out of the binary message. postContent = self.request.body message = prototemp.ReqMessage() message.ParseFromString(postContent) It works perfectly using a t
From a comment on the announcement blog post: Regarding JSON: JSON is structured similarly to Protocol Buffers, but protocol buffer binary format is still smaller and faster to encode. JSON makes a great text encoding for protocol buffers, though --
I am considering various ways of storing deltas on objects for long periods of time (30 years would be the common case). One option is to have a single delta table storing changes for every object. Because the deltas need to be stored for such a long
Does anyone with experience with these libraries have any comment on which one they preferred? Were there any performance differences or difficulties in using?I've played around a little with both systems, nothing serious, just some simple hackish st
I have a Python project that uses setuptools for deployment and I mostly followed this guide regarding project structure. The project uses Google Protocol Buffers to define a network message format. My main issue is how to make setup.py call the prot
I'm experimenting with Protocol Buffers in an existing, fairly vanilla Maven 2 project. Currently, I invoke a shell script every time I need to update my generated sources. This is obviously a hassle, as I would like the sources to be generated autom
This question already has an answer here: Biggest differences of Thrift vs Protocol Buffers? 12 answers I've been using PB for quite a while now, but, Thrift has constantly been at the back of my mind. The primary advantages of thrift, as I see it ar
How to handle inheritance in Google Protocol Buffers 3.0? Java equivalent code: public class Bar { String name; } public class Foo extends Bar { String id; } What would be Proto equivalent code? message Bar { string name = 1; } message Foo { string i
I am currently playing around with v3.0.0-alpha-2 of Google Protocol Buffers. As far as I understand v3 removes the required keyword, the extensions keyword and default values for fields to simplify the proto language. What I do not understand is the
I am trying to use Protocol Buffers - Google's data interchange format referring https://github.com/google/protobuf/tree/master/js I tried to follow documentation i am able to get the setup of Protocol Compiler and able to do protoc --js_out=library=
I've got a PyDev project that uses protocol buffers. The protocol buffer files are located in a zip file generated by the protoc compiler. Everything works when I run the program, however PyDev reports "Undefined variable from import" for every