Add states to support "ignore unparsed".

PiperOrigin-RevId: 609868025
pull/15940/head
Protobuf Team Bot 9 months ago committed by Copybara-Service
parent eb10ebd169
commit ee0a41cae3
  1. 5
      src/google/protobuf/generated_message_reflection_unittest.cc

@ -69,6 +69,11 @@ class GeneratedMessageReflectionTestHelper {
const FieldDescriptor* field) {
return msg.GetReflection()->IsLazilyVerifiedLazyField(field);
}
template <typename T>
static const T& GetRaw(const Message& msg, const FieldDescriptor* field) {
const Reflection* reflection = msg.GetReflection();
return reflection->GetRaw<T>(msg, field);
}
};
namespace {

Loading…
Cancel
Save