| 2680 | |
| 2681 | template <typename Base> |
| 2682 | absl::StatusOr<absl::optional<Value>> MapValueMixin<Base>::Find( |
| 2683 | const Value& other, |
| 2684 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 2685 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 2686 | google::protobuf::Arena* absl_nonnull arena) const { |
| 2687 | ABSL_DCHECK(descriptor_pool != nullptr); |
| 2688 | ABSL_DCHECK(message_factory != nullptr); |
| 2689 | ABSL_DCHECK(arena != nullptr); |
| 2690 | |
| 2691 | Value result; |
| 2692 | CEL_ASSIGN_OR_RETURN( |
| 2693 | bool found, static_cast<const Base*>(this)->Find( |
| 2694 | other, descriptor_pool, message_factory, arena, &result)); |
| 2695 | if (found) { |
| 2696 | return result; |
| 2697 | } |
| 2698 | return absl::nullopt; |
| 2699 | } |
| 2700 | |
| 2701 | template <typename Base> |
| 2702 | absl::StatusOr<Value> MapValueMixin<Base>::Has( |
no outgoing calls
no test coverage detected