| 110 | } |
| 111 | |
| 112 | absl::Status StructValue::Equal( |
| 113 | const Value& other, |
| 114 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 115 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 116 | google::protobuf::Arena* absl_nonnull arena, Value* absl_nonnull result) const { |
| 117 | ABSL_DCHECK(descriptor_pool != nullptr); |
| 118 | ABSL_DCHECK(message_factory != nullptr); |
| 119 | ABSL_DCHECK(arena != nullptr); |
| 120 | ABSL_DCHECK(result != nullptr); |
| 121 | |
| 122 | return variant_.Visit([&](const auto& alternative) -> absl::Status { |
| 123 | return alternative.Equal(other, descriptor_pool, message_factory, arena, |
| 124 | result); |
| 125 | }); |
| 126 | } |
| 127 | |
| 128 | bool StructValue::IsZeroValue() const { |
| 129 | return variant_.Visit([](const auto& alternative) -> bool { |
no test coverage detected