| 315 | } |
| 316 | |
| 317 | absl::StatusOr<bool> Next2( |
| 318 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 319 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 320 | google::protobuf::Arena* absl_nonnull arena, Value* absl_nonnull key, |
| 321 | Value* absl_nullable value) override { |
| 322 | ABSL_DCHECK(descriptor_pool != nullptr); |
| 323 | ABSL_DCHECK(message_factory != nullptr); |
| 324 | ABSL_DCHECK(arena != nullptr); |
| 325 | ABSL_DCHECK(key != nullptr); |
| 326 | |
| 327 | if (index_ >= size_) { |
| 328 | return false; |
| 329 | } |
| 330 | if (value != nullptr) { |
| 331 | *value = common_internal::ParsedJsonValue( |
| 332 | &reflection_.Values(*message_, index_), arena); |
| 333 | } |
| 334 | *key = IntValue(index_); |
| 335 | ++index_; |
| 336 | return true; |
| 337 | } |
| 338 | |
| 339 | private: |
| 340 | const google::protobuf::Message* absl_nonnull const message_; |
nothing calls this directly
no test coverage detected