| 90 | } |
| 91 | |
| 92 | absl::Status ListValue::Equal( |
| 93 | const Value& other, |
| 94 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 95 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 96 | google::protobuf::Arena* absl_nonnull arena, Value* absl_nonnull result) const { |
| 97 | ABSL_DCHECK(descriptor_pool != nullptr); |
| 98 | ABSL_DCHECK(message_factory != nullptr); |
| 99 | ABSL_DCHECK(arena != nullptr); |
| 100 | ABSL_DCHECK(result != nullptr); |
| 101 | |
| 102 | return variant_.Visit([&](const auto& alternative) -> absl::Status { |
| 103 | return alternative.Equal(other, descriptor_pool, message_factory, arena, |
| 104 | result); |
| 105 | }); |
| 106 | } |
| 107 | |
| 108 | bool ListValue::IsZeroValue() const { |
| 109 | return variant_.Visit([](const auto& alternative) -> bool { |