Searched refs:UnpackTo (Results 1 – 9 of 9) 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
125 bool Any::UnpackTo(::google::protobuf::Message* message) const { in UnpackTo() function in google::protobuf::Any126 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()
377 Then in C++ you can access the Any field using PackFrom()/UnpackTo()385 foo.any_field().UnpackTo(&bar);