| 102 | } |
| 103 | |
| 104 | absl::Status MapValue::Equal( |
| 105 | const Value& other, |
| 106 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 107 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 108 | google::protobuf::Arena* absl_nonnull arena, Value* absl_nonnull result) const { |
| 109 | ABSL_DCHECK(descriptor_pool != nullptr); |
| 110 | ABSL_DCHECK(message_factory != nullptr); |
| 111 | ABSL_DCHECK(arena != nullptr); |
| 112 | ABSL_DCHECK(result != nullptr); |
| 113 | |
| 114 | return variant_.Visit([&](const auto& alternative) -> absl::Status { |
| 115 | return alternative.Equal(other, descriptor_pool, message_factory, arena, |
| 116 | result); |
| 117 | }); |
| 118 | } |
| 119 | |
| 120 | bool MapValue::IsZeroValue() const { |
| 121 | return variant_.Visit([](const auto& alternative) -> bool { |