| 2820 | using ValueIteratorPtr = std::unique_ptr<ValueIterator>; |
| 2821 | |
| 2822 | inline absl::StatusOr<Value> ValueIterator::Next( |
| 2823 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 2824 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 2825 | google::protobuf::Arena* absl_nonnull arena) { |
| 2826 | ABSL_DCHECK(descriptor_pool != nullptr); |
| 2827 | ABSL_DCHECK(message_factory != nullptr); |
| 2828 | ABSL_DCHECK(arena != nullptr); |
| 2829 | |
| 2830 | Value result; |
| 2831 | CEL_RETURN_IF_ERROR(Next(descriptor_pool, message_factory, arena, &result)); |
| 2832 | return result; |
| 2833 | } |
| 2834 | |
| 2835 | inline absl::StatusOr<absl::optional<Value>> ValueIterator::Next1( |
| 2836 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |