MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / MaybeWrapValueToMessage

Function MaybeWrapValueToMessage

eval/public/structs/cel_proto_wrap_util.cc:1471–1477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1469}
1470
1471const google::protobuf::Message* MaybeWrapValueToMessage(
1472 const google::protobuf::Descriptor* descriptor, google::protobuf::MessageFactory* factory,
1473 const CelValue& value, Arena* arena) {
1474 google::protobuf::Message* msg = MessageFromValueMaker::MaybeWrapMessage(
1475 descriptor, factory, value, arena);
1476 return msg;
1477}
1478
1479} // namespace google::api::expr::runtime::internal

Callers 8

ExpectWrappedMessageMethod · 0.85
ExpectNotWrappedMethod · 0.85
MaybeWrapValueMethod · 0.85
SetFieldFromCelValueMethod · 0.85
SerializeToMethod · 0.85
ConvertToJsonMethod · 0.85
ConvertToJsonArrayMethod · 0.85
ConvertToJsonObjectMethod · 0.85

Calls

no outgoing calls

Tested by 2

ExpectWrappedMessageMethod · 0.68
ExpectNotWrappedMethod · 0.68