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

Method SerializeTo

common/value.cc:134–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134absl::Status Value::SerializeTo(
135 const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,
136 google::protobuf::MessageFactory* absl_nonnull message_factory,
137 google::protobuf::io::ZeroCopyOutputStream* absl_nonnull output) const {
138 ABSL_DCHECK(descriptor_pool != nullptr);
139 ABSL_DCHECK(message_factory != nullptr);
140 ABSL_DCHECK(output != nullptr);
141
142 return variant_.Visit([&](const auto& alternative) -> absl::Status {
143 return alternative.SerializeTo(descriptor_pool, message_factory, output);
144 });
145}
146
147absl::Status Value::ConvertToJson(
148 const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,

Callers

nothing calls this directly

Calls 1

VisitMethod · 0.45

Tested by

no test coverage detected