diff options
author | TeBoring <teboring@google.com> | 2015-07-15 16:16:08 -0700 |
---|---|---|
committer | TeBoring <teboring@google.com> | 2015-07-21 15:45:02 -0700 |
commit | 7366efd81e7f36108aa35e66fca61da8a65762c2 (patch) | |
tree | c3b05157928bf27405115aea5835055066cb7022 /update_file_lists.sh | |
parent | fde6e89f99eda04a4f1b8677bcea07e6c2040405 (diff) | |
download | protobuf-7366efd81e7f36108aa35e66fca61da8a65762c2.tar.gz protobuf-7366efd81e7f36108aa35e66fca61da8a65762c2.tar.bz2 protobuf-7366efd81e7f36108aa35e66fca61da8a65762c2.zip |
Add packFrom, unpackTo and is in google.protobuf.Any.
The previous two methods make it easy to transform between any and normal message.
unPackeTo will throw error if the type url in any doesn't match the type of the message to be transformed to.
is checks any's type url matches the give GPBMessage type.
Diffstat (limited to 'update_file_lists.sh')
0 files changed, 0 insertions, 0 deletions