| 2833 | } |
| 2834 | |
| 2835 | inline absl::StatusOr<absl::optional<Value>> ValueIterator::Next1( |
| 2836 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 2837 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 2838 | google::protobuf::Arena* absl_nonnull arena) { |
| 2839 | ABSL_DCHECK(descriptor_pool != nullptr); |
| 2840 | ABSL_DCHECK(message_factory != nullptr); |
| 2841 | ABSL_DCHECK(arena != nullptr); |
| 2842 | |
| 2843 | Value key_or_value; |
| 2844 | CEL_ASSIGN_OR_RETURN( |
| 2845 | bool ok, Next1(descriptor_pool, message_factory, arena, &key_or_value)); |
| 2846 | if (!ok) { |
| 2847 | return absl::nullopt; |
| 2848 | } |
| 2849 | return key_or_value; |
| 2850 | } |
| 2851 | |
| 2852 | inline absl::StatusOr<absl::optional<std::pair<Value, Value>>> |
| 2853 | ValueIterator::Next2(const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |