Searched refs:UnpackTo (Results 1 – 8 of 8) sorted by relevance
48 ASSERT_TRUE(message.any_value().UnpackTo(&submessage)); in TEST()65 ASSERT_TRUE(message.any_value().UnpackTo(&any)); in TEST()66 ASSERT_TRUE(any.UnpackTo(&submessage)); in TEST()
68 bool UnpackTo(Message* message) const;
69 bool AnyMetadata::UnpackTo(Message* message) const { in UnpackTo() function in google::protobuf::internal::AnyMetadata
118 bool Any::UnpackTo(::google::protobuf::Message* message) const { in UnpackTo() function in google::protobuf::Any119 return _any_metadata_.UnpackTo(message); in UnpackTo()
65 bool UnpackTo(::google::protobuf::Message* message) const;
55 // if (any.UnpackTo(&foo)) {
137 if (option.value().UnpackTo(&bool_value) && in HasBoolOption()
509 Then in C++ you can access the Any field using PackFrom()/UnpackTo()517 foo.any_field().UnpackTo(&bar);