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
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
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