Re: [protobuf] Detecting modifications to Protobuf messages

2016-09-16 Thread 'Adam Cozzette' via Protocol Buffers
I have to admit that I'm not very familiar with the protocol buffers API for Python, so hopefully someone more knowledgeable can chime in. But given that Python does not have a message differencer, I think your best bet would be to try to use the reflection API to implement something similar. It

Re: [protobuf] Re: protobuf-3.0 on freebsd-7

2016-09-16 Thread 'Adam Cozzette' via Protocol Buffers
Sowmya, my guess that your compiler version is just too old (it's from 2007). Could you try with a more recent version of g++ and let us know if that solves the problem? On Wed, Sep 14, 2016 at 10:53 PM, Sowmya Narayanam wrote: > I am using g++ (GCC) 4.2.1 20070719

[protobuf] Re: proto3 - message inside messages

2016-09-16 Thread Jordan Kaye
I believe you're looking for oneof: https://developers.google.com/protocol-buffers/docs/proto#oneof --Jordan On Wednesday, September 14, 2016 at 2:44:40 PM UTC-5, Sachin Gole wrote: > > Hi All, > > I have one requirement where I wanted to pass request object either Socket > or GetHost > > Can