| 548 | } |
| 549 | |
| 550 | void UInt32MapFieldValueAccessor( |
| 551 | const google::protobuf::MapValueConstRef& value, |
| 552 | const google::protobuf::Message* absl_nonnull message, |
| 553 | const google::protobuf::FieldDescriptor* absl_nonnull field, |
| 554 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 555 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 556 | google::protobuf::Arena* absl_nonnull arena, Value* absl_nonnull result) { |
| 557 | ABSL_DCHECK(message != nullptr); |
| 558 | ABSL_DCHECK(field != nullptr); |
| 559 | ABSL_DCHECK(descriptor_pool != nullptr); |
| 560 | ABSL_DCHECK(message_factory != nullptr); |
| 561 | ABSL_DCHECK(arena != nullptr); |
| 562 | ABSL_DCHECK(result != nullptr); |
| 563 | ABSL_DCHECK(!field->is_repeated()); |
| 564 | ABSL_DCHECK_EQ(field->cpp_type(), google::protobuf::FieldDescriptor::CPPTYPE_UINT32); |
| 565 | |
| 566 | *result = UintValue(value.GetUInt32Value()); |
| 567 | } |
| 568 | |
| 569 | void BoolMapFieldValueAccessor( |
| 570 | const google::protobuf::MapValueConstRef& value, |