| 89 | } |
| 90 | |
| 91 | absl::Status ParsedRepeatedFieldValue::ConvertToJsonArray( |
| 92 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 93 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 94 | google::protobuf::Message* absl_nonnull json) const { |
| 95 | ABSL_DCHECK(descriptor_pool != nullptr); |
| 96 | ABSL_DCHECK(message_factory != nullptr); |
| 97 | ABSL_DCHECK(json != nullptr); |
| 98 | ABSL_DCHECK_EQ(json->GetDescriptor()->well_known_type(), |
| 99 | google::protobuf::Descriptor::WELLKNOWNTYPE_LISTVALUE); |
| 100 | ABSL_DCHECK(*this); |
| 101 | |
| 102 | json->Clear(); |
| 103 | |
| 104 | if (ABSL_PREDICT_FALSE(field_ == nullptr)) { |
| 105 | return absl::OkStatus(); |
| 106 | } |
| 107 | return internal::MessageFieldToJson(*message_, field_, descriptor_pool, |
| 108 | message_factory, json); |
| 109 | } |
| 110 | |
| 111 | absl::Status ParsedRepeatedFieldValue::Equal( |
| 112 | const Value& other, |
nothing calls this directly
no test coverage detected