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