| 899 | } |
| 900 | |
| 901 | absl::StatusOr<bool> Next1( |
| 902 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 903 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 904 | google::protobuf::Arena* absl_nonnull arena, |
| 905 | Value* absl_nonnull key_or_value) override { |
| 906 | ABSL_DCHECK(descriptor_pool != nullptr); |
| 907 | ABSL_DCHECK(message_factory != nullptr); |
| 908 | ABSL_DCHECK(arena != nullptr); |
| 909 | ABSL_DCHECK(key_or_value != nullptr); |
| 910 | |
| 911 | if (begin_ == end_) { |
| 912 | return false; |
| 913 | } |
| 914 | *key_or_value = begin_->first; |
| 915 | ++begin_; |
| 916 | return true; |
| 917 | } |
| 918 | |
| 919 | absl::StatusOr<bool> Next2( |
| 920 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |