Re: [protobuf] Re: Any type with python

2016-11-08 Thread 'Feng Xiao' via Protocol Buffers
Check out the unit test code: https://github.com/google/protobuf/blob/master/python/google/protobuf/internal/well_known_types_test.py#L674 ? On Tue, Nov 8, 2016 at 3:28 PM Ryan Morton wrote: > I found the source code that Jie linked to, however, it's not clear how to > initialize an Any object.

[protobuf] Re: Failed to compile the protobuf java example

2016-11-08 Thread Vivek kumar
ac3@ac3-Veriton-Series:~$ javac AddPerson.java -cp protobuf-java-3.0.0.jar its shows error: AddPerson.java:3: error: package com.example.tutorial.AddressBookProtos does not exist import com.example.tutorial.AddressBookProtos.AddressBook; ^ AddPerson.

[protobuf] Re: Any type with python

2016-11-08 Thread Ryan Morton
I found the source code that Jie linked to, however, it's not clear how to initialize an Any object. Can someone provide an example of how best to do so? On Friday, February 26, 2016 at 11:44:52 AM UTC-5, Tim Richardson wrote: > > Is the Any type implemented in the python libraries yet? > > I re