| 510 | } |
| 511 | |
| 512 | void UInt64MapFieldValueAccessor( |
| 513 | const google::protobuf::MapValueConstRef& value, |
| 514 | const google::protobuf::Message* absl_nonnull message, |
| 515 | const google::protobuf::FieldDescriptor* absl_nonnull field, |
| 516 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 517 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 518 | google::protobuf::Arena* absl_nonnull arena, Value* absl_nonnull result) { |
| 519 | ABSL_DCHECK(message != nullptr); |
| 520 | ABSL_DCHECK(field != nullptr); |
| 521 | ABSL_DCHECK(descriptor_pool != nullptr); |
| 522 | ABSL_DCHECK(message_factory != nullptr); |
| 523 | ABSL_DCHECK(arena != nullptr); |
| 524 | ABSL_DCHECK(result != nullptr); |
| 525 | ABSL_DCHECK(!field->is_repeated()); |
| 526 | ABSL_DCHECK_EQ(field->cpp_type(), google::protobuf::FieldDescriptor::CPPTYPE_UINT64); |
| 527 | |
| 528 | *result = UintValue(value.GetUInt64Value()); |
| 529 | } |
| 530 | |
| 531 | void Int32MapFieldValueAccessor( |
| 532 | const google::protobuf::MapValueConstRef& value, |