| 123 | } |
| 124 | |
| 125 | absl::Status ParsedMessageValue::ConvertToJsonObject( |
| 126 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 127 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 128 | google::protobuf::Message* absl_nonnull json) const { |
| 129 | ABSL_DCHECK(descriptor_pool != nullptr); |
| 130 | ABSL_DCHECK(message_factory != nullptr); |
| 131 | ABSL_DCHECK(json != nullptr); |
| 132 | ABSL_DCHECK_EQ(json->GetDescriptor()->well_known_type(), |
| 133 | google::protobuf::Descriptor::WELLKNOWNTYPE_STRUCT); |
| 134 | |
| 135 | return internal::MessageToJson(*value_, descriptor_pool, message_factory, |
| 136 | json); |
| 137 | } |
| 138 | |
| 139 | absl::Status ParsedMessageValue::Equal( |
| 140 | const Value& other, |
nothing calls this directly
no test coverage detected