| 96 | } |
| 97 | |
| 98 | absl::Status ParsedMapFieldValue::ConvertToJsonObject( |
| 99 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 100 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 101 | google::protobuf::Message* absl_nonnull json) const { |
| 102 | ABSL_DCHECK(descriptor_pool != nullptr); |
| 103 | ABSL_DCHECK(message_factory != nullptr); |
| 104 | ABSL_DCHECK(json != nullptr); |
| 105 | ABSL_DCHECK_EQ(json->GetDescriptor()->well_known_type(), |
| 106 | google::protobuf::Descriptor::WELLKNOWNTYPE_STRUCT); |
| 107 | ABSL_DCHECK(*this); |
| 108 | |
| 109 | if (ABSL_PREDICT_FALSE(field_ == nullptr)) { |
| 110 | json->Clear(); |
| 111 | return absl::OkStatus(); |
| 112 | } |
| 113 | return internal::MessageFieldToJson(*message_, field_, descriptor_pool, |
| 114 | message_factory, json); |
| 115 | } |
| 116 | |
| 117 | absl::Status ParsedMapFieldValue::Equal( |
| 118 | const Value& other, |
nothing calls this directly
no test coverage detected