| 384 | } |
| 385 | |
| 386 | absl::StatusOr<bool> Next2( |
| 387 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 388 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 389 | google::protobuf::Arena* absl_nonnull arena, Value* absl_nonnull key, |
| 390 | Value* absl_nullable value) override { |
| 391 | ABSL_DCHECK(descriptor_pool != nullptr); |
| 392 | ABSL_DCHECK(message_factory != nullptr); |
| 393 | ABSL_DCHECK(arena != nullptr); |
| 394 | ABSL_DCHECK(key != nullptr); |
| 395 | |
| 396 | if (begin_ == end_) { |
| 397 | return false; |
| 398 | } |
| 399 | *key = Value::WrapMapFieldKeyString(begin_.GetKey(), message_, arena); |
| 400 | if (value != nullptr) { |
| 401 | *value = common_internal::ParsedJsonValue( |
| 402 | &begin_.GetValueRef().GetMessageValue(), arena); |
| 403 | } |
| 404 | ++begin_; |
| 405 | return true; |
| 406 | } |
| 407 | |
| 408 | private: |
| 409 | const google::protobuf::Message* absl_nonnull const message_; |
nothing calls this directly
no test coverage detected