diff --git a/src/google/protobuf/compiler/cpp/file.cc b/src/google/protobuf/compiler/cpp/file.cc index 460ff6c024..b6367c77c0 100644 --- a/src/google/protobuf/compiler/cpp/file.cc +++ b/src/google/protobuf/compiler/cpp/file.cc @@ -1432,11 +1432,13 @@ class FileGenerator::ForwardDeclarations { Sub("class", c.first).AnnotatedAs(desc), {"default_type", DefaultInstanceType(desc, options)}, {"default_name", DefaultInstanceName(desc, options)}, + {"classdata_type", ClassDataType(desc, options)}, }, R"cc( class $class$; struct $default_type$; $dllexport_decl $extern $default_type$ $default_name$; + $dllexport_decl $extern const $pbi$::$classdata_type$ $class$_class_data_; )cc"); } @@ -1484,8 +1486,9 @@ class FileGenerator::ForwardDeclarations { if (options.dllexport_decl.empty()) { p->Emit(R"cc( template <> - internal::GeneratedMessageTraitsT + internal::GeneratedMessageTraitsT< + decltype($default_name$), &$default_name$, + decltype($class$_class_data_), &$class$_class_data_> internal::MessageTraitsImpl::value<$class$>; )cc"); } diff --git a/src/google/protobuf/compiler/cpp/helpers.cc b/src/google/protobuf/compiler/cpp/helpers.cc index e6a89222c4..b6fd838ec3 100644 --- a/src/google/protobuf/compiler/cpp/helpers.cc +++ b/src/google/protobuf/compiler/cpp/helpers.cc @@ -521,6 +521,17 @@ std::string QualifiedDefaultInstancePtr(const Descriptor* descriptor, "ptr_"); } +std::string ClassDataType(const Descriptor* descriptor, + const Options& options) { + return HasDescriptorMethods(descriptor->file(), options) || + // Boostrap protos are always full, even when lite is forced + // via options. + IsBootstrapProto(options, descriptor->file()) + ? "ClassDataFull" + : absl::StrFormat("ClassDataLite<%d>", + descriptor->full_name().size() + 1); +} + std::string DescriptorTableName(const FileDescriptor* file, const Options& options) { return UniqueName("descriptor_table", file, options); diff --git a/src/google/protobuf/compiler/cpp/helpers.h b/src/google/protobuf/compiler/cpp/helpers.h index dbcc924506..09dcb20a2f 100644 --- a/src/google/protobuf/compiler/cpp/helpers.h +++ b/src/google/protobuf/compiler/cpp/helpers.h @@ -173,6 +173,9 @@ std::string QualifiedDefaultInstancePtr(const Descriptor* descriptor, const Options& options, bool split = false); +// Name of the ClassData subclass used for a message. +std::string ClassDataType(const Descriptor* descriptor, const Options& options); + // DescriptorTable variable name. std::string DescriptorTableName(const FileDescriptor* file, const Options& options); diff --git a/src/google/protobuf/compiler/cpp/message.cc b/src/google/protobuf/compiler/cpp/message.cc index 10604f44de..26128b3899 100644 --- a/src/google/protobuf/compiler/cpp/message.cc +++ b/src/google/protobuf/compiler/cpp/message.cc @@ -1392,6 +1392,8 @@ void MessageGenerator::GenerateMapEntryClassDefinition(io::Printer* p) { $decl_verify_func$; + static constexpr auto InternalGenerateClassData_(); + private: friend class ::$proto_ns$::MessageLite; friend struct ::$tablename$; @@ -1403,8 +1405,8 @@ void MessageGenerator::GenerateMapEntryClassDefinition(io::Printer* p) { static void* PlacementNew_(const void*, void* mem, ::$proto_ns$::Arena* arena); static constexpr auto InternalNewImpl_(); - static const $pbi$::ClassDataFull _class_data_; }; + $dllexport_decl $extern const $pbi$::ClassDataFull $classname$_class_data_; )cc"); } @@ -2042,11 +2044,7 @@ void MessageGenerator::GenerateClassDefinition(io::Printer* p) { )cc"); }}, {"decl_impl", [&] { GenerateImplDefinition(p); }}, - {"classdata_type", - HasDescriptorMethods(descriptor_->file(), options_) - ? "ClassDataFull" - : absl::StrFormat("ClassDataLite<%d>", - descriptor_->full_name().size() + 1)}, + {"classdata_type", ClassDataType(descriptor_, options_)}, {"split_friend", [&] { if (!ShouldSplit(descriptor_, options_)) return; @@ -2174,9 +2172,14 @@ void MessageGenerator::GenerateClassDefinition(io::Printer* p) { static void* PlacementNew_(const void*, void* mem, ::$proto_ns$::Arena* arena); static constexpr auto InternalNewImpl_(); - static const $pbi$::$classdata_type$ _class_data_; public: + //~ We need this in the public section to call it from the initializer + //~ of T_class_data_. However, since it is `constexpr` and has an + //~ `auto` return type it is not callable from outside the .pb.cc + //~ without a definition so it is effectively private. + static constexpr auto InternalGenerateClassData_(); + $get_metadata$; $decl_split_methods$; // nested types ---------------------------------------------------- @@ -2210,6 +2213,8 @@ void MessageGenerator::GenerateClassDefinition(io::Printer* p) { //~ order to construct the offsets of all members. friend struct ::$tablename$; }; + + $dllexport_decl $extern const $pbi$::$classdata_type$ $classname$_class_data_; )cc"); } // NOLINT(readability/fn_size) @@ -2290,9 +2295,10 @@ void MessageGenerator::GenerateClassMethods(io::Printer* p) { {"class_data", [&] { GenerateClassData(p); }}}, R"cc( #if defined(PROTOBUF_CUSTOM_VTABLE) - $classname$::$classname$() : SuperType(_class_data_.base()) {} + $classname$::$classname$() + : SuperType($classname$_class_data_.base()) {} $classname$::$classname$(::$proto_ns$::Arena* arena) - : SuperType(arena, _class_data_.base()) {} + : SuperType(arena, $classname$_class_data_.base()) {} #else // PROTOBUF_CUSTOM_VTABLE $classname$::$classname$() : SuperType() {} $classname$::$classname$(::$proto_ns$::Arena* arena) : SuperType(arena) {} @@ -3007,7 +3013,7 @@ void MessageGenerator::GenerateConstexprConstructor(io::Printer* p) { template $constexpr$ $classname$::$classname$(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : $base$(_class_data_.base()){} + : $base$($classname$_class_data_.base()){} #else // PROTOBUF_CUSTOM_VTABLE : $base$() { } @@ -3034,7 +3040,7 @@ void MessageGenerator::GenerateConstexprConstructor(io::Printer* p) { template $constexpr$ $classname$::$classname$(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : $superclass$(_class_data_.base()), + : $superclass$($classname$_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : $superclass$(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -3302,7 +3308,7 @@ void MessageGenerator::GenerateArenaEnabledCopyConstructor(io::Printer* p) { //~ force alignment const $classname$& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : $superclass$(arena, _class_data_.base()) { + : $superclass$(arena, $classname$_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : $superclass$(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -3352,7 +3358,7 @@ void MessageGenerator::GenerateStructors(io::Printer* p) { R"cc( $classname$::$classname$(::$proto_ns$::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : $superclass$(arena, _class_data_.base()) { + : $superclass$(arena, $classname$_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : $superclass$(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -4050,33 +4056,39 @@ void MessageGenerator::GenerateClassData(io::Printer* p) { }}, }, R"cc( - PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - const $pbi$::ClassDataFull $classname$::_class_data_ = { - $pbi$::ClassData{ - $default_instance$, - &_table_.header, - $on_demand_register_arena_dtor$, - $is_initialized$, - &$classname$::MergeImpl, - $superclass$::GetNewImpl<$classname$>(), + constexpr auto $classname$::InternalGenerateClassData_() { + return $pbi$::ClassDataFull{ + $pbi$::ClassData{ + $default_instance$, + &_table_.header, + $on_demand_register_arena_dtor$, + $is_initialized$, + &$classname$::MergeImpl, + $superclass$::GetNewImpl<$classname$>(), #if defined(PROTOBUF_CUSTOM_VTABLE) - &$classname$::SharedDtor, - $custom_vtable_methods$, + &$classname$::SharedDtor, + $custom_vtable_methods$, #endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET($classname$, $cached_size$), - false, - $v2_msg_table$, - }, - &$classname$::kDescriptorMethods, - &$desc_table$, - $tracker_on_get_metadata$, - }; + PROTOBUF_FIELD_OFFSET($classname$, $cached_size$), + false, + $v2_msg_table$, + }, + &$classname$::kDescriptorMethods, + &$desc_table$, + $tracker_on_get_metadata$, + }; + } + + PROTOBUF_CONSTINIT$ dllexport_decl$ + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const $pbi$::ClassDataFull + $classname$_class_data_ = + $classname$::InternalGenerateClassData_(); + const $pbi$::ClassData* $classname$::GetClassData() const { $pin_weak_descriptor$; - $pbi$::PrefetchToLocalCache(&_class_data_); - $pbi$::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + $pbi$::PrefetchToLocalCache(&$classname$_class_data_); + $pbi$::PrefetchToLocalCache($classname$_class_data_.tc_table); + return $classname$_class_data_.base(); } )cc"); } else { @@ -4091,28 +4103,34 @@ void MessageGenerator::GenerateClassData(io::Printer* p) { }}, }, R"cc( - PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - const $pbi$::ClassDataLite<$type_size$> $classname$::_class_data_ = { - { - $default_instance$, - &_table_.header, - $on_demand_register_arena_dtor$, - $is_initialized$, - &$classname$::MergeImpl, - $superclass$::GetNewImpl<$classname$>(), + constexpr auto $classname$::InternalGenerateClassData_() { + return $pbi$::ClassDataLite<$type_size$>{ + { + $default_instance$, + &_table_.header, + $on_demand_register_arena_dtor$, + $is_initialized$, + &$classname$::MergeImpl, + $superclass$::GetNewImpl<$classname$>(), #if defined(PROTOBUF_CUSTOM_VTABLE) - &$classname$::SharedDtor, - $custom_vtable_methods$, + &$classname$::SharedDtor, + $custom_vtable_methods$, #endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET($classname$, $cached_size$), - true, - $v2_msg_table$, - }, - "$full_name$", - }; + PROTOBUF_FIELD_OFFSET($classname$, $cached_size$), + true, + $v2_msg_table$, + }, + "$full_name$", + }; + } + + PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 + const $pbi$::ClassDataLite<$type_size$> $classname$_class_data_ = + $classname$::InternalGenerateClassData_(); + const $pbi$::ClassData* $classname$::GetClassData() const { - return _class_data_.base(); + return $classname$_class_data_.base(); } )cc"); } diff --git a/src/google/protobuf/compiler/cpp/parse_function_generator.cc b/src/google/protobuf/compiler/cpp/parse_function_generator.cc index d0a1731ddf..94e12529a0 100644 --- a/src/google/protobuf/compiler/cpp/parse_function_generator.cc +++ b/src/google/protobuf/compiler/cpp/parse_function_generator.cc @@ -313,7 +313,7 @@ void ParseFunctionGenerator::GenerateTailCallTable(io::Printer* printer) { } else { format("offsetof(decltype(_table_), aux_entries),\n"); } - format("_class_data_.base(),\n"); + format("$classname$_class_data_.base(),\n"); if (NeedsPostLoopHandler(descriptor_, options_)) { printer->Emit(R"cc( &$classname$::PostLoopHandler, diff --git a/src/google/protobuf/compiler/java/java_features.pb.cc b/src/google/protobuf/compiler/java/java_features.pb.cc index 38b6628caa..0d57f65276 100644 --- a/src/google/protobuf/compiler/java/java_features.pb.cc +++ b/src/google/protobuf/compiler/java/java_features.pb.cc @@ -35,7 +35,7 @@ inline constexpr JavaFeatures::Impl_::Impl_( template PROTOBUF_CONSTEXPR JavaFeatures::JavaFeatures(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(JavaFeatures_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -158,7 +158,7 @@ class JavaFeatures::_Internal { JavaFeatures::JavaFeatures(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, JavaFeatures_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -203,32 +203,38 @@ constexpr auto JavaFeatures::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(JavaFeatures), alignof(JavaFeatures)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull JavaFeatures::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_JavaFeatures_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &JavaFeatures::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), +constexpr auto JavaFeatures::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_JavaFeatures_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &JavaFeatures::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) - &JavaFeatures::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &JavaFeatures::ByteSizeLong, - &JavaFeatures::_InternalSerialize, + &JavaFeatures::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &JavaFeatures::ByteSizeLong, + &JavaFeatures::_InternalSerialize, #endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(JavaFeatures, _impl_._cached_size_), - false, - }, - &JavaFeatures::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto, - nullptr, // tracker -}; + PROTOBUF_FIELD_OFFSET(JavaFeatures, _impl_._cached_size_), + false, + }, + &JavaFeatures::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOC_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + JavaFeatures_class_data_ = + JavaFeatures::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* JavaFeatures::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&JavaFeatures_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(JavaFeatures_class_data_.tc_table); + return JavaFeatures_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 1, 0, 2> JavaFeatures::_table_ = { @@ -242,7 +248,7 @@ const ::_pbi::TcParseTable<1, 2, 1, 0, 2> JavaFeatures::_table_ = { 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + JavaFeatures_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE diff --git a/src/google/protobuf/compiler/java/java_features.pb.h b/src/google/protobuf/compiler/java/java_features.pb.h index a06c392e0b..c1a329c21a 100644 --- a/src/google/protobuf/compiler/java/java_features.pb.h +++ b/src/google/protobuf/compiler/java/java_features.pb.h @@ -57,6 +57,7 @@ namespace pb { class JavaFeatures; struct JavaFeaturesDefaultTypeInternal; PROTOC_EXPORT extern JavaFeaturesDefaultTypeInternal _JavaFeatures_default_instance_; +PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull JavaFeatures_class_data_; } // namespace pb namespace google { namespace protobuf { @@ -239,9 +240,10 @@ class PROTOC_EXPORT JavaFeatures final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Utf8Validation = JavaFeatures_Utf8Validation; @@ -325,6 +327,8 @@ class PROTOC_EXPORT JavaFeatures final friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto; }; +PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull JavaFeatures_class_data_; + // =================================================================== diff --git a/src/google/protobuf/compiler/plugin.pb.cc b/src/google/protobuf/compiler/plugin.pb.cc index 846cc08ae7..e09089c436 100644 --- a/src/google/protobuf/compiler/plugin.pb.cc +++ b/src/google/protobuf/compiler/plugin.pb.cc @@ -41,7 +41,7 @@ inline constexpr Version::Impl_::Impl_( template PROTOBUF_CONSTEXPR Version::Version(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(Version_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -75,7 +75,7 @@ inline constexpr CodeGeneratorResponse_File::Impl_::Impl_( template PROTOBUF_CONSTEXPR CodeGeneratorResponse_File::CodeGeneratorResponse_File(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(CodeGeneratorResponse_File_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -106,7 +106,7 @@ inline constexpr CodeGeneratorResponse::Impl_::Impl_( template PROTOBUF_CONSTEXPR CodeGeneratorResponse::CodeGeneratorResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(CodeGeneratorResponse_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -137,7 +137,7 @@ inline constexpr CodeGeneratorRequest::Impl_::Impl_( template PROTOBUF_CONSTEXPR CodeGeneratorRequest::CodeGeneratorRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(CodeGeneratorRequest_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -329,7 +329,7 @@ class Version::_Internal { Version::Version(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, Version_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -347,7 +347,7 @@ Version::Version( ::google::protobuf::Arena* arena, const Version& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, Version_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -401,32 +401,38 @@ constexpr auto Version::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Version), alignof(Version)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull Version::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_Version_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &Version::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), +constexpr auto Version::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_Version_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Version::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) - &Version::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &Version::ByteSizeLong, - &Version::_InternalSerialize, + &Version::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Version::ByteSizeLong, + &Version::_InternalSerialize, #endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(Version, _impl_._cached_size_), - false, - }, - &Version::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, - nullptr, // tracker -}; + PROTOBUF_FIELD_OFFSET(Version, _impl_._cached_size_), + false, + }, + &Version::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOC_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + Version_class_data_ = + Version::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* Version::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&Version_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(Version_class_data_.tc_table); + return Version_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 4, 0, 47, 2> Version::_table_ = { @@ -440,7 +446,7 @@ const ::_pbi::TcParseTable<2, 4, 0, 47, 2> Version::_table_ = { 4, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + Version_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -672,7 +678,7 @@ void CodeGeneratorRequest::clear_source_file_descriptors() { } CodeGeneratorRequest::CodeGeneratorRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, CodeGeneratorRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -693,7 +699,7 @@ CodeGeneratorRequest::CodeGeneratorRequest( ::google::protobuf::Arena* arena, const CodeGeneratorRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, CodeGeneratorRequest_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -763,32 +769,38 @@ constexpr auto CodeGeneratorRequest::InternalNewImpl_() { alignof(CodeGeneratorRequest)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull CodeGeneratorRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_CodeGeneratorRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - CodeGeneratorRequest::IsInitializedImpl, - &CodeGeneratorRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), +constexpr auto CodeGeneratorRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_CodeGeneratorRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + CodeGeneratorRequest::IsInitializedImpl, + &CodeGeneratorRequest::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) - &CodeGeneratorRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &CodeGeneratorRequest::ByteSizeLong, - &CodeGeneratorRequest::_InternalSerialize, + &CodeGeneratorRequest::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &CodeGeneratorRequest::ByteSizeLong, + &CodeGeneratorRequest::_InternalSerialize, #endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_._cached_size_), - false, - }, - &CodeGeneratorRequest::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, - nullptr, // tracker -}; + PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_._cached_size_), + false, + }, + &CodeGeneratorRequest::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOC_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + CodeGeneratorRequest_class_data_ = + CodeGeneratorRequest::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* CodeGeneratorRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&CodeGeneratorRequest_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(CodeGeneratorRequest_class_data_.tc_table); + return CodeGeneratorRequest_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 5, 3, 79, 2> CodeGeneratorRequest::_table_ = { @@ -802,7 +814,7 @@ const ::_pbi::TcParseTable<3, 5, 3, 79, 2> CodeGeneratorRequest::_table_ = { 5, // num_field_entries 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + CodeGeneratorRequest_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -1089,7 +1101,7 @@ void CodeGeneratorResponse_File::clear_generated_code_info() { } CodeGeneratorResponse_File::CodeGeneratorResponse_File(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, CodeGeneratorResponse_File_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -1109,7 +1121,7 @@ CodeGeneratorResponse_File::CodeGeneratorResponse_File( ::google::protobuf::Arena* arena, const CodeGeneratorResponse_File& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, CodeGeneratorResponse_File_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -1160,32 +1172,38 @@ constexpr auto CodeGeneratorResponse_File::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CodeGeneratorResponse_File), alignof(CodeGeneratorResponse_File)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull CodeGeneratorResponse_File::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_CodeGeneratorResponse_File_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &CodeGeneratorResponse_File::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), +constexpr auto CodeGeneratorResponse_File::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_CodeGeneratorResponse_File_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &CodeGeneratorResponse_File::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) - &CodeGeneratorResponse_File::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &CodeGeneratorResponse_File::ByteSizeLong, - &CodeGeneratorResponse_File::_InternalSerialize, + &CodeGeneratorResponse_File::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &CodeGeneratorResponse_File::ByteSizeLong, + &CodeGeneratorResponse_File::_InternalSerialize, #endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_File, _impl_._cached_size_), - false, - }, - &CodeGeneratorResponse_File::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, - nullptr, // tracker -}; + PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_File, _impl_._cached_size_), + false, + }, + &CodeGeneratorResponse_File::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOC_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + CodeGeneratorResponse_File_class_data_ = + CodeGeneratorResponse_File::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* CodeGeneratorResponse_File::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&CodeGeneratorResponse_File_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(CodeGeneratorResponse_File_class_data_.tc_table); + return CodeGeneratorResponse_File_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 4, 1, 86, 2> CodeGeneratorResponse_File::_table_ = { @@ -1199,7 +1217,7 @@ const ::_pbi::TcParseTable<2, 4, 1, 86, 2> CodeGeneratorResponse_File::_table_ = 4, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + CodeGeneratorResponse_File_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -1438,7 +1456,7 @@ class CodeGeneratorResponse::_Internal { CodeGeneratorResponse::CodeGeneratorResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, CodeGeneratorResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -1457,7 +1475,7 @@ CodeGeneratorResponse::CodeGeneratorResponse( ::google::protobuf::Arena* arena, const CodeGeneratorResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, CodeGeneratorResponse_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -1524,32 +1542,38 @@ constexpr auto CodeGeneratorResponse::InternalNewImpl_() { alignof(CodeGeneratorResponse)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull CodeGeneratorResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_CodeGeneratorResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &CodeGeneratorResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), +constexpr auto CodeGeneratorResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_CodeGeneratorResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &CodeGeneratorResponse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) - &CodeGeneratorResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &CodeGeneratorResponse::ByteSizeLong, - &CodeGeneratorResponse::_InternalSerialize, + &CodeGeneratorResponse::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &CodeGeneratorResponse::ByteSizeLong, + &CodeGeneratorResponse::_InternalSerialize, #endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_._cached_size_), - false, - }, - &CodeGeneratorResponse::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, - nullptr, // tracker -}; + PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_._cached_size_), + false, + }, + &CodeGeneratorResponse::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOC_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + CodeGeneratorResponse_class_data_ = + CodeGeneratorResponse::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* CodeGeneratorResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&CodeGeneratorResponse_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(CodeGeneratorResponse_class_data_.tc_table); + return CodeGeneratorResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 5, 1, 60, 2> CodeGeneratorResponse::_table_ = { @@ -1563,7 +1587,7 @@ const ::_pbi::TcParseTable<3, 5, 1, 60, 2> CodeGeneratorResponse::_table_ = { 5, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + CodeGeneratorResponse_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE diff --git a/src/google/protobuf/compiler/plugin.pb.h b/src/google/protobuf/compiler/plugin.pb.h index 402b17e2b4..8390c9a880 100644 --- a/src/google/protobuf/compiler/plugin.pb.h +++ b/src/google/protobuf/compiler/plugin.pb.h @@ -65,15 +65,19 @@ namespace compiler { class CodeGeneratorRequest; struct CodeGeneratorRequestDefaultTypeInternal; PROTOC_EXPORT extern CodeGeneratorRequestDefaultTypeInternal _CodeGeneratorRequest_default_instance_; +PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull CodeGeneratorRequest_class_data_; class CodeGeneratorResponse; struct CodeGeneratorResponseDefaultTypeInternal; PROTOC_EXPORT extern CodeGeneratorResponseDefaultTypeInternal _CodeGeneratorResponse_default_instance_; +PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull CodeGeneratorResponse_class_data_; class CodeGeneratorResponse_File; struct CodeGeneratorResponse_FileDefaultTypeInternal; PROTOC_EXPORT extern CodeGeneratorResponse_FileDefaultTypeInternal _CodeGeneratorResponse_File_default_instance_; +PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull CodeGeneratorResponse_File_class_data_; class Version; struct VersionDefaultTypeInternal; PROTOC_EXPORT extern VersionDefaultTypeInternal _Version_default_instance_; +PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull Version_class_data_; } // namespace compiler } // namespace protobuf } // namespace google @@ -256,9 +260,10 @@ class PROTOC_EXPORT Version final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -353,6 +358,8 @@ class PROTOC_EXPORT Version final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto; }; + +PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull Version_class_data_; // ------------------------------------------------------------------- class PROTOC_EXPORT CodeGeneratorResponse_File final @@ -494,9 +501,10 @@ class PROTOC_EXPORT CodeGeneratorResponse_File final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -607,6 +615,8 @@ class PROTOC_EXPORT CodeGeneratorResponse_File final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto; }; + +PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull CodeGeneratorResponse_File_class_data_; // ------------------------------------------------------------------- class PROTOC_EXPORT CodeGeneratorResponse final @@ -748,9 +758,10 @@ class PROTOC_EXPORT CodeGeneratorResponse final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using File = CodeGeneratorResponse_File; @@ -885,6 +896,8 @@ class PROTOC_EXPORT CodeGeneratorResponse final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto; }; + +PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull CodeGeneratorResponse_class_data_; // ------------------------------------------------------------------- class PROTOC_EXPORT CodeGeneratorRequest final @@ -1031,9 +1044,10 @@ class PROTOC_EXPORT CodeGeneratorRequest final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1169,6 +1183,8 @@ class PROTOC_EXPORT CodeGeneratorRequest final friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto; }; +PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull CodeGeneratorRequest_class_data_; + // =================================================================== diff --git a/src/google/protobuf/cpp_features.pb.cc b/src/google/protobuf/cpp_features.pb.cc index fb75bfe8b6..aaf2dd6c66 100644 --- a/src/google/protobuf/cpp_features.pb.cc +++ b/src/google/protobuf/cpp_features.pb.cc @@ -36,7 +36,7 @@ inline constexpr CppFeatures::Impl_::Impl_( template PROTOBUF_CONSTEXPR CppFeatures::CppFeatures(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(CppFeatures_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -158,7 +158,7 @@ class CppFeatures::_Internal { CppFeatures::CppFeatures(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, CppFeatures_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -203,32 +203,38 @@ constexpr auto CppFeatures::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CppFeatures), alignof(CppFeatures)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull CppFeatures::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_CppFeatures_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &CppFeatures::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), +constexpr auto CppFeatures::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_CppFeatures_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &CppFeatures::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) - &CppFeatures::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &CppFeatures::ByteSizeLong, - &CppFeatures::_InternalSerialize, + &CppFeatures::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &CppFeatures::ByteSizeLong, + &CppFeatures::_InternalSerialize, #endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(CppFeatures, _impl_._cached_size_), - false, - }, - &CppFeatures::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fcpp_5ffeatures_2eproto, - nullptr, // tracker -}; + PROTOBUF_FIELD_OFFSET(CppFeatures, _impl_._cached_size_), + false, + }, + &CppFeatures::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fcpp_5ffeatures_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + CppFeatures_class_data_ = + CppFeatures::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* CppFeatures::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&CppFeatures_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(CppFeatures_class_data_.tc_table); + return CppFeatures_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 3, 1, 0, 2> CppFeatures::_table_ = { @@ -242,7 +248,7 @@ const ::_pbi::TcParseTable<2, 3, 1, 0, 2> CppFeatures::_table_ = { 3, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + CppFeatures_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE diff --git a/src/google/protobuf/cpp_features.pb.h b/src/google/protobuf/cpp_features.pb.h index bd86f50a71..e2ecacf02a 100644 --- a/src/google/protobuf/cpp_features.pb.h +++ b/src/google/protobuf/cpp_features.pb.h @@ -57,6 +57,7 @@ namespace pb { class CppFeatures; struct CppFeaturesDefaultTypeInternal; PROTOBUF_EXPORT extern CppFeaturesDefaultTypeInternal _CppFeatures_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull CppFeatures_class_data_; } // namespace pb namespace google { namespace protobuf { @@ -240,9 +241,10 @@ class PROTOBUF_EXPORT CppFeatures final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using StringType = CppFeatures_StringType; @@ -340,6 +342,8 @@ class PROTOBUF_EXPORT CppFeatures final friend struct ::TableStruct_google_2fprotobuf_2fcpp_5ffeatures_2eproto; }; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull CppFeatures_class_data_; + // =================================================================== diff --git a/src/google/protobuf/descriptor.pb.cc b/src/google/protobuf/descriptor.pb.cc index eacf4ba5ff..db30e9a460 100644 --- a/src/google/protobuf/descriptor.pb.cc +++ b/src/google/protobuf/descriptor.pb.cc @@ -38,7 +38,7 @@ inline constexpr UninterpretedOption_NamePart::Impl_::Impl_( template PROTOBUF_CONSTEXPR UninterpretedOption_NamePart::UninterpretedOption_NamePart(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(UninterpretedOption_NamePart_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -78,7 +78,7 @@ inline constexpr SourceCodeInfo_Location::Impl_::Impl_( template PROTOBUF_CONSTEXPR SourceCodeInfo_Location::SourceCodeInfo_Location(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(SourceCodeInfo_Location_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -115,7 +115,7 @@ inline constexpr GeneratedCodeInfo_Annotation::Impl_::Impl_( template PROTOBUF_CONSTEXPR GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GeneratedCodeInfo_Annotation_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -150,7 +150,7 @@ inline constexpr FieldOptions_FeatureSupport::Impl_::Impl_( template PROTOBUF_CONSTEXPR FieldOptions_FeatureSupport::FieldOptions_FeatureSupport(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(FieldOptions_FeatureSupport_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -183,7 +183,7 @@ inline constexpr FieldOptions_EditionDefault::Impl_::Impl_( template PROTOBUF_CONSTEXPR FieldOptions_EditionDefault::FieldOptions_EditionDefault(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(FieldOptions_EditionDefault_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -218,7 +218,7 @@ inline constexpr FeatureSet::Impl_::Impl_( template PROTOBUF_CONSTEXPR FeatureSet::FeatureSet(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(FeatureSet_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -256,7 +256,7 @@ inline constexpr ExtensionRangeOptions_Declaration::Impl_::Impl_( template PROTOBUF_CONSTEXPR ExtensionRangeOptions_Declaration::ExtensionRangeOptions_Declaration(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(ExtensionRangeOptions_Declaration_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -287,7 +287,7 @@ inline constexpr EnumDescriptorProto_EnumReservedRange::Impl_::Impl_( template PROTOBUF_CONSTEXPR EnumDescriptorProto_EnumReservedRange::EnumDescriptorProto_EnumReservedRange(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(EnumDescriptorProto_EnumReservedRange_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -318,7 +318,7 @@ inline constexpr DescriptorProto_ReservedRange::Impl_::Impl_( template PROTOBUF_CONSTEXPR DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(DescriptorProto_ReservedRange_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -360,7 +360,7 @@ inline constexpr UninterpretedOption::Impl_::Impl_( template PROTOBUF_CONSTEXPR UninterpretedOption::UninterpretedOption(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(UninterpretedOption_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -390,7 +390,7 @@ inline constexpr SourceCodeInfo::Impl_::Impl_( template PROTOBUF_CONSTEXPR SourceCodeInfo::SourceCodeInfo(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(SourceCodeInfo_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -420,7 +420,7 @@ inline constexpr GeneratedCodeInfo::Impl_::Impl_( template PROTOBUF_CONSTEXPR GeneratedCodeInfo::GeneratedCodeInfo(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(GeneratedCodeInfo_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -452,7 +452,7 @@ inline constexpr FeatureSetDefaults_FeatureSetEditionDefault::Impl_::Impl_( template PROTOBUF_CONSTEXPR FeatureSetDefaults_FeatureSetEditionDefault::FeatureSetDefaults_FeatureSetEditionDefault(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(FeatureSetDefaults_FeatureSetEditionDefault_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -484,7 +484,7 @@ inline constexpr ServiceOptions::Impl_::Impl_( template PROTOBUF_CONSTEXPR ServiceOptions::ServiceOptions(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(ServiceOptions_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -515,7 +515,7 @@ inline constexpr OneofOptions::Impl_::Impl_( template PROTOBUF_CONSTEXPR OneofOptions::OneofOptions(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(OneofOptions_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -548,7 +548,7 @@ inline constexpr MethodOptions::Impl_::Impl_( template PROTOBUF_CONSTEXPR MethodOptions::MethodOptions(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(MethodOptions_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -584,7 +584,7 @@ inline constexpr MessageOptions::Impl_::Impl_( template PROTOBUF_CONSTEXPR MessageOptions::MessageOptions(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(MessageOptions_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -654,7 +654,7 @@ inline constexpr FileOptions::Impl_::Impl_( template PROTOBUF_CONSTEXPR FileOptions::FileOptions(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(FileOptions_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -697,7 +697,7 @@ inline constexpr FieldOptions::Impl_::Impl_( template PROTOBUF_CONSTEXPR FieldOptions::FieldOptions(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(FieldOptions_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -729,7 +729,7 @@ inline constexpr FeatureSetDefaults::Impl_::Impl_( template PROTOBUF_CONSTEXPR FeatureSetDefaults::FeatureSetDefaults(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(FeatureSetDefaults_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -762,7 +762,7 @@ inline constexpr ExtensionRangeOptions::Impl_::Impl_( template PROTOBUF_CONSTEXPR ExtensionRangeOptions::ExtensionRangeOptions(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(ExtensionRangeOptions_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -796,7 +796,7 @@ inline constexpr EnumValueOptions::Impl_::Impl_( template PROTOBUF_CONSTEXPR EnumValueOptions::EnumValueOptions(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(EnumValueOptions_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -830,7 +830,7 @@ inline constexpr EnumOptions::Impl_::Impl_( template PROTOBUF_CONSTEXPR EnumOptions::EnumOptions(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(EnumOptions_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -863,7 +863,7 @@ inline constexpr OneofDescriptorProto::Impl_::Impl_( template PROTOBUF_CONSTEXPR OneofDescriptorProto::OneofDescriptorProto(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(OneofDescriptorProto_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -904,7 +904,7 @@ inline constexpr MethodDescriptorProto::Impl_::Impl_( template PROTOBUF_CONSTEXPR MethodDescriptorProto::MethodDescriptorProto(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(MethodDescriptorProto_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -954,7 +954,7 @@ inline constexpr FieldDescriptorProto::Impl_::Impl_( template PROTOBUF_CONSTEXPR FieldDescriptorProto::FieldDescriptorProto(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(FieldDescriptorProto_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -988,7 +988,7 @@ inline constexpr EnumValueDescriptorProto::Impl_::Impl_( template PROTOBUF_CONSTEXPR EnumValueDescriptorProto::EnumValueDescriptorProto(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(EnumValueDescriptorProto_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -1020,7 +1020,7 @@ inline constexpr DescriptorProto_ExtensionRange::Impl_::Impl_( template PROTOBUF_CONSTEXPR DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(DescriptorProto_ExtensionRange_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -1054,7 +1054,7 @@ inline constexpr ServiceDescriptorProto::Impl_::Impl_( template PROTOBUF_CONSTEXPR ServiceDescriptorProto::ServiceDescriptorProto(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(ServiceDescriptorProto_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -1090,7 +1090,7 @@ inline constexpr EnumDescriptorProto::Impl_::Impl_( template PROTOBUF_CONSTEXPR EnumDescriptorProto::EnumDescriptorProto(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(EnumDescriptorProto_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -1131,7 +1131,7 @@ inline constexpr DescriptorProto::Impl_::Impl_( template PROTOBUF_CONSTEXPR DescriptorProto::DescriptorProto(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(DescriptorProto_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -1179,7 +1179,7 @@ inline constexpr FileDescriptorProto::Impl_::Impl_( template PROTOBUF_CONSTEXPR FileDescriptorProto::FileDescriptorProto(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(FileDescriptorProto_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -1209,7 +1209,7 @@ inline constexpr FileDescriptorSet::Impl_::Impl_( template PROTOBUF_CONSTEXPR FileDescriptorSet::FileDescriptorSet(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), + : ::google::protobuf::Message(FileDescriptorSet_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(), #endif // PROTOBUF_CUSTOM_VTABLE @@ -2608,7 +2608,7 @@ class FileDescriptorSet::_Internal { FileDescriptorSet::FileDescriptorSet(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FileDescriptorSet_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -2625,7 +2625,7 @@ FileDescriptorSet::FileDescriptorSet( ::google::protobuf::Arena* arena, const FileDescriptorSet& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FileDescriptorSet_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -2677,32 +2677,38 @@ constexpr auto FileDescriptorSet::InternalNewImpl_() { alignof(FileDescriptorSet)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull FileDescriptorSet::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_FileDescriptorSet_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - FileDescriptorSet::IsInitializedImpl, - &FileDescriptorSet::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &FileDescriptorSet::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &FileDescriptorSet::ByteSizeLong, - &FileDescriptorSet::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(FileDescriptorSet, _impl_._cached_size_), - false, - }, - &FileDescriptorSet::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto FileDescriptorSet::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_FileDescriptorSet_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + FileDescriptorSet::IsInitializedImpl, + &FileDescriptorSet::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &FileDescriptorSet::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &FileDescriptorSet::ByteSizeLong, + &FileDescriptorSet::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(FileDescriptorSet, _impl_._cached_size_), + false, + }, + &FileDescriptorSet::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + FileDescriptorSet_class_data_ = + FileDescriptorSet::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* FileDescriptorSet::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&FileDescriptorSet_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(FileDescriptorSet_class_data_.tc_table); + return FileDescriptorSet_class_data_.base(); } constexpr ::_pbi::TcParseTable<0, 1, 1, 0, 2> FileDescriptorSet::_table_ = { { @@ -2715,7 +2721,7 @@ constexpr ::_pbi::TcParseTable<0, 1, 1, 0, 2> FileDescriptorSet::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + FileDescriptorSet_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -2860,7 +2866,7 @@ class FileDescriptorProto::_Internal { FileDescriptorProto::FileDescriptorProto(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FileDescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -2887,7 +2893,7 @@ FileDescriptorProto::FileDescriptorProto( ::google::protobuf::Arena* arena, const FileDescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FileDescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -2991,32 +2997,38 @@ constexpr auto FileDescriptorProto::InternalNewImpl_() { alignof(FileDescriptorProto)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull FileDescriptorProto::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_FileDescriptorProto_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - FileDescriptorProto::IsInitializedImpl, - &FileDescriptorProto::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &FileDescriptorProto::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &FileDescriptorProto::ByteSizeLong, - &FileDescriptorProto::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_._cached_size_), - false, - }, - &FileDescriptorProto::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto FileDescriptorProto::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_FileDescriptorProto_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + FileDescriptorProto::IsInitializedImpl, + &FileDescriptorProto::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &FileDescriptorProto::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &FileDescriptorProto::ByteSizeLong, + &FileDescriptorProto::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_._cached_size_), + false, + }, + &FileDescriptorProto::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + FileDescriptorProto_class_data_ = + FileDescriptorProto::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* FileDescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&FileDescriptorProto_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(FileDescriptorProto_class_data_.tc_table); + return FileDescriptorProto_class_data_.base(); } constexpr ::_pbi::TcParseTable<4, 13, 7, 79, 2> FileDescriptorProto::_table_ = { { @@ -3029,7 +3041,7 @@ constexpr ::_pbi::TcParseTable<4, 13, 7, 79, 2> FileDescriptorProto::_table_ = { 13, // num_field_entries 7, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + FileDescriptorProto_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -3540,7 +3552,7 @@ class DescriptorProto_ExtensionRange::_Internal { DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DescriptorProto_ExtensionRange_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -3557,7 +3569,7 @@ DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange( ::google::protobuf::Arena* arena, const DescriptorProto_ExtensionRange& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DescriptorProto_ExtensionRange_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -3614,32 +3626,38 @@ constexpr auto DescriptorProto_ExtensionRange::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DescriptorProto_ExtensionRange), alignof(DescriptorProto_ExtensionRange)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull DescriptorProto_ExtensionRange::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_DescriptorProto_ExtensionRange_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - DescriptorProto_ExtensionRange::IsInitializedImpl, - &DescriptorProto_ExtensionRange::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &DescriptorProto_ExtensionRange::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &DescriptorProto_ExtensionRange::ByteSizeLong, - &DescriptorProto_ExtensionRange::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_._cached_size_), - false, - }, - &DescriptorProto_ExtensionRange::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto DescriptorProto_ExtensionRange::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_DescriptorProto_ExtensionRange_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + DescriptorProto_ExtensionRange::IsInitializedImpl, + &DescriptorProto_ExtensionRange::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &DescriptorProto_ExtensionRange::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &DescriptorProto_ExtensionRange::ByteSizeLong, + &DescriptorProto_ExtensionRange::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_._cached_size_), + false, + }, + &DescriptorProto_ExtensionRange::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + DescriptorProto_ExtensionRange_class_data_ = + DescriptorProto_ExtensionRange::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* DescriptorProto_ExtensionRange::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&DescriptorProto_ExtensionRange_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(DescriptorProto_ExtensionRange_class_data_.tc_table); + return DescriptorProto_ExtensionRange_class_data_.base(); } constexpr ::_pbi::TcParseTable<2, 3, 1, 0, 2> DescriptorProto_ExtensionRange::_table_ = { { @@ -3652,7 +3670,7 @@ constexpr ::_pbi::TcParseTable<2, 3, 1, 0, 2> DescriptorProto_ExtensionRange::_t 3, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + DescriptorProto_ExtensionRange_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -3865,7 +3883,7 @@ class DescriptorProto_ReservedRange::_Internal { DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DescriptorProto_ReservedRange_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -3910,32 +3928,38 @@ constexpr auto DescriptorProto_ReservedRange::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DescriptorProto_ReservedRange), alignof(DescriptorProto_ReservedRange)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull DescriptorProto_ReservedRange::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_DescriptorProto_ReservedRange_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &DescriptorProto_ReservedRange::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &DescriptorProto_ReservedRange::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &DescriptorProto_ReservedRange::ByteSizeLong, - &DescriptorProto_ReservedRange::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(DescriptorProto_ReservedRange, _impl_._cached_size_), - false, - }, - &DescriptorProto_ReservedRange::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto DescriptorProto_ReservedRange::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_DescriptorProto_ReservedRange_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &DescriptorProto_ReservedRange::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &DescriptorProto_ReservedRange::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &DescriptorProto_ReservedRange::ByteSizeLong, + &DescriptorProto_ReservedRange::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(DescriptorProto_ReservedRange, _impl_._cached_size_), + false, + }, + &DescriptorProto_ReservedRange::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + DescriptorProto_ReservedRange_class_data_ = + DescriptorProto_ReservedRange::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* DescriptorProto_ReservedRange::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&DescriptorProto_ReservedRange_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(DescriptorProto_ReservedRange_class_data_.tc_table); + return DescriptorProto_ReservedRange_class_data_.base(); } constexpr ::_pbi::TcParseTable<1, 2, 0, 0, 2> DescriptorProto_ReservedRange::_table_ = { { @@ -3948,7 +3972,7 @@ constexpr ::_pbi::TcParseTable<1, 2, 0, 0, 2> DescriptorProto_ReservedRange::_ta 2, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + DescriptorProto_ReservedRange_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -4120,7 +4144,7 @@ class DescriptorProto::_Internal { DescriptorProto::DescriptorProto(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -4146,7 +4170,7 @@ DescriptorProto::DescriptorProto( ::google::protobuf::Arena* arena, const DescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, DescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -4241,32 +4265,38 @@ constexpr auto DescriptorProto::InternalNewImpl_() { alignof(DescriptorProto)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull DescriptorProto::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_DescriptorProto_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - DescriptorProto::IsInitializedImpl, - &DescriptorProto::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &DescriptorProto::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &DescriptorProto::ByteSizeLong, - &DescriptorProto::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_._cached_size_), - false, - }, - &DescriptorProto::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto DescriptorProto::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_DescriptorProto_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + DescriptorProto::IsInitializedImpl, + &DescriptorProto::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &DescriptorProto::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &DescriptorProto::ByteSizeLong, + &DescriptorProto::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_._cached_size_), + false, + }, + &DescriptorProto::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + DescriptorProto_class_data_ = + DescriptorProto::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* DescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&DescriptorProto_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(DescriptorProto_class_data_.tc_table); + return DescriptorProto_class_data_.base(); } constexpr ::_pbi::TcParseTable<4, 10, 8, 65, 2> DescriptorProto::_table_ = { { @@ -4279,7 +4309,7 @@ constexpr ::_pbi::TcParseTable<4, 10, 8, 65, 2> DescriptorProto::_table_ = { 10, // num_field_entries 8, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + DescriptorProto_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -4722,7 +4752,7 @@ class ExtensionRangeOptions_Declaration::_Internal { ExtensionRangeOptions_Declaration::ExtensionRangeOptions_Declaration(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, ExtensionRangeOptions_Declaration_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -4741,7 +4771,7 @@ ExtensionRangeOptions_Declaration::ExtensionRangeOptions_Declaration( ::google::protobuf::Arena* arena, const ExtensionRangeOptions_Declaration& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, ExtensionRangeOptions_Declaration_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -4797,32 +4827,38 @@ constexpr auto ExtensionRangeOptions_Declaration::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ExtensionRangeOptions_Declaration), alignof(ExtensionRangeOptions_Declaration)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_Declaration::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_ExtensionRangeOptions_Declaration_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &ExtensionRangeOptions_Declaration::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &ExtensionRangeOptions_Declaration::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &ExtensionRangeOptions_Declaration::ByteSizeLong, - &ExtensionRangeOptions_Declaration::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_._cached_size_), - false, - }, - &ExtensionRangeOptions_Declaration::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto ExtensionRangeOptions_Declaration::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_ExtensionRangeOptions_Declaration_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ExtensionRangeOptions_Declaration::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ExtensionRangeOptions_Declaration::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ExtensionRangeOptions_Declaration::ByteSizeLong, + &ExtensionRangeOptions_Declaration::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_._cached_size_), + false, + }, + &ExtensionRangeOptions_Declaration::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + ExtensionRangeOptions_Declaration_class_data_ = + ExtensionRangeOptions_Declaration::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* ExtensionRangeOptions_Declaration::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&ExtensionRangeOptions_Declaration_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(ExtensionRangeOptions_Declaration_class_data_.tc_table); + return ExtensionRangeOptions_Declaration_class_data_.base(); } constexpr ::_pbi::TcParseTable<3, 5, 0, 71, 2> ExtensionRangeOptions_Declaration::_table_ = { { @@ -4835,7 +4871,7 @@ constexpr ::_pbi::TcParseTable<3, 5, 0, 71, 2> ExtensionRangeOptions_Declaration 5, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + ExtensionRangeOptions_Declaration_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -5089,7 +5125,7 @@ class ExtensionRangeOptions::_Internal { ExtensionRangeOptions::ExtensionRangeOptions(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, ExtensionRangeOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -5109,7 +5145,7 @@ ExtensionRangeOptions::ExtensionRangeOptions( ::google::protobuf::Arena* arena, const ExtensionRangeOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, ExtensionRangeOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -5179,32 +5215,38 @@ constexpr auto ExtensionRangeOptions::InternalNewImpl_() { alignof(ExtensionRangeOptions)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_ExtensionRangeOptions_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - ExtensionRangeOptions::IsInitializedImpl, - &ExtensionRangeOptions::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &ExtensionRangeOptions::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &ExtensionRangeOptions::ByteSizeLong, - &ExtensionRangeOptions::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_._cached_size_), - false, - }, - &ExtensionRangeOptions::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto ExtensionRangeOptions::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_ExtensionRangeOptions_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + ExtensionRangeOptions::IsInitializedImpl, + &ExtensionRangeOptions::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ExtensionRangeOptions::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ExtensionRangeOptions::ByteSizeLong, + &ExtensionRangeOptions::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_._cached_size_), + false, + }, + &ExtensionRangeOptions::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + ExtensionRangeOptions_class_data_ = + ExtensionRangeOptions::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* ExtensionRangeOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&ExtensionRangeOptions_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(ExtensionRangeOptions_class_data_.tc_table); + return ExtensionRangeOptions_class_data_.base(); } constexpr ::_pbi::TcParseTable<3, 4, 4, 0, 12> ExtensionRangeOptions::_table_ = { { @@ -5217,7 +5259,7 @@ constexpr ::_pbi::TcParseTable<3, 4, 4, 0, 12> ExtensionRangeOptions::_table_ = 4, // num_field_entries 4, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + ExtensionRangeOptions_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -5485,7 +5527,7 @@ class FieldDescriptorProto::_Internal { FieldDescriptorProto::FieldDescriptorProto(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FieldDescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -5507,7 +5549,7 @@ FieldDescriptorProto::FieldDescriptorProto( ::google::protobuf::Arena* arena, const FieldDescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FieldDescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -5576,32 +5618,38 @@ constexpr auto FieldDescriptorProto::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(FieldDescriptorProto), alignof(FieldDescriptorProto)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull FieldDescriptorProto::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_FieldDescriptorProto_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - FieldDescriptorProto::IsInitializedImpl, - &FieldDescriptorProto::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &FieldDescriptorProto::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &FieldDescriptorProto::ByteSizeLong, - &FieldDescriptorProto::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_._cached_size_), - false, - }, - &FieldDescriptorProto::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto FieldDescriptorProto::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_FieldDescriptorProto_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + FieldDescriptorProto::IsInitializedImpl, + &FieldDescriptorProto::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &FieldDescriptorProto::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &FieldDescriptorProto::ByteSizeLong, + &FieldDescriptorProto::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_._cached_size_), + false, + }, + &FieldDescriptorProto::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + FieldDescriptorProto_class_data_ = + FieldDescriptorProto::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* FieldDescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&FieldDescriptorProto_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(FieldDescriptorProto_class_data_.tc_table); + return FieldDescriptorProto_class_data_.base(); } constexpr ::_pbi::TcParseTable<4, 11, 3, 96, 2> FieldDescriptorProto::_table_ = { { @@ -5614,7 +5662,7 @@ constexpr ::_pbi::TcParseTable<4, 11, 3, 96, 2> FieldDescriptorProto::_table_ = 11, // num_field_entries 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + FieldDescriptorProto_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -6043,7 +6091,7 @@ class OneofDescriptorProto::_Internal { OneofDescriptorProto::OneofDescriptorProto(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, OneofDescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -6061,7 +6109,7 @@ OneofDescriptorProto::OneofDescriptorProto( ::google::protobuf::Arena* arena, const OneofDescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, OneofDescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -6108,32 +6156,38 @@ constexpr auto OneofDescriptorProto::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(OneofDescriptorProto), alignof(OneofDescriptorProto)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull OneofDescriptorProto::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_OneofDescriptorProto_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - OneofDescriptorProto::IsInitializedImpl, - &OneofDescriptorProto::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &OneofDescriptorProto::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &OneofDescriptorProto::ByteSizeLong, - &OneofDescriptorProto::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(OneofDescriptorProto, _impl_._cached_size_), - false, - }, - &OneofDescriptorProto::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto OneofDescriptorProto::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_OneofDescriptorProto_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + OneofDescriptorProto::IsInitializedImpl, + &OneofDescriptorProto::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &OneofDescriptorProto::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &OneofDescriptorProto::ByteSizeLong, + &OneofDescriptorProto::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(OneofDescriptorProto, _impl_._cached_size_), + false, + }, + &OneofDescriptorProto::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + OneofDescriptorProto_class_data_ = + OneofDescriptorProto::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* OneofDescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&OneofDescriptorProto_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(OneofDescriptorProto_class_data_.tc_table); + return OneofDescriptorProto_class_data_.base(); } constexpr ::_pbi::TcParseTable<1, 2, 1, 49, 2> OneofDescriptorProto::_table_ = { { @@ -6146,7 +6200,7 @@ constexpr ::_pbi::TcParseTable<1, 2, 1, 49, 2> OneofDescriptorProto::_table_ = { 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + OneofDescriptorProto_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -6339,7 +6393,7 @@ class EnumDescriptorProto_EnumReservedRange::_Internal { EnumDescriptorProto_EnumReservedRange::EnumDescriptorProto_EnumReservedRange(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, EnumDescriptorProto_EnumReservedRange_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -6384,32 +6438,38 @@ constexpr auto EnumDescriptorProto_EnumReservedRange::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(EnumDescriptorProto_EnumReservedRange), alignof(EnumDescriptorProto_EnumReservedRange)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_EnumReservedRange::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_EnumDescriptorProto_EnumReservedRange_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &EnumDescriptorProto_EnumReservedRange::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &EnumDescriptorProto_EnumReservedRange::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &EnumDescriptorProto_EnumReservedRange::ByteSizeLong, - &EnumDescriptorProto_EnumReservedRange::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(EnumDescriptorProto_EnumReservedRange, _impl_._cached_size_), - false, - }, - &EnumDescriptorProto_EnumReservedRange::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto EnumDescriptorProto_EnumReservedRange::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_EnumDescriptorProto_EnumReservedRange_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &EnumDescriptorProto_EnumReservedRange::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &EnumDescriptorProto_EnumReservedRange::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &EnumDescriptorProto_EnumReservedRange::ByteSizeLong, + &EnumDescriptorProto_EnumReservedRange::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(EnumDescriptorProto_EnumReservedRange, _impl_._cached_size_), + false, + }, + &EnumDescriptorProto_EnumReservedRange::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + EnumDescriptorProto_EnumReservedRange_class_data_ = + EnumDescriptorProto_EnumReservedRange::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* EnumDescriptorProto_EnumReservedRange::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&EnumDescriptorProto_EnumReservedRange_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(EnumDescriptorProto_EnumReservedRange_class_data_.tc_table); + return EnumDescriptorProto_EnumReservedRange_class_data_.base(); } constexpr ::_pbi::TcParseTable<1, 2, 0, 0, 2> EnumDescriptorProto_EnumReservedRange::_table_ = { { @@ -6422,7 +6482,7 @@ constexpr ::_pbi::TcParseTable<1, 2, 0, 0, 2> EnumDescriptorProto_EnumReservedRa 2, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + EnumDescriptorProto_EnumReservedRange_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -6594,7 +6654,7 @@ class EnumDescriptorProto::_Internal { EnumDescriptorProto::EnumDescriptorProto(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, EnumDescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -6615,7 +6675,7 @@ EnumDescriptorProto::EnumDescriptorProto( ::google::protobuf::Arena* arena, const EnumDescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, EnumDescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -6685,32 +6745,38 @@ constexpr auto EnumDescriptorProto::InternalNewImpl_() { alignof(EnumDescriptorProto)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull EnumDescriptorProto::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_EnumDescriptorProto_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - EnumDescriptorProto::IsInitializedImpl, - &EnumDescriptorProto::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &EnumDescriptorProto::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &EnumDescriptorProto::ByteSizeLong, - &EnumDescriptorProto::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_._cached_size_), - false, - }, - &EnumDescriptorProto::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto EnumDescriptorProto::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_EnumDescriptorProto_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + EnumDescriptorProto::IsInitializedImpl, + &EnumDescriptorProto::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &EnumDescriptorProto::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &EnumDescriptorProto::ByteSizeLong, + &EnumDescriptorProto::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_._cached_size_), + false, + }, + &EnumDescriptorProto::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + EnumDescriptorProto_class_data_ = + EnumDescriptorProto::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* EnumDescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&EnumDescriptorProto_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(EnumDescriptorProto_class_data_.tc_table); + return EnumDescriptorProto_class_data_.base(); } constexpr ::_pbi::TcParseTable<3, 5, 3, 61, 2> EnumDescriptorProto::_table_ = { { @@ -6723,7 +6789,7 @@ constexpr ::_pbi::TcParseTable<3, 5, 3, 61, 2> EnumDescriptorProto::_table_ = { 5, // num_field_entries 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + EnumDescriptorProto_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -7008,7 +7074,7 @@ class EnumValueDescriptorProto::_Internal { EnumValueDescriptorProto::EnumValueDescriptorProto(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, EnumValueDescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -7026,7 +7092,7 @@ EnumValueDescriptorProto::EnumValueDescriptorProto( ::google::protobuf::Arena* arena, const EnumValueDescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, EnumValueDescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -7079,32 +7145,38 @@ constexpr auto EnumValueDescriptorProto::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(EnumValueDescriptorProto), alignof(EnumValueDescriptorProto)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull EnumValueDescriptorProto::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_EnumValueDescriptorProto_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - EnumValueDescriptorProto::IsInitializedImpl, - &EnumValueDescriptorProto::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &EnumValueDescriptorProto::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &EnumValueDescriptorProto::ByteSizeLong, - &EnumValueDescriptorProto::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_._cached_size_), - false, - }, - &EnumValueDescriptorProto::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto EnumValueDescriptorProto::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_EnumValueDescriptorProto_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + EnumValueDescriptorProto::IsInitializedImpl, + &EnumValueDescriptorProto::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &EnumValueDescriptorProto::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &EnumValueDescriptorProto::ByteSizeLong, + &EnumValueDescriptorProto::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_._cached_size_), + false, + }, + &EnumValueDescriptorProto::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + EnumValueDescriptorProto_class_data_ = + EnumValueDescriptorProto::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* EnumValueDescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&EnumValueDescriptorProto_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(EnumValueDescriptorProto_class_data_.tc_table); + return EnumValueDescriptorProto_class_data_.base(); } constexpr ::_pbi::TcParseTable<2, 3, 1, 53, 2> EnumValueDescriptorProto::_table_ = { { @@ -7117,7 +7189,7 @@ constexpr ::_pbi::TcParseTable<2, 3, 1, 53, 2> EnumValueDescriptorProto::_table_ 3, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + EnumValueDescriptorProto_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -7338,7 +7410,7 @@ class ServiceDescriptorProto::_Internal { ServiceDescriptorProto::ServiceDescriptorProto(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, ServiceDescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -7357,7 +7429,7 @@ ServiceDescriptorProto::ServiceDescriptorProto( ::google::protobuf::Arena* arena, const ServiceDescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, ServiceDescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -7417,32 +7489,38 @@ constexpr auto ServiceDescriptorProto::InternalNewImpl_() { alignof(ServiceDescriptorProto)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull ServiceDescriptorProto::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_ServiceDescriptorProto_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - ServiceDescriptorProto::IsInitializedImpl, - &ServiceDescriptorProto::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &ServiceDescriptorProto::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &ServiceDescriptorProto::ByteSizeLong, - &ServiceDescriptorProto::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(ServiceDescriptorProto, _impl_._cached_size_), - false, - }, - &ServiceDescriptorProto::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto ServiceDescriptorProto::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_ServiceDescriptorProto_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + ServiceDescriptorProto::IsInitializedImpl, + &ServiceDescriptorProto::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ServiceDescriptorProto::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ServiceDescriptorProto::ByteSizeLong, + &ServiceDescriptorProto::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ServiceDescriptorProto, _impl_._cached_size_), + false, + }, + &ServiceDescriptorProto::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + ServiceDescriptorProto_class_data_ = + ServiceDescriptorProto::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* ServiceDescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&ServiceDescriptorProto_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(ServiceDescriptorProto_class_data_.tc_table); + return ServiceDescriptorProto_class_data_.base(); } constexpr ::_pbi::TcParseTable<2, 3, 2, 51, 2> ServiceDescriptorProto::_table_ = { { @@ -7455,7 +7533,7 @@ constexpr ::_pbi::TcParseTable<2, 3, 2, 51, 2> ServiceDescriptorProto::_table_ = 3, // num_field_entries 2, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + ServiceDescriptorProto_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -7682,7 +7760,7 @@ class MethodDescriptorProto::_Internal { MethodDescriptorProto::MethodDescriptorProto(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, MethodDescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -7702,7 +7780,7 @@ MethodDescriptorProto::MethodDescriptorProto( ::google::protobuf::Arena* arena, const MethodDescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, MethodDescriptorProto_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -7765,32 +7843,38 @@ constexpr auto MethodDescriptorProto::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MethodDescriptorProto), alignof(MethodDescriptorProto)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull MethodDescriptorProto::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_MethodDescriptorProto_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - MethodDescriptorProto::IsInitializedImpl, - &MethodDescriptorProto::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &MethodDescriptorProto::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &MethodDescriptorProto::ByteSizeLong, - &MethodDescriptorProto::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_._cached_size_), - false, - }, - &MethodDescriptorProto::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto MethodDescriptorProto::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_MethodDescriptorProto_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + MethodDescriptorProto::IsInitializedImpl, + &MethodDescriptorProto::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MethodDescriptorProto::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &MethodDescriptorProto::ByteSizeLong, + &MethodDescriptorProto::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_._cached_size_), + false, + }, + &MethodDescriptorProto::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + MethodDescriptorProto_class_data_ = + MethodDescriptorProto::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* MethodDescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&MethodDescriptorProto_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(MethodDescriptorProto_class_data_.tc_table); + return MethodDescriptorProto_class_data_.base(); } constexpr ::_pbi::TcParseTable<3, 6, 1, 71, 2> MethodDescriptorProto::_table_ = { { @@ -7803,7 +7887,7 @@ constexpr ::_pbi::TcParseTable<3, 6, 1, 71, 2> MethodDescriptorProto::_table_ = 6, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + MethodDescriptorProto_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -8100,7 +8184,7 @@ class FileOptions::_Internal { FileOptions::FileOptions(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FileOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -8129,7 +8213,7 @@ FileOptions::FileOptions( ::google::protobuf::Arena* arena, const FileOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FileOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -8226,32 +8310,38 @@ constexpr auto FileOptions::InternalNewImpl_() { alignof(FileOptions)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull FileOptions::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_FileOptions_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - FileOptions::IsInitializedImpl, - &FileOptions::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &FileOptions::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &FileOptions::ByteSizeLong, - &FileOptions::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(FileOptions, _impl_._cached_size_), - false, - }, - &FileOptions::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto FileOptions::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_FileOptions_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + FileOptions::IsInitializedImpl, + &FileOptions::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &FileOptions::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &FileOptions::ByteSizeLong, + &FileOptions::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(FileOptions, _impl_._cached_size_), + false, + }, + &FileOptions::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + FileOptions_class_data_ = + FileOptions::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* FileOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&FileOptions_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(FileOptions_class_data_.tc_table); + return FileOptions_class_data_.base(); } constexpr ::_pbi::TcParseTable<5, 21, 3, 202, 12> FileOptions::_table_ = { { @@ -8264,7 +8354,7 @@ constexpr ::_pbi::TcParseTable<5, 21, 3, 202, 12> FileOptions::_table_ = { 21, // num_field_entries 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + FileOptions_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -8959,7 +9049,7 @@ class MessageOptions::_Internal { MessageOptions::MessageOptions(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, MessageOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -8978,7 +9068,7 @@ MessageOptions::MessageOptions( ::google::protobuf::Arena* arena, const MessageOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, MessageOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -9053,32 +9143,38 @@ constexpr auto MessageOptions::InternalNewImpl_() { alignof(MessageOptions)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull MessageOptions::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_MessageOptions_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - MessageOptions::IsInitializedImpl, - &MessageOptions::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &MessageOptions::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &MessageOptions::ByteSizeLong, - &MessageOptions::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_._cached_size_), - false, - }, - &MessageOptions::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto MessageOptions::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_MessageOptions_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + MessageOptions::IsInitializedImpl, + &MessageOptions::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MessageOptions::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &MessageOptions::ByteSizeLong, + &MessageOptions::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_._cached_size_), + false, + }, + &MessageOptions::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + MessageOptions_class_data_ = + MessageOptions::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* MessageOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&MessageOptions_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(MessageOptions_class_data_.tc_table); + return MessageOptions_class_data_.base(); } constexpr ::_pbi::TcParseTable<3, 7, 2, 0, 7> MessageOptions::_table_ = { { @@ -9091,7 +9187,7 @@ constexpr ::_pbi::TcParseTable<3, 7, 2, 0, 7> MessageOptions::_table_ = { 7, // num_field_entries 2, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + MessageOptions_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -9404,7 +9500,7 @@ class FieldOptions_EditionDefault::_Internal { FieldOptions_EditionDefault::FieldOptions_EditionDefault(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FieldOptions_EditionDefault_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -9422,7 +9518,7 @@ FieldOptions_EditionDefault::FieldOptions_EditionDefault( ::google::protobuf::Arena* arena, const FieldOptions_EditionDefault& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FieldOptions_EditionDefault_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -9465,32 +9561,38 @@ constexpr auto FieldOptions_EditionDefault::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(FieldOptions_EditionDefault), alignof(FieldOptions_EditionDefault)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull FieldOptions_EditionDefault::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_FieldOptions_EditionDefault_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &FieldOptions_EditionDefault::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &FieldOptions_EditionDefault::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &FieldOptions_EditionDefault::ByteSizeLong, - &FieldOptions_EditionDefault::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(FieldOptions_EditionDefault, _impl_._cached_size_), - false, - }, - &FieldOptions_EditionDefault::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto FieldOptions_EditionDefault::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_FieldOptions_EditionDefault_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &FieldOptions_EditionDefault::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &FieldOptions_EditionDefault::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &FieldOptions_EditionDefault::ByteSizeLong, + &FieldOptions_EditionDefault::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(FieldOptions_EditionDefault, _impl_._cached_size_), + false, + }, + &FieldOptions_EditionDefault::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + FieldOptions_EditionDefault_class_data_ = + FieldOptions_EditionDefault::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* FieldOptions_EditionDefault::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&FieldOptions_EditionDefault_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(FieldOptions_EditionDefault_class_data_.tc_table); + return FieldOptions_EditionDefault_class_data_.base(); } constexpr ::_pbi::TcParseTable<1, 2, 1, 57, 2> FieldOptions_EditionDefault::_table_ = { { @@ -9503,7 +9605,7 @@ constexpr ::_pbi::TcParseTable<1, 2, 1, 57, 2> FieldOptions_EditionDefault::_tab 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + FieldOptions_EditionDefault_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -9676,7 +9778,7 @@ class FieldOptions_FeatureSupport::_Internal { FieldOptions_FeatureSupport::FieldOptions_FeatureSupport(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FieldOptions_FeatureSupport_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -9694,7 +9796,7 @@ FieldOptions_FeatureSupport::FieldOptions_FeatureSupport( ::google::protobuf::Arena* arena, const FieldOptions_FeatureSupport& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FieldOptions_FeatureSupport_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -9748,32 +9850,38 @@ constexpr auto FieldOptions_FeatureSupport::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(FieldOptions_FeatureSupport), alignof(FieldOptions_FeatureSupport)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull FieldOptions_FeatureSupport::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_FieldOptions_FeatureSupport_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &FieldOptions_FeatureSupport::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &FieldOptions_FeatureSupport::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &FieldOptions_FeatureSupport::ByteSizeLong, - &FieldOptions_FeatureSupport::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_._cached_size_), - false, - }, - &FieldOptions_FeatureSupport::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto FieldOptions_FeatureSupport::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_FieldOptions_FeatureSupport_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &FieldOptions_FeatureSupport::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &FieldOptions_FeatureSupport::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &FieldOptions_FeatureSupport::ByteSizeLong, + &FieldOptions_FeatureSupport::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_._cached_size_), + false, + }, + &FieldOptions_FeatureSupport::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + FieldOptions_FeatureSupport_class_data_ = + FieldOptions_FeatureSupport::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* FieldOptions_FeatureSupport::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&FieldOptions_FeatureSupport_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(FieldOptions_FeatureSupport_class_data_.tc_table); + return FieldOptions_FeatureSupport_class_data_.base(); } constexpr ::_pbi::TcParseTable<2, 4, 3, 71, 2> FieldOptions_FeatureSupport::_table_ = { { @@ -9786,7 +9894,7 @@ constexpr ::_pbi::TcParseTable<2, 4, 3, 71, 2> FieldOptions_FeatureSupport::_tab 4, // num_field_entries 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + FieldOptions_FeatureSupport_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -10012,7 +10120,7 @@ class FieldOptions::_Internal { FieldOptions::FieldOptions(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FieldOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -10033,7 +10141,7 @@ FieldOptions::FieldOptions( ::google::protobuf::Arena* arena, const FieldOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FieldOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -10122,32 +10230,38 @@ constexpr auto FieldOptions::InternalNewImpl_() { alignof(FieldOptions)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull FieldOptions::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_FieldOptions_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - FieldOptions::IsInitializedImpl, - &FieldOptions::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &FieldOptions::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &FieldOptions::ByteSizeLong, - &FieldOptions::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_._cached_size_), - false, - }, - &FieldOptions::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto FieldOptions::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_FieldOptions_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + FieldOptions::IsInitializedImpl, + &FieldOptions::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &FieldOptions::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &FieldOptions::ByteSizeLong, + &FieldOptions::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_._cached_size_), + false, + }, + &FieldOptions::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + FieldOptions_class_data_ = + FieldOptions::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* FieldOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&FieldOptions_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(FieldOptions_class_data_.tc_table); + return FieldOptions_class_data_.base(); } constexpr ::_pbi::TcParseTable<4, 14, 8, 0, 7> FieldOptions::_table_ = { { @@ -10160,7 +10274,7 @@ constexpr ::_pbi::TcParseTable<4, 14, 8, 0, 7> FieldOptions::_table_ = { 14, // num_field_entries 8, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + FieldOptions_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -10654,7 +10768,7 @@ class OneofOptions::_Internal { OneofOptions::OneofOptions(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, OneofOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -10673,7 +10787,7 @@ OneofOptions::OneofOptions( ::google::protobuf::Arena* arena, const OneofOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, OneofOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -10736,32 +10850,38 @@ constexpr auto OneofOptions::InternalNewImpl_() { alignof(OneofOptions)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull OneofOptions::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_OneofOptions_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - OneofOptions::IsInitializedImpl, - &OneofOptions::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &OneofOptions::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &OneofOptions::ByteSizeLong, - &OneofOptions::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(OneofOptions, _impl_._cached_size_), - false, - }, - &OneofOptions::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto OneofOptions::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_OneofOptions_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + OneofOptions::IsInitializedImpl, + &OneofOptions::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &OneofOptions::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &OneofOptions::ByteSizeLong, + &OneofOptions::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(OneofOptions, _impl_._cached_size_), + false, + }, + &OneofOptions::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + OneofOptions_class_data_ = + OneofOptions::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* OneofOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&OneofOptions_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(OneofOptions_class_data_.tc_table); + return OneofOptions_class_data_.base(); } constexpr ::_pbi::TcParseTable<2, 2, 2, 0, 7> OneofOptions::_table_ = { { @@ -10774,7 +10894,7 @@ constexpr ::_pbi::TcParseTable<2, 2, 2, 0, 7> OneofOptions::_table_ = { 2, // num_field_entries 2, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + OneofOptions_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -10980,7 +11100,7 @@ class EnumOptions::_Internal { EnumOptions::EnumOptions(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, EnumOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -10999,7 +11119,7 @@ EnumOptions::EnumOptions( ::google::protobuf::Arena* arena, const EnumOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, EnumOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -11074,32 +11194,38 @@ constexpr auto EnumOptions::InternalNewImpl_() { alignof(EnumOptions)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull EnumOptions::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_EnumOptions_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - EnumOptions::IsInitializedImpl, - &EnumOptions::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &EnumOptions::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &EnumOptions::ByteSizeLong, - &EnumOptions::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_._cached_size_), - false, - }, - &EnumOptions::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto EnumOptions::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_EnumOptions_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + EnumOptions::IsInitializedImpl, + &EnumOptions::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &EnumOptions::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &EnumOptions::ByteSizeLong, + &EnumOptions::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_._cached_size_), + false, + }, + &EnumOptions::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + EnumOptions_class_data_ = + EnumOptions::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* EnumOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&EnumOptions_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(EnumOptions_class_data_.tc_table); + return EnumOptions_class_data_.base(); } constexpr ::_pbi::TcParseTable<3, 5, 2, 0, 7> EnumOptions::_table_ = { { @@ -11112,7 +11238,7 @@ constexpr ::_pbi::TcParseTable<3, 5, 2, 0, 7> EnumOptions::_table_ = { 5, // num_field_entries 2, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + EnumOptions_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -11387,7 +11513,7 @@ class EnumValueOptions::_Internal { EnumValueOptions::EnumValueOptions(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, EnumValueOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -11406,7 +11532,7 @@ EnumValueOptions::EnumValueOptions( ::google::protobuf::Arena* arena, const EnumValueOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, EnumValueOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -11485,32 +11611,38 @@ constexpr auto EnumValueOptions::InternalNewImpl_() { alignof(EnumValueOptions)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull EnumValueOptions::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_EnumValueOptions_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - EnumValueOptions::IsInitializedImpl, - &EnumValueOptions::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &EnumValueOptions::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &EnumValueOptions::ByteSizeLong, - &EnumValueOptions::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_._cached_size_), - false, - }, - &EnumValueOptions::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto EnumValueOptions::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_EnumValueOptions_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + EnumValueOptions::IsInitializedImpl, + &EnumValueOptions::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &EnumValueOptions::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &EnumValueOptions::ByteSizeLong, + &EnumValueOptions::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_._cached_size_), + false, + }, + &EnumValueOptions::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + EnumValueOptions_class_data_ = + EnumValueOptions::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* EnumValueOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&EnumValueOptions_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(EnumValueOptions_class_data_.tc_table); + return EnumValueOptions_class_data_.base(); } constexpr ::_pbi::TcParseTable<3, 5, 3, 0, 7> EnumValueOptions::_table_ = { { @@ -11523,7 +11655,7 @@ constexpr ::_pbi::TcParseTable<3, 5, 3, 0, 7> EnumValueOptions::_table_ = { 5, // num_field_entries 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + EnumValueOptions_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -11814,7 +11946,7 @@ class ServiceOptions::_Internal { ServiceOptions::ServiceOptions(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, ServiceOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -11833,7 +11965,7 @@ ServiceOptions::ServiceOptions( ::google::protobuf::Arena* arena, const ServiceOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, ServiceOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -11902,32 +12034,38 @@ constexpr auto ServiceOptions::InternalNewImpl_() { alignof(ServiceOptions)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull ServiceOptions::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_ServiceOptions_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - ServiceOptions::IsInitializedImpl, - &ServiceOptions::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &ServiceOptions::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &ServiceOptions::ByteSizeLong, - &ServiceOptions::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_._cached_size_), - false, - }, - &ServiceOptions::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto ServiceOptions::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_ServiceOptions_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + ServiceOptions::IsInitializedImpl, + &ServiceOptions::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ServiceOptions::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ServiceOptions::ByteSizeLong, + &ServiceOptions::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_._cached_size_), + false, + }, + &ServiceOptions::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + ServiceOptions_class_data_ = + ServiceOptions::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* ServiceOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&ServiceOptions_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(ServiceOptions_class_data_.tc_table); + return ServiceOptions_class_data_.base(); } constexpr ::_pbi::TcParseTable<2, 3, 2, 0, 12> ServiceOptions::_table_ = { { @@ -11940,7 +12078,7 @@ constexpr ::_pbi::TcParseTable<2, 3, 2, 0, 12> ServiceOptions::_table_ = { 3, // num_field_entries 2, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + ServiceOptions_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -12174,7 +12312,7 @@ class MethodOptions::_Internal { MethodOptions::MethodOptions(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, MethodOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -12193,7 +12331,7 @@ MethodOptions::MethodOptions( ::google::protobuf::Arena* arena, const MethodOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, MethodOptions_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -12268,32 +12406,38 @@ constexpr auto MethodOptions::InternalNewImpl_() { alignof(MethodOptions)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull MethodOptions::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_MethodOptions_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - MethodOptions::IsInitializedImpl, - &MethodOptions::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &MethodOptions::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &MethodOptions::ByteSizeLong, - &MethodOptions::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_._cached_size_), - false, - }, - &MethodOptions::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto MethodOptions::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_MethodOptions_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + MethodOptions::IsInitializedImpl, + &MethodOptions::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MethodOptions::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &MethodOptions::ByteSizeLong, + &MethodOptions::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_._cached_size_), + false, + }, + &MethodOptions::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + MethodOptions_class_data_ = + MethodOptions::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* MethodOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&MethodOptions_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(MethodOptions_class_data_.tc_table); + return MethodOptions_class_data_.base(); } constexpr ::_pbi::TcParseTable<3, 4, 3, 0, 12> MethodOptions::_table_ = { { @@ -12306,7 +12450,7 @@ constexpr ::_pbi::TcParseTable<3, 4, 3, 0, 12> MethodOptions::_table_ = { 4, // num_field_entries 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + MethodOptions_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -12572,7 +12716,7 @@ class UninterpretedOption_NamePart::_Internal { UninterpretedOption_NamePart::UninterpretedOption_NamePart(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, UninterpretedOption_NamePart_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -12590,7 +12734,7 @@ UninterpretedOption_NamePart::UninterpretedOption_NamePart( ::google::protobuf::Arena* arena, const UninterpretedOption_NamePart& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, UninterpretedOption_NamePart_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -12633,32 +12777,38 @@ constexpr auto UninterpretedOption_NamePart::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(UninterpretedOption_NamePart), alignof(UninterpretedOption_NamePart)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull UninterpretedOption_NamePart::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_UninterpretedOption_NamePart_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - UninterpretedOption_NamePart::IsInitializedImpl, - &UninterpretedOption_NamePart::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &UninterpretedOption_NamePart::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &UninterpretedOption_NamePart::ByteSizeLong, - &UninterpretedOption_NamePart::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(UninterpretedOption_NamePart, _impl_._cached_size_), - false, - }, - &UninterpretedOption_NamePart::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto UninterpretedOption_NamePart::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_UninterpretedOption_NamePart_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + UninterpretedOption_NamePart::IsInitializedImpl, + &UninterpretedOption_NamePart::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &UninterpretedOption_NamePart::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &UninterpretedOption_NamePart::ByteSizeLong, + &UninterpretedOption_NamePart::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(UninterpretedOption_NamePart, _impl_._cached_size_), + false, + }, + &UninterpretedOption_NamePart::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + UninterpretedOption_NamePart_class_data_ = + UninterpretedOption_NamePart::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* UninterpretedOption_NamePart::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&UninterpretedOption_NamePart_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(UninterpretedOption_NamePart_class_data_.tc_table); + return UninterpretedOption_NamePart_class_data_.base(); } constexpr ::_pbi::TcParseTable<1, 2, 0, 62, 2> UninterpretedOption_NamePart::_table_ = { { @@ -12671,7 +12821,7 @@ constexpr ::_pbi::TcParseTable<1, 2, 0, 62, 2> UninterpretedOption_NamePart::_ta 2, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + UninterpretedOption_NamePart_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -12851,7 +13001,7 @@ class UninterpretedOption::_Internal { UninterpretedOption::UninterpretedOption(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, UninterpretedOption_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -12872,7 +13022,7 @@ UninterpretedOption::UninterpretedOption( ::google::protobuf::Arena* arena, const UninterpretedOption& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, UninterpretedOption_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -12943,32 +13093,38 @@ constexpr auto UninterpretedOption::InternalNewImpl_() { alignof(UninterpretedOption)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull UninterpretedOption::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_UninterpretedOption_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - UninterpretedOption::IsInitializedImpl, - &UninterpretedOption::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &UninterpretedOption::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &UninterpretedOption::ByteSizeLong, - &UninterpretedOption::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_._cached_size_), - false, - }, - &UninterpretedOption::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto UninterpretedOption::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_UninterpretedOption_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + UninterpretedOption::IsInitializedImpl, + &UninterpretedOption::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &UninterpretedOption::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &UninterpretedOption::ByteSizeLong, + &UninterpretedOption::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_._cached_size_), + false, + }, + &UninterpretedOption::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + UninterpretedOption_class_data_ = + UninterpretedOption::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* UninterpretedOption::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&UninterpretedOption_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(UninterpretedOption_class_data_.tc_table); + return UninterpretedOption_class_data_.base(); } constexpr ::_pbi::TcParseTable<3, 7, 1, 75, 2> UninterpretedOption::_table_ = { { @@ -12981,7 +13137,7 @@ constexpr ::_pbi::TcParseTable<3, 7, 1, 75, 2> UninterpretedOption::_table_ = { 7, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + UninterpretedOption_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -13295,7 +13451,7 @@ class FeatureSet::_Internal { FeatureSet::FeatureSet(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FeatureSet_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -13313,7 +13469,7 @@ FeatureSet::FeatureSet( ::google::protobuf::Arena* arena, const FeatureSet& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FeatureSet_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -13378,32 +13534,38 @@ constexpr auto FeatureSet::InternalNewImpl_() { alignof(FeatureSet)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull FeatureSet::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_FeatureSet_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - FeatureSet::IsInitializedImpl, - &FeatureSet::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &FeatureSet::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &FeatureSet::ByteSizeLong, - &FeatureSet::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_._cached_size_), - false, - }, - &FeatureSet::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto FeatureSet::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_FeatureSet_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + FeatureSet::IsInitializedImpl, + &FeatureSet::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &FeatureSet::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &FeatureSet::ByteSizeLong, + &FeatureSet::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_._cached_size_), + false, + }, + &FeatureSet::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + FeatureSet_class_data_ = + FeatureSet::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* FeatureSet::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSet_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(FeatureSet_class_data_.tc_table); + return FeatureSet_class_data_.base(); } constexpr ::_pbi::TcParseTable<3, 6, 6, 0, 2> FeatureSet::_table_ = { { @@ -13416,7 +13578,7 @@ constexpr ::_pbi::TcParseTable<3, 6, 6, 0, 2> FeatureSet::_table_ = { 6, // num_field_entries 6, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + FeatureSet_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -13695,7 +13857,7 @@ class FeatureSetDefaults_FeatureSetEditionDefault::_Internal { FeatureSetDefaults_FeatureSetEditionDefault::FeatureSetDefaults_FeatureSetEditionDefault(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FeatureSetDefaults_FeatureSetEditionDefault_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -13712,7 +13874,7 @@ FeatureSetDefaults_FeatureSetEditionDefault::FeatureSetDefaults_FeatureSetEditio ::google::protobuf::Arena* arena, const FeatureSetDefaults_FeatureSetEditionDefault& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FeatureSetDefaults_FeatureSetEditionDefault_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -13767,32 +13929,38 @@ constexpr auto FeatureSetDefaults_FeatureSetEditionDefault::InternalNewImpl_() { return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FeatureSetDefaults_FeatureSetEditionDefault), alignof(FeatureSetDefaults_FeatureSetEditionDefault)); } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_FeatureSetEditionDefault::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_FeatureSetDefaults_FeatureSetEditionDefault_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - FeatureSetDefaults_FeatureSetEditionDefault::IsInitializedImpl, - &FeatureSetDefaults_FeatureSetEditionDefault::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &FeatureSetDefaults_FeatureSetEditionDefault::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &FeatureSetDefaults_FeatureSetEditionDefault::ByteSizeLong, - &FeatureSetDefaults_FeatureSetEditionDefault::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefault, _impl_._cached_size_), - false, - }, - &FeatureSetDefaults_FeatureSetEditionDefault::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto FeatureSetDefaults_FeatureSetEditionDefault::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_FeatureSetDefaults_FeatureSetEditionDefault_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + FeatureSetDefaults_FeatureSetEditionDefault::IsInitializedImpl, + &FeatureSetDefaults_FeatureSetEditionDefault::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &FeatureSetDefaults_FeatureSetEditionDefault::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &FeatureSetDefaults_FeatureSetEditionDefault::ByteSizeLong, + &FeatureSetDefaults_FeatureSetEditionDefault::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefault, _impl_._cached_size_), + false, + }, + &FeatureSetDefaults_FeatureSetEditionDefault::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + FeatureSetDefaults_FeatureSetEditionDefault_class_data_ = + FeatureSetDefaults_FeatureSetEditionDefault::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* FeatureSetDefaults_FeatureSetEditionDefault::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSetDefaults_FeatureSetEditionDefault_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(FeatureSetDefaults_FeatureSetEditionDefault_class_data_.tc_table); + return FeatureSetDefaults_FeatureSetEditionDefault_class_data_.base(); } constexpr ::_pbi::TcParseTable<2, 3, 3, 0, 2> FeatureSetDefaults_FeatureSetEditionDefault::_table_ = { { @@ -13805,7 +13973,7 @@ constexpr ::_pbi::TcParseTable<2, 3, 3, 0, 2> FeatureSetDefaults_FeatureSetEditi 3, // num_field_entries 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + FeatureSetDefaults_FeatureSetEditionDefault_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -14031,7 +14199,7 @@ class FeatureSetDefaults::_Internal { FeatureSetDefaults::FeatureSetDefaults(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FeatureSetDefaults_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -14049,7 +14217,7 @@ FeatureSetDefaults::FeatureSetDefaults( ::google::protobuf::Arena* arena, const FeatureSetDefaults& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, FeatureSetDefaults_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -14114,32 +14282,38 @@ constexpr auto FeatureSetDefaults::InternalNewImpl_() { alignof(FeatureSetDefaults)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull FeatureSetDefaults::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_FeatureSetDefaults_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - FeatureSetDefaults::IsInitializedImpl, - &FeatureSetDefaults::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &FeatureSetDefaults::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &FeatureSetDefaults::ByteSizeLong, - &FeatureSetDefaults::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(FeatureSetDefaults, _impl_._cached_size_), - false, - }, - &FeatureSetDefaults::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto FeatureSetDefaults::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_FeatureSetDefaults_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + FeatureSetDefaults::IsInitializedImpl, + &FeatureSetDefaults::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &FeatureSetDefaults::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &FeatureSetDefaults::ByteSizeLong, + &FeatureSetDefaults::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(FeatureSetDefaults, _impl_._cached_size_), + false, + }, + &FeatureSetDefaults::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + FeatureSetDefaults_class_data_ = + FeatureSetDefaults::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* FeatureSetDefaults::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSetDefaults_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(FeatureSetDefaults_class_data_.tc_table); + return FeatureSetDefaults_class_data_.base(); } constexpr ::_pbi::TcParseTable<1, 3, 3, 0, 2> FeatureSetDefaults::_table_ = { { @@ -14152,7 +14326,7 @@ constexpr ::_pbi::TcParseTable<1, 3, 3, 0, 2> FeatureSetDefaults::_table_ = { 3, // num_field_entries 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + FeatureSetDefaults_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -14360,7 +14534,7 @@ class SourceCodeInfo_Location::_Internal { SourceCodeInfo_Location::SourceCodeInfo_Location(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SourceCodeInfo_Location_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -14384,7 +14558,7 @@ SourceCodeInfo_Location::SourceCodeInfo_Location( ::google::protobuf::Arena* arena, const SourceCodeInfo_Location& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SourceCodeInfo_Location_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -14452,32 +14626,38 @@ constexpr auto SourceCodeInfo_Location::InternalNewImpl_() { alignof(SourceCodeInfo_Location)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SourceCodeInfo_Location::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SourceCodeInfo_Location_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SourceCodeInfo_Location::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SourceCodeInfo_Location::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &SourceCodeInfo_Location::ByteSizeLong, - &SourceCodeInfo_Location::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_._cached_size_), - false, - }, - &SourceCodeInfo_Location::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto SourceCodeInfo_Location::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_SourceCodeInfo_Location_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SourceCodeInfo_Location::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SourceCodeInfo_Location::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &SourceCodeInfo_Location::ByteSizeLong, + &SourceCodeInfo_Location::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_._cached_size_), + false, + }, + &SourceCodeInfo_Location::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + SourceCodeInfo_Location_class_data_ = + SourceCodeInfo_Location::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* SourceCodeInfo_Location::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&SourceCodeInfo_Location_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SourceCodeInfo_Location_class_data_.tc_table); + return SourceCodeInfo_Location_class_data_.base(); } constexpr ::_pbi::TcParseTable<3, 5, 0, 106, 2> SourceCodeInfo_Location::_table_ = { { @@ -14490,7 +14670,7 @@ constexpr ::_pbi::TcParseTable<3, 5, 0, 106, 2> SourceCodeInfo_Location::_table_ 5, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), + SourceCodeInfo_Location_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -14747,7 +14927,7 @@ class SourceCodeInfo::_Internal { SourceCodeInfo::SourceCodeInfo(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SourceCodeInfo_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -14764,7 +14944,7 @@ SourceCodeInfo::SourceCodeInfo( ::google::protobuf::Arena* arena, const SourceCodeInfo& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, SourceCodeInfo_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -14816,32 +14996,38 @@ constexpr auto SourceCodeInfo::InternalNewImpl_() { alignof(SourceCodeInfo)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SourceCodeInfo::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SourceCodeInfo_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SourceCodeInfo::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SourceCodeInfo::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &SourceCodeInfo::ByteSizeLong, - &SourceCodeInfo::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SourceCodeInfo, _impl_._cached_size_), - false, - }, - &SourceCodeInfo::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto SourceCodeInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_SourceCodeInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SourceCodeInfo::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SourceCodeInfo::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &SourceCodeInfo::ByteSizeLong, + &SourceCodeInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SourceCodeInfo, _impl_._cached_size_), + false, + }, + &SourceCodeInfo::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + SourceCodeInfo_class_data_ = + SourceCodeInfo::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* SourceCodeInfo::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&SourceCodeInfo_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(SourceCodeInfo_class_data_.tc_table); + return SourceCodeInfo_class_data_.base(); } constexpr ::_pbi::TcParseTable<0, 1, 1, 0, 2> SourceCodeInfo::_table_ = { { @@ -14854,7 +15040,7 @@ constexpr ::_pbi::TcParseTable<0, 1, 1, 0, 2> SourceCodeInfo::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + SourceCodeInfo_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -14992,7 +15178,7 @@ class GeneratedCodeInfo_Annotation::_Internal { GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GeneratedCodeInfo_Annotation_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -15012,7 +15198,7 @@ GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation( ::google::protobuf::Arena* arena, const GeneratedCodeInfo_Annotation& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GeneratedCodeInfo_Annotation_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -15080,32 +15266,38 @@ constexpr auto GeneratedCodeInfo_Annotation::InternalNewImpl_() { alignof(GeneratedCodeInfo_Annotation)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_Annotation::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GeneratedCodeInfo_Annotation_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GeneratedCodeInfo_Annotation::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GeneratedCodeInfo_Annotation::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GeneratedCodeInfo_Annotation::ByteSizeLong, - &GeneratedCodeInfo_Annotation::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_._cached_size_), - false, - }, - &GeneratedCodeInfo_Annotation::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto GeneratedCodeInfo_Annotation::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_GeneratedCodeInfo_Annotation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GeneratedCodeInfo_Annotation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GeneratedCodeInfo_Annotation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &GeneratedCodeInfo_Annotation::ByteSizeLong, + &GeneratedCodeInfo_Annotation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_._cached_size_), + false, + }, + &GeneratedCodeInfo_Annotation::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + GeneratedCodeInfo_Annotation_class_data_ = + GeneratedCodeInfo_Annotation::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* GeneratedCodeInfo_Annotation::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&GeneratedCodeInfo_Annotation_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GeneratedCodeInfo_Annotation_class_data_.tc_table); + return GeneratedCodeInfo_Annotation_class_data_.base(); } constexpr ::_pbi::TcParseTable<3, 5, 1, 64, 2> GeneratedCodeInfo_Annotation::_table_ = { { @@ -15118,7 +15310,7 @@ constexpr ::_pbi::TcParseTable<3, 5, 1, 64, 2> GeneratedCodeInfo_Annotation::_ta 5, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GeneratedCodeInfo_Annotation_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE @@ -15368,7 +15560,7 @@ class GeneratedCodeInfo::_Internal { GeneratedCodeInfo::GeneratedCodeInfo(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GeneratedCodeInfo_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -15385,7 +15577,7 @@ GeneratedCodeInfo::GeneratedCodeInfo( ::google::protobuf::Arena* arena, const GeneratedCodeInfo& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { + : ::google::protobuf::Message(arena, GeneratedCodeInfo_class_data_.base()) { #else // PROTOBUF_CUSTOM_VTABLE : ::google::protobuf::Message(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -15437,32 +15629,38 @@ constexpr auto GeneratedCodeInfo::InternalNewImpl_() { alignof(GeneratedCodeInfo)); } } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GeneratedCodeInfo_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GeneratedCodeInfo::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GeneratedCodeInfo::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GeneratedCodeInfo::ByteSizeLong, - &GeneratedCodeInfo::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo, _impl_._cached_size_), - false, - }, - &GeneratedCodeInfo::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -}; +constexpr auto GeneratedCodeInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataFull{ + ::google::protobuf::internal::ClassData{ + &_GeneratedCodeInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GeneratedCodeInfo::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GeneratedCodeInfo::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &GeneratedCodeInfo::ByteSizeLong, + &GeneratedCodeInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo, _impl_._cached_size_), + false, + }, + &GeneratedCodeInfo::kDescriptorMethods, + &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, + nullptr, // tracker + }; +} + +PROTOBUF_CONSTINIT PROTOBUF_EXPORT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull + GeneratedCodeInfo_class_data_ = + GeneratedCodeInfo::InternalGenerateClassData_(); + const ::google::protobuf::internal::ClassData* GeneratedCodeInfo::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); + ::google::protobuf::internal::PrefetchToLocalCache(&GeneratedCodeInfo_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(GeneratedCodeInfo_class_data_.tc_table); + return GeneratedCodeInfo_class_data_.base(); } constexpr ::_pbi::TcParseTable<0, 1, 1, 0, 2> GeneratedCodeInfo::_table_ = { { @@ -15475,7 +15673,7 @@ constexpr ::_pbi::TcParseTable<0, 1, 1, 0, 2> GeneratedCodeInfo::_table_ = { 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), - _class_data_.base(), + GeneratedCodeInfo_class_data_.base(), nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE diff --git a/src/google/protobuf/descriptor.pb.h b/src/google/protobuf/descriptor.pb.h index 0a89917d7c..a177d5bdfe 100644 --- a/src/google/protobuf/descriptor.pb.h +++ b/src/google/protobuf/descriptor.pb.h @@ -57,102 +57,135 @@ namespace protobuf { class DescriptorProto; struct DescriptorProtoDefaultTypeInternal; PROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DescriptorProto_class_data_; class DescriptorProto_ExtensionRange; struct DescriptorProto_ExtensionRangeDefaultTypeInternal; PROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DescriptorProto_ExtensionRange_class_data_; class DescriptorProto_ReservedRange; struct DescriptorProto_ReservedRangeDefaultTypeInternal; PROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DescriptorProto_ReservedRange_class_data_; class EnumDescriptorProto; struct EnumDescriptorProtoDefaultTypeInternal; PROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_class_data_; class EnumDescriptorProto_EnumReservedRange; struct EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal; PROTOBUF_EXPORT extern EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal _EnumDescriptorProto_EnumReservedRange_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_EnumReservedRange_class_data_; class EnumOptions; struct EnumOptionsDefaultTypeInternal; PROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumOptions_class_data_; class EnumValueDescriptorProto; struct EnumValueDescriptorProtoDefaultTypeInternal; PROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumValueDescriptorProto_class_data_; class EnumValueOptions; struct EnumValueOptionsDefaultTypeInternal; PROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumValueOptions_class_data_; class ExtensionRangeOptions; struct ExtensionRangeOptionsDefaultTypeInternal; PROTOBUF_EXPORT extern ExtensionRangeOptionsDefaultTypeInternal _ExtensionRangeOptions_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_class_data_; class ExtensionRangeOptions_Declaration; struct ExtensionRangeOptions_DeclarationDefaultTypeInternal; PROTOBUF_EXPORT extern ExtensionRangeOptions_DeclarationDefaultTypeInternal _ExtensionRangeOptions_Declaration_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_Declaration_class_data_; class FeatureSet; struct FeatureSetDefaultTypeInternal; PROTOBUF_EXPORT extern FeatureSetDefaultTypeInternal _FeatureSet_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSet_class_data_; class FeatureSetDefaults; struct FeatureSetDefaultsDefaultTypeInternal; PROTOBUF_EXPORT extern FeatureSetDefaultsDefaultTypeInternal _FeatureSetDefaults_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_class_data_; class FeatureSetDefaults_FeatureSetEditionDefault; struct FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal; PROTOBUF_EXPORT extern FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal _FeatureSetDefaults_FeatureSetEditionDefault_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_FeatureSetEditionDefault_class_data_; class FieldDescriptorProto; struct FieldDescriptorProtoDefaultTypeInternal; PROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldDescriptorProto_class_data_; class FieldOptions; struct FieldOptionsDefaultTypeInternal; PROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldOptions_class_data_; class FieldOptions_EditionDefault; struct FieldOptions_EditionDefaultDefaultTypeInternal; PROTOBUF_EXPORT extern FieldOptions_EditionDefaultDefaultTypeInternal _FieldOptions_EditionDefault_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldOptions_EditionDefault_class_data_; class FieldOptions_FeatureSupport; struct FieldOptions_FeatureSupportDefaultTypeInternal; PROTOBUF_EXPORT extern FieldOptions_FeatureSupportDefaultTypeInternal _FieldOptions_FeatureSupport_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldOptions_FeatureSupport_class_data_; class FileDescriptorProto; struct FileDescriptorProtoDefaultTypeInternal; PROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileDescriptorProto_class_data_; class FileDescriptorSet; struct FileDescriptorSetDefaultTypeInternal; PROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileDescriptorSet_class_data_; class FileOptions; struct FileOptionsDefaultTypeInternal; PROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileOptions_class_data_; class GeneratedCodeInfo; struct GeneratedCodeInfoDefaultTypeInternal; PROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_class_data_; class GeneratedCodeInfo_Annotation; struct GeneratedCodeInfo_AnnotationDefaultTypeInternal; PROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_Annotation_class_data_; class MessageOptions; struct MessageOptionsDefaultTypeInternal; PROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull MessageOptions_class_data_; class MethodDescriptorProto; struct MethodDescriptorProtoDefaultTypeInternal; PROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull MethodDescriptorProto_class_data_; class MethodOptions; struct MethodOptionsDefaultTypeInternal; PROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull MethodOptions_class_data_; class OneofDescriptorProto; struct OneofDescriptorProtoDefaultTypeInternal; PROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull OneofDescriptorProto_class_data_; class OneofOptions; struct OneofOptionsDefaultTypeInternal; PROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull OneofOptions_class_data_; class ServiceDescriptorProto; struct ServiceDescriptorProtoDefaultTypeInternal; PROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ServiceDescriptorProto_class_data_; class ServiceOptions; struct ServiceOptionsDefaultTypeInternal; PROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ServiceOptions_class_data_; class SourceCodeInfo; struct SourceCodeInfoDefaultTypeInternal; PROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull SourceCodeInfo_class_data_; class SourceCodeInfo_Location; struct SourceCodeInfo_LocationDefaultTypeInternal; PROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull SourceCodeInfo_Location_class_data_; class UninterpretedOption; struct UninterpretedOptionDefaultTypeInternal; PROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull UninterpretedOption_class_data_; class UninterpretedOption_NamePart; struct UninterpretedOption_NamePartDefaultTypeInternal; PROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull UninterpretedOption_NamePart_class_data_; namespace internal { #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) PROTOBUF_EXPORT void InitializeFileDescriptorDefaultInstancesSlow(); @@ -847,9 +880,10 @@ class PROTOBUF_EXPORT UninterpretedOption_NamePart final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -918,6 +952,8 @@ class PROTOBUF_EXPORT UninterpretedOption_NamePart final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull UninterpretedOption_NamePart_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT SourceCodeInfo_Location final @@ -1059,9 +1095,10 @@ class PROTOBUF_EXPORT SourceCodeInfo_Location final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1202,6 +1239,8 @@ class PROTOBUF_EXPORT SourceCodeInfo_Location final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull SourceCodeInfo_Location_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation final @@ -1343,9 +1382,10 @@ class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Semantic = GeneratedCodeInfo_Annotation_Semantic; @@ -1481,6 +1521,8 @@ class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_Annotation_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT FieldOptions_FeatureSupport final @@ -1622,9 +1664,10 @@ class PROTOBUF_EXPORT FieldOptions_FeatureSupport final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1719,6 +1762,8 @@ class PROTOBUF_EXPORT FieldOptions_FeatureSupport final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldOptions_FeatureSupport_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT FieldOptions_EditionDefault final @@ -1860,9 +1905,10 @@ class PROTOBUF_EXPORT FieldOptions_EditionDefault final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -1931,6 +1977,8 @@ class PROTOBUF_EXPORT FieldOptions_EditionDefault final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldOptions_EditionDefault_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT FeatureSet final @@ -2077,9 +2125,10 @@ class PROTOBUF_EXPORT FeatureSet final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using FieldPresence = FeatureSet_FieldPresence; @@ -2495,6 +2544,8 @@ class PROTOBUF_EXPORT FeatureSet final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSet_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT ExtensionRangeOptions_Declaration final @@ -2636,9 +2687,10 @@ class PROTOBUF_EXPORT ExtensionRangeOptions_Declaration final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -2752,6 +2804,8 @@ class PROTOBUF_EXPORT ExtensionRangeOptions_Declaration final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_Declaration_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange final @@ -2893,9 +2947,10 @@ class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -2958,6 +3013,8 @@ class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_EnumReservedRange_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT DescriptorProto_ReservedRange final @@ -3099,9 +3156,10 @@ class PROTOBUF_EXPORT DescriptorProto_ReservedRange final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -3164,6 +3222,8 @@ class PROTOBUF_EXPORT DescriptorProto_ReservedRange final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DescriptorProto_ReservedRange_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT UninterpretedOption final @@ -3310,9 +3370,10 @@ class PROTOBUF_EXPORT UninterpretedOption final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using NamePart = UninterpretedOption_NamePart; @@ -3465,6 +3526,8 @@ class PROTOBUF_EXPORT UninterpretedOption final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull UninterpretedOption_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT SourceCodeInfo final @@ -3606,9 +3669,10 @@ class PROTOBUF_EXPORT SourceCodeInfo final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Location = SourceCodeInfo_Location; @@ -3664,6 +3728,8 @@ class PROTOBUF_EXPORT SourceCodeInfo final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull SourceCodeInfo_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT GeneratedCodeInfo final @@ -3805,9 +3871,10 @@ class PROTOBUF_EXPORT GeneratedCodeInfo final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Annotation = GeneratedCodeInfo_Annotation; @@ -3863,6 +3930,8 @@ class PROTOBUF_EXPORT GeneratedCodeInfo final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT FeatureSetDefaults_FeatureSetEditionDefault final @@ -4009,9 +4078,10 @@ class PROTOBUF_EXPORT FeatureSetDefaults_FeatureSetEditionDefault final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -4095,6 +4165,8 @@ class PROTOBUF_EXPORT FeatureSetDefaults_FeatureSetEditionDefault final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_FeatureSetEditionDefault_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT ServiceOptions final @@ -4241,9 +4313,10 @@ class PROTOBUF_EXPORT ServiceOptions final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -4509,6 +4582,8 @@ class PROTOBUF_EXPORT ServiceOptions final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ServiceOptions_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT OneofOptions final @@ -4655,9 +4730,10 @@ class PROTOBUF_EXPORT OneofOptions final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -4910,6 +4986,8 @@ class PROTOBUF_EXPORT OneofOptions final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull OneofOptions_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT MethodOptions final @@ -5056,9 +5134,10 @@ class PROTOBUF_EXPORT MethodOptions final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using IdempotencyLevel = MethodOptions_IdempotencyLevel; @@ -5357,6 +5436,8 @@ class PROTOBUF_EXPORT MethodOptions final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull MethodOptions_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT MessageOptions final @@ -5503,9 +5584,10 @@ class PROTOBUF_EXPORT MessageOptions final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -5823,6 +5905,8 @@ class PROTOBUF_EXPORT MessageOptions final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull MessageOptions_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT FileOptions final @@ -5969,9 +6053,10 @@ class PROTOBUF_EXPORT FileOptions final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using OptimizeMode = FileOptions_OptimizeMode; @@ -6551,6 +6636,8 @@ class PROTOBUF_EXPORT FileOptions final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileOptions_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT FieldOptions final @@ -6697,9 +6784,10 @@ class PROTOBUF_EXPORT FieldOptions final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using EditionDefault = FieldOptions_EditionDefault; @@ -7215,6 +7303,8 @@ class PROTOBUF_EXPORT FieldOptions final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldOptions_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT FeatureSetDefaults final @@ -7361,9 +7451,10 @@ class PROTOBUF_EXPORT FeatureSetDefaults final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using FeatureSetEditionDefault = FeatureSetDefaults_FeatureSetEditionDefault; @@ -7446,6 +7537,8 @@ class PROTOBUF_EXPORT FeatureSetDefaults final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT ExtensionRangeOptions final @@ -7592,9 +7685,10 @@ class PROTOBUF_EXPORT ExtensionRangeOptions final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Declaration = ExtensionRangeOptions_Declaration; @@ -7899,6 +7993,8 @@ class PROTOBUF_EXPORT ExtensionRangeOptions final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT EnumValueOptions final @@ -8045,9 +8141,10 @@ class PROTOBUF_EXPORT EnumValueOptions final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -8343,6 +8440,8 @@ class PROTOBUF_EXPORT EnumValueOptions final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumValueOptions_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT EnumOptions final @@ -8489,9 +8588,10 @@ class PROTOBUF_EXPORT EnumOptions final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -8783,6 +8883,8 @@ class PROTOBUF_EXPORT EnumOptions final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumOptions_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT OneofDescriptorProto final @@ -8929,9 +9031,10 @@ class PROTOBUF_EXPORT OneofDescriptorProto final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -9004,6 +9107,8 @@ class PROTOBUF_EXPORT OneofDescriptorProto final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull OneofDescriptorProto_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT MethodDescriptorProto final @@ -9150,9 +9255,10 @@ class PROTOBUF_EXPORT MethodDescriptorProto final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -9289,6 +9395,8 @@ class PROTOBUF_EXPORT MethodDescriptorProto final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull MethodDescriptorProto_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT FieldDescriptorProto final @@ -9435,9 +9543,10 @@ class PROTOBUF_EXPORT FieldDescriptorProto final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Type = FieldDescriptorProto_Type; @@ -9706,6 +9815,8 @@ class PROTOBUF_EXPORT FieldDescriptorProto final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldDescriptorProto_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT EnumValueDescriptorProto final @@ -9852,9 +9963,10 @@ class PROTOBUF_EXPORT EnumValueDescriptorProto final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -9940,6 +10052,8 @@ class PROTOBUF_EXPORT EnumValueDescriptorProto final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumValueDescriptorProto_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT DescriptorProto_ExtensionRange final @@ -10086,9 +10200,10 @@ class PROTOBUF_EXPORT DescriptorProto_ExtensionRange final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -10168,6 +10283,8 @@ class PROTOBUF_EXPORT DescriptorProto_ExtensionRange final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DescriptorProto_ExtensionRange_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT ServiceDescriptorProto final @@ -10314,9 +10431,10 @@ class PROTOBUF_EXPORT ServiceDescriptorProto final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -10408,6 +10526,8 @@ class PROTOBUF_EXPORT ServiceDescriptorProto final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ServiceDescriptorProto_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT EnumDescriptorProto final @@ -10554,9 +10674,10 @@ class PROTOBUF_EXPORT EnumDescriptorProto final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using EnumReservedRange = EnumDescriptorProto_EnumReservedRange; @@ -10692,6 +10813,8 @@ class PROTOBUF_EXPORT EnumDescriptorProto final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT DescriptorProto final @@ -10838,9 +10961,10 @@ class PROTOBUF_EXPORT DescriptorProto final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using ExtensionRange = DescriptorProto_ExtensionRange; @@ -11072,6 +11196,8 @@ class PROTOBUF_EXPORT DescriptorProto final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DescriptorProto_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT FileDescriptorProto final @@ -11218,9 +11344,10 @@ class PROTOBUF_EXPORT FileDescriptorProto final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -11501,6 +11628,8 @@ class PROTOBUF_EXPORT FileDescriptorProto final union { Impl_ _impl_; }; friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; + +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileDescriptorProto_class_data_; // ------------------------------------------------------------------- class PROTOBUF_EXPORT FileDescriptorSet final @@ -11647,9 +11776,10 @@ class PROTOBUF_EXPORT FileDescriptorSet final static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; public: + static constexpr auto InternalGenerateClassData_(); + ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- @@ -11705,6 +11835,8 @@ class PROTOBUF_EXPORT FileDescriptorSet final friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; }; +PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileDescriptorSet_class_data_; + // =================================================================== diff --git a/src/google/protobuf/message_lite.h b/src/google/protobuf/message_lite.h index be759007a1..cd1ad9846c 100644 --- a/src/google/protobuf/message_lite.h +++ b/src/google/protobuf/message_lite.h @@ -224,16 +224,23 @@ class PROTOBUF_EXPORT CachedSize { #endif }; +auto GetClassData(const MessageLite& msg); + // TODO: Upgrade to `auto` parameters when we drop C++14 support. -template +template struct GeneratedMessageTraitsT { static constexpr const void* default_instance() { return kDefault; } + static constexpr const auto* class_data() { return kClassData->base(); } static constexpr auto StrongPointer() { return default_instance(); } }; template struct FallbackMessageTraits { - static const void* default_instance() { return T::default_instance(); } + static const void* default_instance() { return &T::default_instance(); } + static constexpr const auto* class_data() { + return GetClassData(T::default_instance()); + } // We can't make a constexpr pointer to the default, so use a function pointer // instead. static constexpr auto StrongPointer() { return &T::default_instance; } @@ -252,9 +259,6 @@ struct MessageTraitsImpl { template using MessageTraits = decltype(MessageTraitsImpl::value); -// For MessageLite to friend. -auto GetClassData(const MessageLite& msg); - class SwapFieldHelper; // See parse_context.h for explanation @@ -898,16 +902,6 @@ class PROTOBUF_EXPORT MessageLite { virtual const internal::ClassData* GetClassData() const = 0; #endif // PROTOBUF_CUSTOM_VTABLE - template - static auto GetClassDataGenerated() { - static_assert(std::is_base_of::value, ""); - // We could speed this up if needed by avoiding the function call. - // In LTO this is likely inlined, so it might not matter. - static_assert( - std::is_same::value, ""); - return T::default_instance().T::GetClassData(); - } - internal::InternalMetadata _internal_metadata_; #if defined(PROTOBUF_CUSTOM_VTABLE) const internal::ClassData* _class_data_; @@ -1038,7 +1032,7 @@ class TypeId { template static TypeId Get() { - return TypeId(MessageLite::GetClassDataGenerated()); + return TypeId(internal::MessageTraits::class_data()); } // Name of the message type. diff --git a/src/google/protobuf/message_unittest.inc b/src/google/protobuf/message_unittest.inc index e555c21ad7..1aa329e43a 100644 --- a/src/google/protobuf/message_unittest.inc +++ b/src/google/protobuf/message_unittest.inc @@ -1307,6 +1307,15 @@ TEST(MESSAGE_TEST_NAME, MOMIParserEdgeCases) { } } +TEST(MESSAGE_TEST_NAME, MessageTraitsWork) { + EXPECT_EQ( + &UNITTEST::TestAllTypes::default_instance(), + internal::MessageTraits::default_instance()); + EXPECT_EQ( + internal::GetClassData(UNITTEST::TestAllTypes::default_instance()), + internal::MessageTraits::class_data()); +} + TEST(MESSAGE_TEST_NAME, CheckSerializationWhenInterleavedExtensions) { UNITTEST::TestExtensionRangeSerialize in_message;