| 312 | } // namespace |
| 313 | |
| 314 | absl::Status ParsedMapFieldValue::Get( |
| 315 | const Value& key, |
| 316 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 317 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 318 | google::protobuf::Arena* absl_nonnull arena, Value* absl_nonnull result) const { |
| 319 | CEL_ASSIGN_OR_RETURN( |
| 320 | bool ok, Find(key, descriptor_pool, message_factory, arena, result)); |
| 321 | if (ABSL_PREDICT_FALSE(!ok) && !(result->IsError() || result->IsUnknown())) { |
| 322 | *result = ErrorValue(NoSuchKeyError(key.DebugString())); |
| 323 | } |
| 324 | return absl::OkStatus(); |
| 325 | } |
| 326 | |
| 327 | absl::StatusOr<bool> ParsedMapFieldValue::Find( |
| 328 | const Value& key, |
nothing calls this directly
no test coverage detected