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

Method Initialize

internal/json.cc:1109–1113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1107 using MessageToJsonState::MessageToJsonState;
1108
1109 absl::Status Initialize(google::protobuf::MessageLite* absl_nonnull message) override {
1110 CEL_RETURN_IF_ERROR(reflection_.Initialize(
1111 google::protobuf::DownCastMessage<google::protobuf::Message>(message)->GetDescriptor()));
1112 return absl::OkStatus();
1113 }
1114
1115 private:
1116 void SetNullValue(google::protobuf::MessageLite* absl_nonnull message) const override {

Callers 6

ToJsonMethod · 0.45
MessageToJsonFunction · 0.45
MessageFieldToJsonFunction · 0.45
InitializeValueMethod · 0.45
InitializeListValueMethod · 0.45
InitializeStructMethod · 0.45

Calls 1

GetDescriptorMethod · 0.45

Tested by

no test coverage detected