| 885 | bool HasNext() override { return begin_ != end_; } |
| 886 | |
| 887 | absl::Status Next(const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 888 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 889 | google::protobuf::Arena* absl_nonnull arena, |
| 890 | Value* absl_nonnull result) override { |
| 891 | if (ABSL_PREDICT_FALSE(begin_ == end_)) { |
| 892 | return absl::FailedPreconditionError( |
| 893 | "ValueManager::Next called after ValueManager::HasNext returned " |
| 894 | "false"); |
| 895 | } |
| 896 | *result = begin_->first; |
| 897 | ++begin_; |
| 898 | return absl::OkStatus(); |
| 899 | } |
| 900 | |
| 901 | absl::StatusOr<bool> Next1( |
| 902 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
no outgoing calls