| 953 | } |
| 954 | |
| 955 | void MessageRepeatedFieldAccessor( |
| 956 | int index, const google::protobuf::Message* absl_nonnull message, |
| 957 | const google::protobuf::FieldDescriptor* absl_nonnull field, |
| 958 | const google::protobuf::Reflection* absl_nonnull reflection, |
| 959 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 960 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 961 | google::protobuf::Arena* absl_nonnull arena, Value* absl_nonnull result) { |
| 962 | ABSL_DCHECK(message != nullptr); |
| 963 | ABSL_DCHECK(field != nullptr); |
| 964 | ABSL_DCHECK(message_factory != nullptr); |
| 965 | ABSL_DCHECK(descriptor_pool != nullptr); |
| 966 | ABSL_DCHECK(reflection != nullptr); |
| 967 | ABSL_DCHECK(arena != nullptr); |
| 968 | ABSL_DCHECK(result != nullptr); |
| 969 | ABSL_DCHECK_EQ(reflection, message->GetReflection()); |
| 970 | ABSL_DCHECK_EQ(field->containing_type(), message->GetDescriptor()); |
| 971 | ABSL_DCHECK(field->is_repeated()); |
| 972 | ABSL_DCHECK_EQ(field->cpp_type(), google::protobuf::FieldDescriptor::CPPTYPE_MESSAGE); |
| 973 | ABSL_DCHECK_GE(index, 0); |
| 974 | ABSL_DCHECK_LT(index, reflection->FieldSize(*message, field)); |
| 975 | |
| 976 | *result = Value::WrapMessage( |
| 977 | &reflection->GetRepeatedMessage(*message, field, index), descriptor_pool, |
| 978 | message_factory, arena); |
| 979 | } |
| 980 | |
| 981 | void BytesRepeatedFieldAccessor( |
| 982 | int index, const google::protobuf::Message* absl_nonnull message, |
nothing calls this directly
no test coverage detected