internal changes PiperOrigin-RevId: 964743703
diff --git a/src/google/protobuf/compiler/cpp/file.cc b/src/google/protobuf/compiler/cpp/file.cc index dfd58f0..a3263a6 100644 --- a/src/google/protobuf/compiler/cpp/file.cc +++ b/src/google/protobuf/compiler/cpp/file.cc
@@ -617,23 +617,14 @@ if (options_.lite_implicit_weak_fields) { p->Emit({{"ptr", MsgGlobalsInstancePtr(instance, options_)}}, R"cc( -#ifndef PROTOBUF_MESSAGE_GLOBALS - PROTOBUF_CONSTINIT __attribute__((weak)) const void* $ptr$ = - ::_pbi::ImplicitWeakMessage::GetClassDataForInit(); -#else PROTOBUF_CONSTINIT __attribute__((weak)) const void* $ptr$ = &::_pbi::implicit_weak_message_globals; -#endif )cc"); } else { p->Emit({{"type", MsgGlobalsInstanceType(instance, options_)}, {"name", MsgGlobalsInstanceName(instance, options_)}}, R"cc( -#ifndef PROTOBUF_MESSAGE_GLOBALS - extern __attribute__((weak)) $type$ $name$; -#else extern __attribute__((weak)) const $type$ $name$; -#endif )cc"); } } @@ -791,14 +782,12 @@ } }}}, R"cc( -#ifdef PROTOBUF_MESSAGE_GLOBALS namespace { PROTOBUF_CONSTINIT ::google::protobuf::internal::ReflectionData file_reflection_data[] = { $reflection_data$, }; } // namespace -#endif )cc"); } @@ -1364,12 +1353,7 @@ R"cc( class $class$; struct $globals_type$; -#ifndef PROTOBUF_MESSAGE_GLOBALS - $dllexport_decl $extern $globals_type$ $globals_name$; - $dllexport_decl $extern const $pbi$::$classdata_type$ $class$_class_data_; -#else $dllexport_decl $extern $const $$globals_type$ $globals_name$; -#endif // PROTOBUF_MESSAGE_GLOBALS )cc"); } @@ -1422,12 +1406,7 @@ if (options.dllexport_decl.empty()) { p->Emit(R"cc( template <> - internal::GeneratedMessageTraitsT<&$default_name$ -#ifndef PROTOBUF_MESSAGE_GLOBALS - , - &$class$_class_data_ -#endif // PROTOBUF_MESSAGE_GLOBALS - > + internal::GeneratedMessageTraitsT<&$default_name$> internal::MessageTraitsImpl::value<$class$>; )cc"); }
diff --git a/src/google/protobuf/compiler/cpp/helpers.cc b/src/google/protobuf/compiler/cpp/helpers.cc index 99ed4be..648a04d 100644 --- a/src/google/protobuf/compiler/cpp/helpers.cc +++ b/src/google/protobuf/compiler/cpp/helpers.cc
@@ -1711,19 +1711,19 @@ ProtobufNamespace(options), name, name); } -std::string WeakDescriptorDataSection(absl::string_view prefix, - const Descriptor* descriptor, - int index_in_file_messages, - const Options& options) { - const auto* file = descriptor->file(); - +std::string WeakDefaultInstanceSection(const Descriptor* descriptor, + int index_in_file_messages, + const Options& options) { + absl::string_view prefix = !IsProfileDriven(options) ? "def" + : IsPresentMessage(descriptor, options) ? "gh" + : "gl"; // To make a compact name we use the index of the object in its file // of its name. // So the name could be `pb_def_3_HASH` instead of // `pd_def_VeryLongClassName_WithNesting_AndMoreNames_HASH` // We need a know common prefix to merge the sections later on. return UniqueName(absl::StrCat("pb_", prefix, "_", index_in_file_messages), - file, options); + descriptor->file(), options); } bool UsingImplicitWeakFields(const FileDescriptor* file,
diff --git a/src/google/protobuf/compiler/cpp/helpers.h b/src/google/protobuf/compiler/cpp/helpers.h index c326776..55bb465 100644 --- a/src/google/protobuf/compiler/cpp/helpers.h +++ b/src/google/protobuf/compiler/cpp/helpers.h
@@ -854,34 +854,11 @@ std::string StrongReferenceToType(const Descriptor* desc, const Options& options); -// Generates the section name to be used for a data object when using implicit -// weak descriptors. The prefix determines the kind of object and the section it -// will be merged into afterwards. -// See `UsingImplicitWeakDescriptor` above. -std::string WeakDescriptorDataSection(absl::string_view prefix, - const Descriptor* descriptor, - int index_in_file_messages, - const Options& options); - // Section name to be used for the default instance for implicit weak descriptor // objects. See `UsingImplicitWeakDescriptor` above. -inline std::string WeakDefaultInstanceSection(const Descriptor* descriptor, - int index_in_file_messages, - const Options& options) { -#ifdef PROTOBUF_MESSAGE_GLOBALS - std::string prefix = !IsProfileDriven(options) ? "def" - : IsPresentMessage(descriptor, options) ? "gh" - : "gl"; -#else - std::string prefix = "def"; -#endif - // TODO: b/474609573 - Remove WeakDescriptorDataSection() once - // PROTOBUF_MESSAGE_GLOBALS becomes the default. Note that section assignment - // is nuanced to maximize the spatial locality and to support weak descriptor - // GC. The status quo is vulnerable to suboptimal prefix. - return WeakDescriptorDataSection(prefix, descriptor, index_in_file_messages, - options); -} +std::string WeakDefaultInstanceSection(const Descriptor* descriptor, + int index_in_file_messages, + const Options& options); // Indicates whether we should use implicit weak fields for this file. bool UsingImplicitWeakFields(const FileDescriptor* file,
diff --git a/src/google/protobuf/compiler/cpp/message.cc b/src/google/protobuf/compiler/cpp/message.cc index 0611024..f56a88f 100644 --- a/src/google/protobuf/compiler/cpp/message.cc +++ b/src/google/protobuf/compiler/cpp/message.cc
@@ -2331,10 +2331,10 @@ R"cc( #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_ALWAYS_INLINE_NODEBUG $Msg$::$Msg$() - : Super_($Msg$_get_class_data()) {} + : Super_($globals$.GetClassData()) {} PROTOBUF_ALWAYS_INLINE_NODEBUG $Msg$::$Msg$( $pb$::Arena* $nullable$ arena) - : Super_(arena, $Msg$_get_class_data()) {} + : Super_(arena, $globals$.GetClassData()) {} #else // PROTOBUF_CUSTOM_VTABLE $Msg$::$Msg$() : Super_() {} $Msg$::$Msg$($pb$::Arena* $nullable$ arena) : Super_(arena) {} @@ -2343,7 +2343,6 @@ $verify$; $class_data$; )cc"); - parse_function_generator_->GenerateDataDefinitions(p); return; } if (IsAnyMessage(descriptor_)) { @@ -2391,7 +2390,6 @@ } GenerateClassData(p); - parse_function_generator_->GenerateDataDefinitions(p); if (HasGeneratedMethods(descriptor_->file(), options_)) { GenerateClear(p); @@ -3191,7 +3189,7 @@ //~ force alignment const $Msg$& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, $Msg$_get_class_data()) { + : Super_(arena, $globals$.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -3234,7 +3232,7 @@ R"cc( $Msg$::$Msg$($pb$::Arena* $nullable$ arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, $Msg$_get_class_data()) { + : Super_(arena, $globals$.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -3263,7 +3261,7 @@ //~ Force alignment $pb$::Arena* $nullable$ arena, const $Msg$& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, $Msg$_get_class_data()), + : Super_(arena, $globals$.GetClassData()), #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena), #endif // PROTOBUF_CUSTOM_VTABLE @@ -3844,11 +3842,7 @@ return $pbi$::ClassDataFull{ $pbi$::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif $is_initialized$, &$Msg$::MergeImpl, Super_::GetNewImpl<$Msg$>(), @@ -3859,13 +3853,7 @@ PROTOBUF_FIELD_OFFSET($Msg$, $cached_size$), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[$index_in_file_messages$], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &$desc_table$, - $tracker_on_get_metadata$, -#endif // PROTOBUF_MESSAGE_GLOBALS }; } )cc"); @@ -3882,11 +3870,7 @@ return $pbi$::ClassDataLite{ { &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif $is_initialized$, &$Msg$::MergeImpl, Super_::GetNewImpl<$Msg$>(), @@ -3905,6 +3889,12 @@ } void MessageGenerator::GenerateClassData(io::Printer* p) { + // This function needs to be marked as weak to avoid significantly slowing + // down compilation times. This breaks up LLVM's SCC in the .pb.cc + // translation units. Large translation units see a reduction of roughly 50% + // of walltime for optimized builds. Without the weak attribute all the + // messages in the file, including all the vtables and everything they use + // become part of the same SCC. if (HasDescriptorMethods(descriptor_->file(), options_)) { const auto pin_weak_descriptor = [&] { if (!UsingImplicitWeakDescriptor(descriptor_->file(), options_)) return; @@ -3934,26 +3924,6 @@ {"pin_weak_descriptor", pin_weak_descriptor}, }, R"cc( -#ifndef PROTOBUF_MESSAGE_GLOBALS - PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - $pbi$::ClassDataFull $Msg$_class_data_ = - $Msg$::InternalGenerateClassData_($globals$._default); - - //~ This function needs to be marked as weak to avoid significantly - //~ slowing down compilation times. This breaks up LLVM's SCC - //~ in the .pb.cc translation units. Large translation units see a - //~ reduction of roughly 50% of walltime for optimized builds. - //~ Without the weak attribute all the messages in the file, - // including ~ all the vtables and everything they use become part - // of the same ~ SCC. - PROTOBUF_ATTRIBUTE_WEAK const $pbi$::ClassData* $nonnull$ - $Msg$::GetClassData() const { - $pin_weak_descriptor$; - $pbi$::PrefetchToLocalCache(&$Msg$_class_data_); - $pbi$::PrefetchToLocalCache($Msg$_class_data_.tc_table); - return $Msg$_class_data_.base(); - } -#else PROTOBUF_ATTRIBUTE_WEAK const $pbi$::ClassData* $nonnull$ $Msg$::GetClassData() const { $pin_weak_descriptor$; @@ -3962,7 +3932,6 @@ $pbi$::MessageGlobalsBase::ToParseTableBase(&$globals$)); return $globals$.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS )cc"); } else { p->Emit( @@ -3970,26 +3939,6 @@ {"pin_weak_descriptor", pin_weak_descriptor}, }, R"cc( -#ifndef PROTOBUF_MESSAGE_GLOBALS - PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - $pbi$::ClassDataFull $Msg$_class_data_ = - $Msg$::InternalGenerateClassData_($globals$._default); - - //~ This function needs to be marked as weak to avoid significantly - //~ slowing down compilation times. This breaks up LLVM's SCC - //~ in the .pb.cc translation units. Large translation units see a - //~ reduction of roughly 50% of walltime for optimized builds. - //~ Without the weak attribute all the messages in the file, - //~ including all the vtables and everything they use become part - //~ of the same SCC. - PROTOBUF_ATTRIBUTE_WEAK const $pbi$::ClassData* $nonnull$ - $Msg$::GetClassData() const { - $pin_weak_descriptor$; - $pbi$::PrefetchToLocalCache(&$Msg$_class_data_); - $pbi$::PrefetchToLocalCache($Msg$_class_data_.tc_table); - return $Msg$_class_data_.base(); - } -#else PROTOBUF_ATTRIBUTE_WEAK const $pbi$::ClassData* $nonnull$ $Msg$::GetClassData() const { $pin_weak_descriptor$; @@ -3998,35 +3947,15 @@ $pbi$::MessageGlobalsBase::ToParseTableBase(&$globals$)); return $globals$.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS )cc"); } } else { p->Emit( R"cc( -#ifndef PROTOBUF_MESSAGE_GLOBALS - PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - const $pbi$::ClassDataLite $Msg$_class_data_ = - $Msg$::InternalGenerateClassData_($globals$._default); - - //~ This function needs to be marked as weak to avoid significantly - //~ slowing down compilation times. This breaks up LLVM's SCC - //~ in the .pb.cc translation units. Large translation units see a - //~ reduction of roughly 50% of walltime for optimized builds. - //~ Without the weak attribute all the messages in the file, including - //~ all the vtables and everything they use become part of the same - //~ SCC. - PROTOBUF_ATTRIBUTE_WEAK const $pbi$::ClassData* $nonnull$ - $Msg$::GetClassData() const { - return $Msg$_class_data_.base(); - } -#else PROTOBUF_ATTRIBUTE_WEAK const $pbi$::ClassData* $nonnull$ $Msg$::GetClassData() const { return $globals$.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS )cc"); } } @@ -5617,25 +5546,17 @@ .WithSuffix(""), { "const", - is_file_descriptor_proto ? "" : "PROTOBUF_MESSAGE_GLOBALS_CONST", + is_file_descriptor_proto ? "" : "const", }, }, R"cc( struct $globals_type$ : ::_pbi::MessageGlobalsBase { $constexpr$ $globals_type$() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - $Msg$_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase($Msg$::InternalGenerateClassData_( + : MessageGlobalsBase($Msg$::InternalGenerateClassData_( _default, &$globals$._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<$Msg$>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} //~ File descriptor proto only initializer. $file_descriptor_proto_init$; ~$globals_type$() {} @@ -5643,33 +5564,18 @@ union { alignas(::_pbi::kMaxMessageAlignment) $Msg$ _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<$Msg$>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif //~ Implicit weak descriptor depends on "tail" at the end of the //~ struct. $implicit_weak_descriptor_tail$; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET($globals_type$, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT$ dllexport_decl$ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 $const $$globals_type$ $globals$ $SECTION$; -#if defined(PROTOBUF_CUSTOM_VTABLE) - namespace { - const ::_pbi::ClassData* $Msg$_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return $globals$.GetClassData(); -#else - return $Msg$_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS - } - } // namespace -#endif // PROTOBUF_CUSTOM_VTABLE )cc"); if (options_.lite_implicit_weak_fields) { @@ -5679,11 +5585,7 @@ {"name", MsgGlobalsInstanceName(descriptor_, options_)}, }, R"cc( -#ifndef PROTOBUF_MESSAGE_GLOBALS - PROTOBUF_CONSTINIT const void* $ptr$ = &$Msg$_class_data_; -#else PROTOBUF_CONSTINIT const void* $ptr$ = &$globals$; -#endif )cc"); } }
diff --git a/src/google/protobuf/compiler/cpp/parse_function_generator.cc b/src/google/protobuf/compiler/cpp/parse_function_generator.cc index 7789993..e25fc3f 100644 --- a/src/google/protobuf/compiler/cpp/parse_function_generator.cc +++ b/src/google/protobuf/compiler/cpp/parse_function_generator.cc
@@ -153,47 +153,10 @@ void ParseFunctionGenerator::GenerateDataDecls(io::Printer* p) { auto v = p->WithVars(variables_); - p->Emit({{"SECTION", - [&] { - if (!IsProfileDriven(options_)) return; - std::string section_name; - // Since most (>80%) messages are never present, messages that are - // present are considered hot enough to be clustered together. - // When using weak descriptors we use unique sections for each - // table to allow for GC to work. pth/ptl names must be in sync - // with the linker script. - if (UsingImplicitWeakDescriptor(descriptor_->file(), options_)) { - section_name = WeakDescriptorDataSection( - IsPresentMessage(descriptor_, options_) ? "pth" : "ptl", - descriptor_, index_in_file_messages_, options_); - } else if (IsPresentMessage(descriptor_, options_)) { - section_name = "proto_parse_table_hot"; - } else { - section_name = "proto_parse_table_lukewarm"; - } - p->Emit({{"section_name", section_name}}, - "ABSL_ATTRIBUTE_SECTION_VARIABLE($section_name$)"); - }}}, - R"cc( - friend class $pbi$::TcParser; -#ifndef PROTOBUF_MESSAGE_GLOBALS - $SECTION$ - static const ParseTableT_ _table_; -#endif - )cc"); -} - -void ParseFunctionGenerator::GenerateDataDefinitions(io::Printer* p) { - auto v = p->WithVars(variables_); - p->Emit( - R"cc( -#ifndef PROTOBUF_MESSAGE_GLOBALS - PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const $Msg$::ParseTableT_ - $Msg$::_table_ = - $Msg$::InternalGenerateParseTable_($Msg$_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS - )cc"); + // TODO: Remove this once we remove TcParser::GetTable. + p->Emit(R"cc( + friend class $pbi$::TcParser; + )cc"); } static std::string TcParseFunctionName(internal::TcParseFunction func) { @@ -341,11 +304,7 @@ aux_entry.field->message_type(), options_)}, }, R"cc( -#ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &$sub_type$_class_data_}, -#else {::_pbi::FieldAuxClassData(), &$sub_globals$}, -#endif )cc"); break; case TailCallTableInfo::kClassDataWeak:
diff --git a/src/google/protobuf/compiler/cpp/parse_function_generator.h b/src/google/protobuf/compiler/cpp/parse_function_generator.h index 715716c..9549c0c 100644 --- a/src/google/protobuf/compiler/cpp/parse_function_generator.h +++ b/src/google/protobuf/compiler/cpp/parse_function_generator.h
@@ -79,9 +79,6 @@ // Emits class-level data member declarations to `printer`: void GenerateDataDecls(io::Printer* printer); - // Emits out-of-class data member definitions to `printer`: - void GenerateDataDefinitions(io::Printer* printer); - // Emits the helper function definition to `printer`: void GenerateParseTableHelperDefinition(io::Printer* printer);
diff --git a/src/google/protobuf/compiler/csharp/c_sharp_features.pb.cc b/src/google/protobuf/compiler/csharp/c_sharp_features.pb.cc index 2c4c4d9..e99680a 100755 --- a/src/google/protobuf/compiler/csharp/c_sharp_features.pb.cc +++ b/src/google/protobuf/compiler/csharp/c_sharp_features.pb.cc
@@ -25,7 +25,6 @@ namespace _pb = ::google::protobuf; namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; -#ifdef PROTOBUF_MESSAGE_GLOBALS namespace { PROTOBUF_CONSTINIT ::google::protobuf::internal::ReflectionData file_reflection_data[] = { @@ -33,7 +32,6 @@ {&::_pbi::kDescriptorMethods, &::descriptor_table_google_2fprotobuf_2fcompiler_2fcsharp_2fc_5fsharp_5ffeatures_2eproto, /* tracker*/ nullptr,}, }; } // namespace -#endif namespace pb { class CSharpFeatures::_Internal { public: @@ -108,11 +106,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &CSharpFeatures::MergeImpl, Super_::GetNewImpl<CSharpFeatures>(), @@ -123,58 +117,29 @@ PROTOBUF_FIELD_OFFSET(CSharpFeatures, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[0], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fcompiler_2fcsharp_2fc_5fsharp_5ffeatures_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct CSharpFeaturesGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { constexpr CSharpFeaturesGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - CSharpFeatures_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(CSharpFeatures::InternalGenerateClassData_( + : MessageGlobalsBase(CSharpFeatures::InternalGenerateClassData_( _default, &CSharpFeatures_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<CSharpFeatures>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} ~CSharpFeaturesGlobalsTypeInternal() {} union { alignas(::_pbi::kMaxMessageAlignment) CSharpFeatures _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<CSharpFeatures>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(CSharpFeaturesGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOC_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST CSharpFeaturesGlobalsTypeInternal CSharpFeatures_globals_ + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CSharpFeaturesGlobalsTypeInternal CSharpFeatures_globals_ PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro); -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* CSharpFeatures_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return CSharpFeatures_globals_.GetClassData(); -#else - return CSharpFeatures_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE } // namespace pb static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE file_level_enum_descriptors_google_2fprotobuf_2fcompiler_2fcsharp_2fc_5fsharp_5ffeatures_2eproto = nullptr; @@ -235,7 +200,7 @@ CSharpFeatures::CSharpFeatures(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, CSharpFeatures_get_class_data()) { + : Super_(arena, CSharpFeatures_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -245,7 +210,7 @@ CSharpFeatures::CSharpFeatures( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CSharpFeatures& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, CSharpFeatures_get_class_data()), + : Super_(arena, CSharpFeatures_globals_.GetClassData()), #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena), #endif // PROTOBUF_CUSTOM_VTABLE @@ -276,18 +241,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull CSharpFeatures_class_data_ = - CSharpFeatures::InternalGenerateClassData_(CSharpFeatures_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -CSharpFeatures::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&CSharpFeatures_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(CSharpFeatures_class_data_.tc_table); - return CSharpFeatures_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL CSharpFeatures::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&CSharpFeatures_globals_); @@ -295,13 +248,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&CSharpFeatures_globals_)); return CSharpFeatures_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CSharpFeatures::ParseTableT_ - CSharpFeatures::_table_ = - CSharpFeatures::InternalGenerateParseTable_(CSharpFeatures_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void CSharpFeatures::Clear(MessageLite& base) { CSharpFeatures& this_ = static_cast<CSharpFeatures&>(base);
diff --git a/src/google/protobuf/compiler/csharp/c_sharp_features.pb.h b/src/google/protobuf/compiler/csharp/c_sharp_features.pb.h index 210d6f4..94d55e9 100755 --- a/src/google/protobuf/compiler/csharp/c_sharp_features.pb.h +++ b/src/google/protobuf/compiler/csharp/c_sharp_features.pb.h
@@ -48,12 +48,7 @@ namespace pb { class CSharpFeatures; struct CSharpFeaturesGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOC_EXPORT extern CSharpFeaturesGlobalsTypeInternal CSharpFeatures_globals_; -PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull CSharpFeatures_class_data_; -#else PROTOC_EXPORT extern const CSharpFeaturesGlobalsTypeInternal CSharpFeatures_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS } // namespace pb namespace google { namespace protobuf { @@ -263,9 +258,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena;
diff --git a/src/google/protobuf/compiler/java/java_features.pb.cc b/src/google/protobuf/compiler/java/java_features.pb.cc index bea8cda..2570e46 100644 --- a/src/google/protobuf/compiler/java/java_features.pb.cc +++ b/src/google/protobuf/compiler/java/java_features.pb.cc
@@ -25,7 +25,6 @@ namespace _pb = ::google::protobuf; namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; -#ifdef PROTOBUF_MESSAGE_GLOBALS namespace { PROTOBUF_CONSTINIT ::google::protobuf::internal::ReflectionData file_reflection_data[] = { @@ -35,7 +34,6 @@ {&::_pbi::kDescriptorMethods, &::descriptor_table_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto, /* tracker*/ nullptr,}, }; } // namespace -#endif namespace pb { class JavaFeatures_NestInFileClassFeature::_Internal { public: @@ -94,11 +92,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &JavaFeatures_NestInFileClassFeature::MergeImpl, Super_::GetNewImpl<JavaFeatures_NestInFileClassFeature>(), @@ -109,58 +103,29 @@ PROTOBUF_FIELD_OFFSET(JavaFeatures_NestInFileClassFeature, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[0], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct JavaFeatures_NestInFileClassFeatureGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { constexpr JavaFeatures_NestInFileClassFeatureGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - JavaFeatures_NestInFileClassFeature_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(JavaFeatures_NestInFileClassFeature::InternalGenerateClassData_( + : MessageGlobalsBase(JavaFeatures_NestInFileClassFeature::InternalGenerateClassData_( _default, &JavaFeatures_NestInFileClassFeature_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<JavaFeatures_NestInFileClassFeature>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} ~JavaFeatures_NestInFileClassFeatureGlobalsTypeInternal() {} union { alignas(::_pbi::kMaxMessageAlignment) JavaFeatures_NestInFileClassFeature _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<JavaFeatures_NestInFileClassFeature>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(JavaFeatures_NestInFileClassFeatureGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOC_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST JavaFeatures_NestInFileClassFeatureGlobalsTypeInternal JavaFeatures_NestInFileClassFeature_globals_ + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const JavaFeatures_NestInFileClassFeatureGlobalsTypeInternal JavaFeatures_NestInFileClassFeature_globals_ PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro); -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* JavaFeatures_NestInFileClassFeature_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return JavaFeatures_NestInFileClassFeature_globals_.GetClassData(); -#else - return JavaFeatures_NestInFileClassFeature_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class JavaFeatures::_Internal { public: using HasBits = decltype(::std::declval<JavaFeatures>()._impl_._has_bits_); @@ -268,11 +233,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &JavaFeatures::MergeImpl, Super_::GetNewImpl<JavaFeatures>(), @@ -283,58 +244,29 @@ PROTOBUF_FIELD_OFFSET(JavaFeatures, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[1], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct JavaFeaturesGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { constexpr JavaFeaturesGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - JavaFeatures_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(JavaFeatures::InternalGenerateClassData_( + : MessageGlobalsBase(JavaFeatures::InternalGenerateClassData_( _default, &JavaFeatures_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<JavaFeatures>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} ~JavaFeaturesGlobalsTypeInternal() {} union { alignas(::_pbi::kMaxMessageAlignment) JavaFeatures _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<JavaFeatures>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(JavaFeaturesGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOC_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST JavaFeaturesGlobalsTypeInternal JavaFeatures_globals_ + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const JavaFeaturesGlobalsTypeInternal JavaFeatures_globals_ PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro); -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* JavaFeatures_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return JavaFeatures_globals_.GetClassData(); -#else - return JavaFeatures_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE } // namespace pb static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL file_level_enum_descriptors_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto[2]; @@ -443,7 +375,7 @@ JavaFeatures_NestInFileClassFeature::JavaFeatures_NestInFileClassFeature(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, JavaFeatures_NestInFileClassFeature_get_class_data()) { + : Super_(arena, JavaFeatures_NestInFileClassFeature_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -453,7 +385,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JavaFeatures_NestInFileClassFeature& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, JavaFeatures_NestInFileClassFeature_get_class_data()) { + : Super_(arena, JavaFeatures_NestInFileClassFeature_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -466,18 +398,6 @@ // @@protoc_insertion_point(copy_constructor:pb.JavaFeatures.NestInFileClassFeature) } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull JavaFeatures_NestInFileClassFeature_class_data_ = - JavaFeatures_NestInFileClassFeature::InternalGenerateClassData_(JavaFeatures_NestInFileClassFeature_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -JavaFeatures_NestInFileClassFeature::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&JavaFeatures_NestInFileClassFeature_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(JavaFeatures_NestInFileClassFeature_class_data_.tc_table); - return JavaFeatures_NestInFileClassFeature_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL JavaFeatures_NestInFileClassFeature::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&JavaFeatures_NestInFileClassFeature_globals_); @@ -485,13 +405,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&JavaFeatures_NestInFileClassFeature_globals_)); return JavaFeatures_NestInFileClassFeature_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const JavaFeatures_NestInFileClassFeature::ParseTableT_ - JavaFeatures_NestInFileClassFeature::_table_ = - JavaFeatures_NestInFileClassFeature::InternalGenerateParseTable_(JavaFeatures_NestInFileClassFeature_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS @@ -506,7 +419,7 @@ JavaFeatures::JavaFeatures(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, JavaFeatures_get_class_data()) { + : Super_(arena, JavaFeatures_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -516,7 +429,7 @@ JavaFeatures::JavaFeatures( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JavaFeatures& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, JavaFeatures_get_class_data()), + : Super_(arena, JavaFeatures_globals_.GetClassData()), #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena), #endif // PROTOBUF_CUSTOM_VTABLE @@ -552,18 +465,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull JavaFeatures_class_data_ = - JavaFeatures::InternalGenerateClassData_(JavaFeatures_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -JavaFeatures::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&JavaFeatures_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(JavaFeatures_class_data_.tc_table); - return JavaFeatures_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL JavaFeatures::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&JavaFeatures_globals_); @@ -571,13 +472,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&JavaFeatures_globals_)); return JavaFeatures_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const JavaFeatures::ParseTableT_ - JavaFeatures::_table_ = - JavaFeatures::InternalGenerateParseTable_(JavaFeatures_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void JavaFeatures::Clear(MessageLite& base) { JavaFeatures& this_ = static_cast<JavaFeatures&>(base);
diff --git a/src/google/protobuf/compiler/java/java_features.pb.h b/src/google/protobuf/compiler/java/java_features.pb.h index 046e21d..62e4ab0 100644 --- a/src/google/protobuf/compiler/java/java_features.pb.h +++ b/src/google/protobuf/compiler/java/java_features.pb.h
@@ -54,20 +54,10 @@ PROTOC_EXPORT extern const uint32_t JavaFeatures_Utf8Validation_internal_data_[]; class JavaFeatures; struct JavaFeaturesGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOC_EXPORT extern JavaFeaturesGlobalsTypeInternal JavaFeatures_globals_; -PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull JavaFeatures_class_data_; -#else PROTOC_EXPORT extern const JavaFeaturesGlobalsTypeInternal JavaFeatures_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class JavaFeatures_NestInFileClassFeature; struct JavaFeatures_NestInFileClassFeatureGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOC_EXPORT extern JavaFeatures_NestInFileClassFeatureGlobalsTypeInternal JavaFeatures_NestInFileClassFeature_globals_; -PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull JavaFeatures_NestInFileClassFeature_class_data_; -#else PROTOC_EXPORT extern const JavaFeatures_NestInFileClassFeatureGlobalsTypeInternal JavaFeatures_NestInFileClassFeature_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS } // namespace pb namespace google { namespace protobuf { @@ -328,9 +318,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -602,9 +589,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena;
diff --git a/src/google/protobuf/compiler/plugin.pb.cc b/src/google/protobuf/compiler/plugin.pb.cc index 5ef6df6..a6df73d 100644 --- a/src/google/protobuf/compiler/plugin.pb.cc +++ b/src/google/protobuf/compiler/plugin.pb.cc
@@ -25,7 +25,6 @@ namespace _pb = ::google::protobuf; namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; -#ifdef PROTOBUF_MESSAGE_GLOBALS namespace { PROTOBUF_CONSTINIT ::google::protobuf::internal::ReflectionData file_reflection_data[] = { @@ -39,7 +38,6 @@ {&::_pbi::kDescriptorMethods, &::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, /* tracker*/ nullptr,}, }; } // namespace -#endif namespace google { namespace protobuf { namespace compiler { @@ -139,11 +137,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &Version::MergeImpl, Super_::GetNewImpl<Version>(), @@ -154,58 +148,29 @@ PROTOBUF_FIELD_OFFSET(Version, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[0], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct VersionGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { constexpr VersionGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - Version_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(Version::InternalGenerateClassData_( + : MessageGlobalsBase(Version::InternalGenerateClassData_( _default, &Version_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<Version>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} ~VersionGlobalsTypeInternal() {} union { alignas(::_pbi::kMaxMessageAlignment) Version _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<Version>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(VersionGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOC_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST VersionGlobalsTypeInternal Version_globals_ + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const VersionGlobalsTypeInternal Version_globals_ PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro); -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* Version_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return Version_globals_.GetClassData(); -#else - return Version_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class CodeGeneratorResponse_File::_Internal { public: using HasBits = decltype(::std::declval<CodeGeneratorResponse_File>()._impl_._has_bits_); @@ -261,11 +226,7 @@ {PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_File, _impl_.generated_code_info_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::GeneratedCodeInfo_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::GeneratedCodeInfo_globals_}, - #endif }}, {{ }}, @@ -312,11 +273,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &CodeGeneratorResponse_File::MergeImpl, Super_::GetNewImpl<CodeGeneratorResponse_File>(), @@ -327,58 +284,29 @@ PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_File, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[2], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct CodeGeneratorResponse_FileGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { constexpr CodeGeneratorResponse_FileGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - CodeGeneratorResponse_File_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(CodeGeneratorResponse_File::InternalGenerateClassData_( + : MessageGlobalsBase(CodeGeneratorResponse_File::InternalGenerateClassData_( _default, &CodeGeneratorResponse_File_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<CodeGeneratorResponse_File>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} ~CodeGeneratorResponse_FileGlobalsTypeInternal() {} union { alignas(::_pbi::kMaxMessageAlignment) CodeGeneratorResponse_File _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<CodeGeneratorResponse_File>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_FileGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOC_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST CodeGeneratorResponse_FileGlobalsTypeInternal CodeGeneratorResponse_File_globals_ + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CodeGeneratorResponse_FileGlobalsTypeInternal CodeGeneratorResponse_File_globals_ PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro); -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* CodeGeneratorResponse_File_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return CodeGeneratorResponse_File_globals_.GetClassData(); -#else - return CodeGeneratorResponse_File_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class CodeGeneratorResponse::_Internal { public: using HasBits = decltype(::std::declval<CodeGeneratorResponse>()._impl_._has_bits_); @@ -443,11 +371,7 @@ {PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_.file_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::compiler::CodeGeneratorResponse_File_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::compiler::CodeGeneratorResponse_File_globals_}, - #endif }}, {{ }}, @@ -495,11 +419,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &CodeGeneratorResponse::MergeImpl, Super_::GetNewImpl<CodeGeneratorResponse>(), @@ -510,58 +430,29 @@ PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[3], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct CodeGeneratorResponseGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { constexpr CodeGeneratorResponseGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - CodeGeneratorResponse_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(CodeGeneratorResponse::InternalGenerateClassData_( + : MessageGlobalsBase(CodeGeneratorResponse::InternalGenerateClassData_( _default, &CodeGeneratorResponse_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<CodeGeneratorResponse>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} ~CodeGeneratorResponseGlobalsTypeInternal() {} union { alignas(::_pbi::kMaxMessageAlignment) CodeGeneratorResponse _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<CodeGeneratorResponse>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(CodeGeneratorResponseGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOC_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST CodeGeneratorResponseGlobalsTypeInternal CodeGeneratorResponse_globals_ + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CodeGeneratorResponseGlobalsTypeInternal CodeGeneratorResponse_globals_ PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro); -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* CodeGeneratorResponse_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return CodeGeneratorResponse_globals_.GetClassData(); -#else - return CodeGeneratorResponse_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class CodeGeneratorRequest::_Internal { public: using HasBits = decltype(::std::declval<CodeGeneratorRequest>()._impl_._has_bits_); @@ -623,21 +514,9 @@ {PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_.source_file_descriptors_), _Internal::kHasBitsOffset + 4, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::compiler::Version_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::compiler::Version_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FileDescriptorProto_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FileDescriptorProto_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FileDescriptorProto_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FileDescriptorProto_globals_}, - #endif }}, {{ }}, @@ -693,11 +572,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif CodeGeneratorRequest::IsInitializedImpl, &CodeGeneratorRequest::MergeImpl, Super_::GetNewImpl<CodeGeneratorRequest>(), @@ -708,58 +583,29 @@ PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[1], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct CodeGeneratorRequestGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { constexpr CodeGeneratorRequestGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - CodeGeneratorRequest_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(CodeGeneratorRequest::InternalGenerateClassData_( + : MessageGlobalsBase(CodeGeneratorRequest::InternalGenerateClassData_( _default, &CodeGeneratorRequest_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<CodeGeneratorRequest>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} ~CodeGeneratorRequestGlobalsTypeInternal() {} union { alignas(::_pbi::kMaxMessageAlignment) CodeGeneratorRequest _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<CodeGeneratorRequest>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(CodeGeneratorRequestGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOC_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST CodeGeneratorRequestGlobalsTypeInternal CodeGeneratorRequest_globals_ + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CodeGeneratorRequestGlobalsTypeInternal CodeGeneratorRequest_globals_ PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro); -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* CodeGeneratorRequest_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return CodeGeneratorRequest_globals_.GetClassData(); -#else - return CodeGeneratorRequest_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE } // namespace compiler } // namespace protobuf } // namespace google @@ -896,7 +742,7 @@ Version::Version(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, Version_get_class_data()) { + : Super_(arena, Version_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -914,7 +760,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Version& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, Version_get_class_data()) { + : Super_(arena, Version_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -963,18 +809,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull Version_class_data_ = - Version::InternalGenerateClassData_(Version_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -Version::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&Version_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(Version_class_data_.tc_table); - return Version_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Version::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&Version_globals_); @@ -982,13 +816,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&Version_globals_)); return Version_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const Version::ParseTableT_ - Version::_table_ = - Version::InternalGenerateParseTable_(Version_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void Version::Clear(MessageLite& base) { Version& this_ = static_cast<Version&>(base); @@ -1183,7 +1010,7 @@ } CodeGeneratorRequest::CodeGeneratorRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, CodeGeneratorRequest_get_class_data()) { + : Super_(arena, CodeGeneratorRequest_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -1222,7 +1049,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CodeGeneratorRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, CodeGeneratorRequest_get_class_data()) { + : Super_(arena, CodeGeneratorRequest_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -1279,18 +1106,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull CodeGeneratorRequest_class_data_ = - CodeGeneratorRequest::InternalGenerateClassData_(CodeGeneratorRequest_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -CodeGeneratorRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&CodeGeneratorRequest_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(CodeGeneratorRequest_class_data_.tc_table); - return CodeGeneratorRequest_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL CodeGeneratorRequest::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&CodeGeneratorRequest_globals_); @@ -1298,13 +1113,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&CodeGeneratorRequest_globals_)); return CodeGeneratorRequest_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CodeGeneratorRequest::ParseTableT_ - CodeGeneratorRequest::_table_ = - CodeGeneratorRequest::InternalGenerateParseTable_(CodeGeneratorRequest_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void CodeGeneratorRequest::Clear(MessageLite& base) { CodeGeneratorRequest& this_ = static_cast<CodeGeneratorRequest&>(base); @@ -1555,7 +1363,7 @@ } CodeGeneratorResponse_File::CodeGeneratorResponse_File(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, CodeGeneratorResponse_File_get_class_data()) { + : Super_(arena, CodeGeneratorResponse_File_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -1575,7 +1383,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CodeGeneratorResponse_File& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, CodeGeneratorResponse_File_get_class_data()) { + : Super_(arena, CodeGeneratorResponse_File_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -1621,18 +1429,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull CodeGeneratorResponse_File_class_data_ = - CodeGeneratorResponse_File::InternalGenerateClassData_(CodeGeneratorResponse_File_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -CodeGeneratorResponse_File::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&CodeGeneratorResponse_File_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(CodeGeneratorResponse_File_class_data_.tc_table); - return CodeGeneratorResponse_File_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL CodeGeneratorResponse_File::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&CodeGeneratorResponse_File_globals_); @@ -1640,13 +1436,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&CodeGeneratorResponse_File_globals_)); return CodeGeneratorResponse_File_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CodeGeneratorResponse_File::ParseTableT_ - CodeGeneratorResponse_File::_table_ = - CodeGeneratorResponse_File::InternalGenerateParseTable_(CodeGeneratorResponse_File_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void CodeGeneratorResponse_File::Clear(MessageLite& base) { CodeGeneratorResponse_File& this_ = static_cast<CodeGeneratorResponse_File&>(base); @@ -1837,7 +1626,7 @@ CodeGeneratorResponse::CodeGeneratorResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, CodeGeneratorResponse_get_class_data()) { + : Super_(arena, CodeGeneratorResponse_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -1862,7 +1651,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CodeGeneratorResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, CodeGeneratorResponse_get_class_data()) { + : Super_(arena, CodeGeneratorResponse_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -1916,18 +1705,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull CodeGeneratorResponse_class_data_ = - CodeGeneratorResponse::InternalGenerateClassData_(CodeGeneratorResponse_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -CodeGeneratorResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&CodeGeneratorResponse_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(CodeGeneratorResponse_class_data_.tc_table); - return CodeGeneratorResponse_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL CodeGeneratorResponse::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&CodeGeneratorResponse_globals_); @@ -1935,13 +1712,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&CodeGeneratorResponse_globals_)); return CodeGeneratorResponse_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CodeGeneratorResponse::ParseTableT_ - CodeGeneratorResponse::_table_ = - CodeGeneratorResponse::InternalGenerateParseTable_(CodeGeneratorResponse_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void CodeGeneratorResponse::Clear(MessageLite& base) { CodeGeneratorResponse& this_ = static_cast<CodeGeneratorResponse&>(base);
diff --git a/src/google/protobuf/compiler/plugin.pb.h b/src/google/protobuf/compiler/plugin.pb.h index 90df9b7..0e991be 100644 --- a/src/google/protobuf/compiler/plugin.pb.h +++ b/src/google/protobuf/compiler/plugin.pb.h
@@ -59,36 +59,16 @@ PROTOC_EXPORT extern const uint32_t CodeGeneratorResponse_Feature_internal_data_[]; class CodeGeneratorRequest; struct CodeGeneratorRequestGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOC_EXPORT extern CodeGeneratorRequestGlobalsTypeInternal CodeGeneratorRequest_globals_; -PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull CodeGeneratorRequest_class_data_; -#else PROTOC_EXPORT extern const CodeGeneratorRequestGlobalsTypeInternal CodeGeneratorRequest_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class CodeGeneratorResponse; struct CodeGeneratorResponseGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOC_EXPORT extern CodeGeneratorResponseGlobalsTypeInternal CodeGeneratorResponse_globals_; -PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull CodeGeneratorResponse_class_data_; -#else PROTOC_EXPORT extern const CodeGeneratorResponseGlobalsTypeInternal CodeGeneratorResponse_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class CodeGeneratorResponse_File; struct CodeGeneratorResponse_FileGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOC_EXPORT extern CodeGeneratorResponse_FileGlobalsTypeInternal CodeGeneratorResponse_File_globals_; -PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull CodeGeneratorResponse_File_class_data_; -#else PROTOC_EXPORT extern const CodeGeneratorResponse_FileGlobalsTypeInternal CodeGeneratorResponse_File_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class Version; struct VersionGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOC_EXPORT extern VersionGlobalsTypeInternal Version_globals_; -PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull Version_class_data_; -#else PROTOC_EXPORT extern const VersionGlobalsTypeInternal Version_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS } // namespace compiler template <> internal::EnumTraitsT<::google::protobuf::compiler::CodeGeneratorResponse_Feature_internal_data_> @@ -374,9 +354,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -652,9 +629,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -959,9 +933,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -1278,9 +1249,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena;
diff --git a/src/google/protobuf/cpp_features.pb.cc b/src/google/protobuf/cpp_features.pb.cc index 08e30c5..cbb348c 100644 --- a/src/google/protobuf/cpp_features.pb.cc +++ b/src/google/protobuf/cpp_features.pb.cc
@@ -25,7 +25,6 @@ namespace _pb = ::google::protobuf; namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; -#ifdef PROTOBUF_MESSAGE_GLOBALS namespace { PROTOBUF_CONSTINIT ::google::protobuf::internal::ReflectionData file_reflection_data[] = { @@ -33,7 +32,6 @@ {&::_pbi::kDescriptorMethods, &::descriptor_table_google_2fprotobuf_2fcpp_5ffeatures_2eproto, /* tracker*/ nullptr,}, }; } // namespace -#endif namespace pb { class CppFeatures::_Internal { public: @@ -132,11 +130,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &CppFeatures::MergeImpl, Super_::GetNewImpl<CppFeatures>(), @@ -147,58 +141,29 @@ PROTOBUF_FIELD_OFFSET(CppFeatures, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[0], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fcpp_5ffeatures_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct CppFeaturesGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { constexpr CppFeaturesGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - CppFeatures_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(CppFeatures::InternalGenerateClassData_( + : MessageGlobalsBase(CppFeatures::InternalGenerateClassData_( _default, &CppFeatures_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<CppFeatures>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} ~CppFeaturesGlobalsTypeInternal() {} union { alignas(::_pbi::kMaxMessageAlignment) CppFeatures _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<CppFeatures>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(CppFeaturesGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST CppFeaturesGlobalsTypeInternal CppFeatures_globals_ + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CppFeaturesGlobalsTypeInternal CppFeatures_globals_ PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro); -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* CppFeatures_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return CppFeatures_globals_.GetClassData(); -#else - return CppFeatures_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE } // namespace pb static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL file_level_enum_descriptors_google_2fprotobuf_2fcpp_5ffeatures_2eproto[2]; @@ -291,7 +256,7 @@ CppFeatures::CppFeatures(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, CppFeatures_get_class_data()) { + : Super_(arena, CppFeatures_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -301,7 +266,7 @@ CppFeatures::CppFeatures( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CppFeatures& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, CppFeatures_get_class_data()), + : Super_(arena, CppFeatures_globals_.GetClassData()), #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena), #endif // PROTOBUF_CUSTOM_VTABLE @@ -337,18 +302,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull CppFeatures_class_data_ = - CppFeatures::InternalGenerateClassData_(CppFeatures_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -CppFeatures::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&CppFeatures_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(CppFeatures_class_data_.tc_table); - return CppFeatures_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL CppFeatures::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&CppFeatures_globals_); @@ -356,13 +309,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&CppFeatures_globals_)); return CppFeatures_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CppFeatures::ParseTableT_ - CppFeatures::_table_ = - CppFeatures::InternalGenerateParseTable_(CppFeatures_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void CppFeatures::Clear(MessageLite& base) { CppFeatures& this_ = static_cast<CppFeatures&>(base);
diff --git a/src/google/protobuf/cpp_features.pb.h b/src/google/protobuf/cpp_features.pb.h index 198a2fd..5973ae5 100644 --- a/src/google/protobuf/cpp_features.pb.h +++ b/src/google/protobuf/cpp_features.pb.h
@@ -53,12 +53,7 @@ PROTOBUF_EXPORT extern const uint32_t CppFeatures_StringType_internal_data_[]; class CppFeatures; struct CppFeaturesGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_EXPORT extern CppFeaturesGlobalsTypeInternal CppFeatures_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull CppFeatures_class_data_; -#else PROTOBUF_EXPORT extern const CppFeaturesGlobalsTypeInternal CppFeatures_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS } // namespace pb namespace google { namespace protobuf { @@ -430,9 +425,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena;
diff --git a/src/google/protobuf/cpp_file_options.pb.cc b/src/google/protobuf/cpp_file_options.pb.cc index 78522fb..75fd3b1 100644 --- a/src/google/protobuf/cpp_file_options.pb.cc +++ b/src/google/protobuf/cpp_file_options.pb.cc
@@ -25,7 +25,6 @@ namespace _pb = ::google::protobuf; namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; -#ifdef PROTOBUF_MESSAGE_GLOBALS namespace { PROTOBUF_CONSTINIT ::google::protobuf::internal::ReflectionData file_reflection_data[] = { @@ -33,7 +32,6 @@ {&::_pbi::kDescriptorMethods, &::descriptor_table_google_2fprotobuf_2fcpp_5ffile_5foptions_2eproto, /* tracker*/ nullptr,}, }; } // namespace -#endif namespace pb { namespace file { class CppFileOptions::_Internal { @@ -114,11 +112,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &CppFileOptions::MergeImpl, Super_::GetNewImpl<CppFileOptions>(), @@ -129,58 +123,29 @@ PROTOBUF_FIELD_OFFSET(CppFileOptions, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[0], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fcpp_5ffile_5foptions_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct CppFileOptionsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { constexpr CppFileOptionsGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - CppFileOptions_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(CppFileOptions::InternalGenerateClassData_( + : MessageGlobalsBase(CppFileOptions::InternalGenerateClassData_( _default, &CppFileOptions_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<CppFileOptions>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} ~CppFileOptionsGlobalsTypeInternal() {} union { alignas(::_pbi::kMaxMessageAlignment) CppFileOptions _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<CppFileOptions>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(CppFileOptionsGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST CppFileOptionsGlobalsTypeInternal CppFileOptions_globals_ + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CppFileOptionsGlobalsTypeInternal CppFileOptions_globals_ PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro); -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* CppFileOptions_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return CppFileOptions_globals_.GetClassData(); -#else - return CppFileOptions_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE } // namespace file } // namespace pb static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE @@ -241,7 +206,7 @@ CppFileOptions::CppFileOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, CppFileOptions_get_class_data()) { + : Super_(arena, CppFileOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -259,7 +224,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CppFileOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, CppFileOptions_get_class_data()) { + : Super_(arena, CppFileOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -295,18 +260,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull CppFileOptions_class_data_ = - CppFileOptions::InternalGenerateClassData_(CppFileOptions_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -CppFileOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&CppFileOptions_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(CppFileOptions_class_data_.tc_table); - return CppFileOptions_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL CppFileOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&CppFileOptions_globals_); @@ -314,13 +267,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&CppFileOptions_globals_)); return CppFileOptions_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CppFileOptions::ParseTableT_ - CppFileOptions::_table_ = - CppFileOptions::InternalGenerateParseTable_(CppFileOptions_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void CppFileOptions::Clear(MessageLite& base) { CppFileOptions& this_ = static_cast<CppFileOptions&>(base);
diff --git a/src/google/protobuf/cpp_file_options.pb.h b/src/google/protobuf/cpp_file_options.pb.h index 642a5e9..c52e8ef 100644 --- a/src/google/protobuf/cpp_file_options.pb.h +++ b/src/google/protobuf/cpp_file_options.pb.h
@@ -49,12 +49,7 @@ namespace file { class CppFileOptions; struct CppFileOptionsGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_EXPORT extern CppFileOptionsGlobalsTypeInternal CppFileOptions_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull CppFileOptions_class_data_; -#else PROTOBUF_EXPORT extern const CppFileOptionsGlobalsTypeInternal CppFileOptions_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS } // namespace file } // namespace pb namespace google { @@ -260,9 +255,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena;
diff --git a/src/google/protobuf/descriptor.pb.cc b/src/google/protobuf/descriptor.pb.cc index 2c0010c..e4b2896 100644 --- a/src/google/protobuf/descriptor.pb.cc +++ b/src/google/protobuf/descriptor.pb.cc
@@ -25,7 +25,6 @@ namespace _pb = ::google::protobuf; namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; -#ifdef PROTOBUF_MESSAGE_GLOBALS namespace { PROTOBUF_CONSTINIT ::google::protobuf::internal::ReflectionData file_reflection_data[] = { @@ -101,7 +100,6 @@ {&::_pbi::kDescriptorMethods, &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, /* tracker*/ nullptr,}, }; } // namespace -#endif namespace google { namespace protobuf { class UninterpretedOption_NamePart::_Internal { @@ -189,11 +187,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif UninterpretedOption_NamePart::IsInitializedImpl, &UninterpretedOption_NamePart::MergeImpl, Super_::GetNewImpl<UninterpretedOption_NamePart>(), @@ -204,13 +198,7 @@ PROTOBUF_FIELD_OFFSET(UninterpretedOption_NamePart, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[24], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct UninterpretedOption_NamePartGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -218,19 +206,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES UninterpretedOption_NamePartGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - UninterpretedOption_NamePart_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(UninterpretedOption_NamePart::InternalGenerateClassData_( + : MessageGlobalsBase(UninterpretedOption_NamePart::InternalGenerateClassData_( _default, &UninterpretedOption_NamePart_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<UninterpretedOption_NamePart>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) UninterpretedOption_NamePartGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -238,30 +218,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) UninterpretedOption_NamePart _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<UninterpretedOption_NamePart>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(UninterpretedOption_NamePartGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UninterpretedOption_NamePartGlobalsTypeInternal UninterpretedOption_NamePart_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* UninterpretedOption_NamePart_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return UninterpretedOption_NamePart_globals_.GetClassData(); -#else - return UninterpretedOption_NamePart_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class SourceCodeInfo_Location::_Internal { public: using HasBits = decltype(::std::declval<SourceCodeInfo_Location>()._impl_._has_bits_); @@ -382,11 +347,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &SourceCodeInfo_Location::MergeImpl, Super_::GetNewImpl<SourceCodeInfo_Location>(), @@ -397,13 +358,7 @@ PROTOBUF_FIELD_OFFSET(SourceCodeInfo_Location, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[31], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct SourceCodeInfo_LocationGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -411,19 +366,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES SourceCodeInfo_LocationGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - SourceCodeInfo_Location_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(SourceCodeInfo_Location::InternalGenerateClassData_( + : MessageGlobalsBase(SourceCodeInfo_Location::InternalGenerateClassData_( _default, &SourceCodeInfo_Location_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<SourceCodeInfo_Location>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) SourceCodeInfo_LocationGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -431,30 +378,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) SourceCodeInfo_Location _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<SourceCodeInfo_Location>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(SourceCodeInfo_LocationGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SourceCodeInfo_LocationGlobalsTypeInternal SourceCodeInfo_Location_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* SourceCodeInfo_Location_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return SourceCodeInfo_Location_globals_.GetClassData(); -#else - return SourceCodeInfo_Location_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class GeneratedCodeInfo_Annotation::_Internal { public: using HasBits = decltype(::std::declval<GeneratedCodeInfo_Annotation>()._impl_._has_bits_); @@ -567,11 +499,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &GeneratedCodeInfo_Annotation::MergeImpl, Super_::GetNewImpl<GeneratedCodeInfo_Annotation>(), @@ -582,13 +510,7 @@ PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[33], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct GeneratedCodeInfo_AnnotationGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -596,19 +518,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES GeneratedCodeInfo_AnnotationGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - GeneratedCodeInfo_Annotation_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(GeneratedCodeInfo_Annotation::InternalGenerateClassData_( + : MessageGlobalsBase(GeneratedCodeInfo_Annotation::InternalGenerateClassData_( _default, &GeneratedCodeInfo_Annotation_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<GeneratedCodeInfo_Annotation>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) GeneratedCodeInfo_AnnotationGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -616,30 +530,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) GeneratedCodeInfo_Annotation _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<GeneratedCodeInfo_Annotation>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_AnnotationGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeneratedCodeInfo_AnnotationGlobalsTypeInternal GeneratedCodeInfo_Annotation_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* GeneratedCodeInfo_Annotation_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return GeneratedCodeInfo_Annotation_globals_.GetClassData(); -#else - return GeneratedCodeInfo_Annotation_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class FieldOptions_FeatureSupport::_Internal { public: using HasBits = decltype(::std::declval<FieldOptions_FeatureSupport>()._impl_._has_bits_); @@ -752,11 +651,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &FieldOptions_FeatureSupport::MergeImpl, Super_::GetNewImpl<FieldOptions_FeatureSupport>(), @@ -767,13 +662,7 @@ PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupport, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[17], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct FieldOptions_FeatureSupportGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -781,19 +670,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES FieldOptions_FeatureSupportGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - FieldOptions_FeatureSupport_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(FieldOptions_FeatureSupport::InternalGenerateClassData_( + : MessageGlobalsBase(FieldOptions_FeatureSupport::InternalGenerateClassData_( _default, &FieldOptions_FeatureSupport_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<FieldOptions_FeatureSupport>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) FieldOptions_FeatureSupportGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -801,30 +682,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) FieldOptions_FeatureSupport _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<FieldOptions_FeatureSupport>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(FieldOptions_FeatureSupportGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FieldOptions_FeatureSupportGlobalsTypeInternal FieldOptions_FeatureSupport_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* FieldOptions_FeatureSupport_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return FieldOptions_FeatureSupport_globals_.GetClassData(); -#else - return FieldOptions_FeatureSupport_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class FieldOptions_EditionDefault::_Internal { public: using HasBits = decltype(::std::declval<FieldOptions_EditionDefault>()._impl_._has_bits_); @@ -909,11 +775,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &FieldOptions_EditionDefault::MergeImpl, Super_::GetNewImpl<FieldOptions_EditionDefault>(), @@ -924,13 +786,7 @@ PROTOBUF_FIELD_OFFSET(FieldOptions_EditionDefault, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[16], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct FieldOptions_EditionDefaultGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -938,19 +794,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES FieldOptions_EditionDefaultGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - FieldOptions_EditionDefault_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(FieldOptions_EditionDefault::InternalGenerateClassData_( + : MessageGlobalsBase(FieldOptions_EditionDefault::InternalGenerateClassData_( _default, &FieldOptions_EditionDefault_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<FieldOptions_EditionDefault>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) FieldOptions_EditionDefaultGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -958,30 +806,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) FieldOptions_EditionDefault _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<FieldOptions_EditionDefault>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(FieldOptions_EditionDefaultGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FieldOptions_EditionDefaultGlobalsTypeInternal FieldOptions_EditionDefault_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* FieldOptions_EditionDefault_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return FieldOptions_EditionDefault_globals_.GetClassData(); -#else - return FieldOptions_EditionDefault_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class FeatureSet_VisibilityFeature::_Internal { public: }; @@ -1039,11 +872,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &FeatureSet_VisibilityFeature::MergeImpl, Super_::GetNewImpl<FeatureSet_VisibilityFeature>(), @@ -1054,13 +883,7 @@ PROTOBUF_FIELD_OFFSET(FeatureSet_VisibilityFeature, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[26], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct FeatureSet_VisibilityFeatureGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -1068,19 +891,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES FeatureSet_VisibilityFeatureGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - FeatureSet_VisibilityFeature_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(FeatureSet_VisibilityFeature::InternalGenerateClassData_( + : MessageGlobalsBase(FeatureSet_VisibilityFeature::InternalGenerateClassData_( _default, &FeatureSet_VisibilityFeature_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<FeatureSet_VisibilityFeature>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) FeatureSet_VisibilityFeatureGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -1088,30 +903,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) FeatureSet_VisibilityFeature _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<FeatureSet_VisibilityFeature>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(FeatureSet_VisibilityFeatureGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FeatureSet_VisibilityFeatureGlobalsTypeInternal FeatureSet_VisibilityFeature_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* FeatureSet_VisibilityFeature_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return FeatureSet_VisibilityFeature_globals_.GetClassData(); -#else - return FeatureSet_VisibilityFeature_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class FeatureSet_ProtoLimitsFeature::_Internal { public: }; @@ -1169,11 +969,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &FeatureSet_ProtoLimitsFeature::MergeImpl, Super_::GetNewImpl<FeatureSet_ProtoLimitsFeature>(), @@ -1184,13 +980,7 @@ PROTOBUF_FIELD_OFFSET(FeatureSet_ProtoLimitsFeature, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[27], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct FeatureSet_ProtoLimitsFeatureGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -1198,19 +988,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES FeatureSet_ProtoLimitsFeatureGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - FeatureSet_ProtoLimitsFeature_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(FeatureSet_ProtoLimitsFeature::InternalGenerateClassData_( + : MessageGlobalsBase(FeatureSet_ProtoLimitsFeature::InternalGenerateClassData_( _default, &FeatureSet_ProtoLimitsFeature_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<FeatureSet_ProtoLimitsFeature>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) FeatureSet_ProtoLimitsFeatureGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -1218,30 +1000,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) FeatureSet_ProtoLimitsFeature _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<FeatureSet_ProtoLimitsFeature>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(FeatureSet_ProtoLimitsFeatureGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FeatureSet_ProtoLimitsFeatureGlobalsTypeInternal FeatureSet_ProtoLimitsFeature_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* FeatureSet_ProtoLimitsFeature_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return FeatureSet_ProtoLimitsFeature_globals_.GetClassData(); -#else - return FeatureSet_ProtoLimitsFeature_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class FeatureSet::_Internal { public: using HasBits = decltype(::std::declval<FeatureSet>()._impl_._has_bits_); @@ -1388,11 +1155,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif FeatureSet::IsInitializedImpl, &FeatureSet::MergeImpl, Super_::GetNewImpl<FeatureSet>(), @@ -1403,13 +1166,7 @@ PROTOBUF_FIELD_OFFSET(FeatureSet, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[28], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct FeatureSetGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -1417,19 +1174,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES FeatureSetGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - FeatureSet_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(FeatureSet::InternalGenerateClassData_( + : MessageGlobalsBase(FeatureSet::InternalGenerateClassData_( _default, &FeatureSet_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<FeatureSet>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) FeatureSetGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -1437,30 +1186,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) FeatureSet _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<FeatureSet>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(FeatureSetGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FeatureSetGlobalsTypeInternal FeatureSet_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* FeatureSet_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return FeatureSet_globals_.GetClassData(); -#else - return FeatureSet_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class ExtensionRangeOptions_Declaration::_Internal { public: using HasBits = decltype(::std::declval<ExtensionRangeOptions_Declaration>()._impl_._has_bits_); @@ -1569,11 +1303,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &ExtensionRangeOptions_Declaration::MergeImpl, Super_::GetNewImpl<ExtensionRangeOptions_Declaration>(), @@ -1584,13 +1314,7 @@ PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_Declaration, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[5], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct ExtensionRangeOptions_DeclarationGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -1598,19 +1322,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES ExtensionRangeOptions_DeclarationGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - ExtensionRangeOptions_Declaration_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(ExtensionRangeOptions_Declaration::InternalGenerateClassData_( + : MessageGlobalsBase(ExtensionRangeOptions_Declaration::InternalGenerateClassData_( _default, &ExtensionRangeOptions_Declaration_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<ExtensionRangeOptions_Declaration>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) ExtensionRangeOptions_DeclarationGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -1618,30 +1334,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) ExtensionRangeOptions_Declaration _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<ExtensionRangeOptions_Declaration>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions_DeclarationGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExtensionRangeOptions_DeclarationGlobalsTypeInternal ExtensionRangeOptions_Declaration_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* ExtensionRangeOptions_Declaration_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return ExtensionRangeOptions_Declaration_globals_.GetClassData(); -#else - return ExtensionRangeOptions_Declaration_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class EnumDescriptorProto_EnumReservedRange::_Internal { public: using HasBits = decltype(::std::declval<EnumDescriptorProto_EnumReservedRange>()._impl_._has_bits_); @@ -1722,11 +1423,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &EnumDescriptorProto_EnumReservedRange::MergeImpl, Super_::GetNewImpl<EnumDescriptorProto_EnumReservedRange>(), @@ -1737,13 +1434,7 @@ PROTOBUF_FIELD_OFFSET(EnumDescriptorProto_EnumReservedRange, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[9], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct EnumDescriptorProto_EnumReservedRangeGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -1751,19 +1442,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES EnumDescriptorProto_EnumReservedRangeGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - EnumDescriptorProto_EnumReservedRange_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(EnumDescriptorProto_EnumReservedRange::InternalGenerateClassData_( + : MessageGlobalsBase(EnumDescriptorProto_EnumReservedRange::InternalGenerateClassData_( _default, &EnumDescriptorProto_EnumReservedRange_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<EnumDescriptorProto_EnumReservedRange>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) EnumDescriptorProto_EnumReservedRangeGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -1771,30 +1454,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) EnumDescriptorProto_EnumReservedRange _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<EnumDescriptorProto_EnumReservedRange>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(EnumDescriptorProto_EnumReservedRangeGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumDescriptorProto_EnumReservedRangeGlobalsTypeInternal EnumDescriptorProto_EnumReservedRange_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* EnumDescriptorProto_EnumReservedRange_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return EnumDescriptorProto_EnumReservedRange_globals_.GetClassData(); -#else - return EnumDescriptorProto_EnumReservedRange_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class DescriptorProto_ReservedRange::_Internal { public: using HasBits = decltype(::std::declval<DescriptorProto_ReservedRange>()._impl_._has_bits_); @@ -1875,11 +1543,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &DescriptorProto_ReservedRange::MergeImpl, Super_::GetNewImpl<DescriptorProto_ReservedRange>(), @@ -1890,13 +1554,7 @@ PROTOBUF_FIELD_OFFSET(DescriptorProto_ReservedRange, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[3], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct DescriptorProto_ReservedRangeGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -1904,19 +1562,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES DescriptorProto_ReservedRangeGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - DescriptorProto_ReservedRange_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(DescriptorProto_ReservedRange::InternalGenerateClassData_( + : MessageGlobalsBase(DescriptorProto_ReservedRange::InternalGenerateClassData_( _default, &DescriptorProto_ReservedRange_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<DescriptorProto_ReservedRange>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) DescriptorProto_ReservedRangeGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -1924,30 +1574,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) DescriptorProto_ReservedRange _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<DescriptorProto_ReservedRange>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(DescriptorProto_ReservedRangeGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DescriptorProto_ReservedRangeGlobalsTypeInternal DescriptorProto_ReservedRange_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* DescriptorProto_ReservedRange_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return DescriptorProto_ReservedRange_globals_.GetClassData(); -#else - return DescriptorProto_ReservedRange_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class UninterpretedOption::_Internal { public: using HasBits = decltype(::std::declval<UninterpretedOption>()._impl_._has_bits_); @@ -2022,11 +1657,7 @@ {PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.aggregate_value_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_NamePart_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_NamePart_globals_}, - #endif }}, {{ }}, @@ -2080,11 +1711,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif UninterpretedOption::IsInitializedImpl, &UninterpretedOption::MergeImpl, Super_::GetNewImpl<UninterpretedOption>(), @@ -2095,13 +1722,7 @@ PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[25], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct UninterpretedOptionGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -2109,19 +1730,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES UninterpretedOptionGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - UninterpretedOption_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(UninterpretedOption::InternalGenerateClassData_( + : MessageGlobalsBase(UninterpretedOption::InternalGenerateClassData_( _default, &UninterpretedOption_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<UninterpretedOption>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) UninterpretedOptionGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -2129,30 +1742,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) UninterpretedOption _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<UninterpretedOption>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(UninterpretedOptionGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UninterpretedOptionGlobalsTypeInternal UninterpretedOption_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* UninterpretedOption_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return UninterpretedOption_globals_.GetClassData(); -#else - return UninterpretedOption_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class SourceCodeInfo::_Internal { public: using HasBits = decltype(::std::declval<SourceCodeInfo>()._impl_._has_bits_); @@ -2190,11 +1788,7 @@ {PROTOBUF_FIELD_OFFSET(SourceCodeInfo, _impl_.location_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::SourceCodeInfo_Location_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::SourceCodeInfo_Location_globals_}, - #endif }}, {{ }}, @@ -2236,11 +1830,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif SourceCodeInfo::IsInitializedImpl, &SourceCodeInfo::MergeImpl, Super_::GetNewImpl<SourceCodeInfo>(), @@ -2251,13 +1841,7 @@ PROTOBUF_FIELD_OFFSET(SourceCodeInfo, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[32], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct SourceCodeInfoGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -2265,19 +1849,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES SourceCodeInfoGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - SourceCodeInfo_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(SourceCodeInfo::InternalGenerateClassData_( + : MessageGlobalsBase(SourceCodeInfo::InternalGenerateClassData_( _default, &SourceCodeInfo_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<SourceCodeInfo>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) SourceCodeInfoGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -2285,30 +1861,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) SourceCodeInfo _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<SourceCodeInfo>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(SourceCodeInfoGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SourceCodeInfoGlobalsTypeInternal SourceCodeInfo_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* SourceCodeInfo_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return SourceCodeInfo_globals_.GetClassData(); -#else - return SourceCodeInfo_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class GeneratedCodeInfo::_Internal { public: using HasBits = decltype(::std::declval<GeneratedCodeInfo>()._impl_._has_bits_); @@ -2346,11 +1907,7 @@ {PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo, _impl_.annotation_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::GeneratedCodeInfo_Annotation_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::GeneratedCodeInfo_Annotation_globals_}, - #endif }}, {{ }}, @@ -2392,11 +1949,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &GeneratedCodeInfo::MergeImpl, Super_::GetNewImpl<GeneratedCodeInfo>(), @@ -2407,13 +1960,7 @@ PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[34], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct GeneratedCodeInfoGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -2421,19 +1968,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES GeneratedCodeInfoGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - GeneratedCodeInfo_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(GeneratedCodeInfo::InternalGenerateClassData_( + : MessageGlobalsBase(GeneratedCodeInfo::InternalGenerateClassData_( _default, &GeneratedCodeInfo_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<GeneratedCodeInfo>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) GeneratedCodeInfoGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -2441,30 +1980,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) GeneratedCodeInfo _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<GeneratedCodeInfo>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(GeneratedCodeInfoGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeneratedCodeInfoGlobalsTypeInternal GeneratedCodeInfo_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* GeneratedCodeInfo_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return GeneratedCodeInfo_globals_.GetClassData(); -#else - return GeneratedCodeInfo_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class FeatureSetDefaults_FeatureSetEditionDefault::_Internal { public: using HasBits = decltype(::std::declval<FeatureSetDefaults_FeatureSetEditionDefault>()._impl_._has_bits_); @@ -2515,16 +2039,8 @@ {PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefault, _impl_.fixed_features_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_globals_}, - #endif {::_pbi::FieldAuxEnumData{}, ::google::protobuf::Edition_internal_data_}, }}, {{ @@ -2565,11 +2081,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif FeatureSetDefaults_FeatureSetEditionDefault::IsInitializedImpl, &FeatureSetDefaults_FeatureSetEditionDefault::MergeImpl, Super_::GetNewImpl<FeatureSetDefaults_FeatureSetEditionDefault>(), @@ -2580,13 +2092,7 @@ PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefault, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[29], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct FeatureSetDefaults_FeatureSetEditionDefaultGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -2594,19 +2100,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES FeatureSetDefaults_FeatureSetEditionDefaultGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - FeatureSetDefaults_FeatureSetEditionDefault_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(FeatureSetDefaults_FeatureSetEditionDefault::InternalGenerateClassData_( + : MessageGlobalsBase(FeatureSetDefaults_FeatureSetEditionDefault::InternalGenerateClassData_( _default, &FeatureSetDefaults_FeatureSetEditionDefault_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<FeatureSetDefaults_FeatureSetEditionDefault>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) FeatureSetDefaults_FeatureSetEditionDefaultGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -2614,30 +2112,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) FeatureSetDefaults_FeatureSetEditionDefault _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<FeatureSetDefaults_FeatureSetEditionDefault>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(FeatureSetDefaults_FeatureSetEditionDefaultGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FeatureSetDefaults_FeatureSetEditionDefaultGlobalsTypeInternal FeatureSetDefaults_FeatureSetEditionDefault_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* FeatureSetDefaults_FeatureSetEditionDefault_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return FeatureSetDefaults_FeatureSetEditionDefault_globals_.GetClassData(); -#else - return FeatureSetDefaults_FeatureSetEditionDefault_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class ServiceOptions::_Internal { public: using HasBits = decltype(::std::declval<ServiceOptions>()._impl_._has_bits_); @@ -2692,16 +2175,8 @@ {PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_.uninterpreted_option_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_globals_}, - #endif }}, {{ }}, @@ -2745,11 +2220,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif ServiceOptions::IsInitializedImpl, &ServiceOptions::MergeImpl, Super_::GetNewImpl<ServiceOptions>(), @@ -2760,13 +2231,7 @@ PROTOBUF_FIELD_OFFSET(ServiceOptions, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[22], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct ServiceOptionsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -2774,19 +2239,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES ServiceOptionsGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - ServiceOptions_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(ServiceOptions::InternalGenerateClassData_( + : MessageGlobalsBase(ServiceOptions::InternalGenerateClassData_( _default, &ServiceOptions_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<ServiceOptions>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) ServiceOptionsGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -2794,30 +2251,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) ServiceOptions _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<ServiceOptions>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(ServiceOptionsGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ServiceOptionsGlobalsTypeInternal ServiceOptions_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* ServiceOptions_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return ServiceOptions_globals_.GetClassData(); -#else - return ServiceOptions_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class OneofOptions::_Internal { public: using HasBits = decltype(::std::declval<OneofOptions>()._impl_._has_bits_); @@ -2865,16 +2307,8 @@ {PROTOBUF_FIELD_OFFSET(OneofOptions, _impl_.uninterpreted_option_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_globals_}, - #endif }}, {{ }}, @@ -2917,11 +2351,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif OneofOptions::IsInitializedImpl, &OneofOptions::MergeImpl, Super_::GetNewImpl<OneofOptions>(), @@ -2932,13 +2362,7 @@ PROTOBUF_FIELD_OFFSET(OneofOptions, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[19], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct OneofOptionsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -2946,19 +2370,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES OneofOptionsGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - OneofOptions_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(OneofOptions::InternalGenerateClassData_( + : MessageGlobalsBase(OneofOptions::InternalGenerateClassData_( _default, &OneofOptions_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<OneofOptions>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) OneofOptionsGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -2966,30 +2382,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) OneofOptions _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<OneofOptions>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(OneofOptionsGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OneofOptionsGlobalsTypeInternal OneofOptions_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* OneofOptions_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return OneofOptions_globals_.GetClassData(); -#else - return OneofOptions_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class MethodOptions::_Internal { public: using HasBits = decltype(::std::declval<MethodOptions>()._impl_._has_bits_); @@ -3053,16 +2454,8 @@ {PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_.uninterpreted_option_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_globals_}, - #endif {0, 2}, }}, {{ @@ -3108,11 +2501,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif MethodOptions::IsInitializedImpl, &MethodOptions::MergeImpl, Super_::GetNewImpl<MethodOptions>(), @@ -3123,13 +2512,7 @@ PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[23], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct MethodOptionsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -3137,19 +2520,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES MethodOptionsGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - MethodOptions_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(MethodOptions::InternalGenerateClassData_( + : MessageGlobalsBase(MethodOptions::InternalGenerateClassData_( _default, &MethodOptions_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<MethodOptions>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) MethodOptionsGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -3157,30 +2532,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) MethodOptions _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<MethodOptions>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(MethodOptionsGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MethodOptionsGlobalsTypeInternal MethodOptions_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* MethodOptions_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return MethodOptions_globals_.GetClassData(); -#else - return MethodOptions_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class MessageOptions::_Internal { public: using HasBits = decltype(::std::declval<MessageOptions>()._impl_._has_bits_); @@ -3251,16 +2611,8 @@ {PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.uninterpreted_option_), _Internal::kHasBitsOffset + 6, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_globals_}, - #endif }}, {{ }}, @@ -3308,11 +2660,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif MessageOptions::IsInitializedImpl, &MessageOptions::MergeImpl, Super_::GetNewImpl<MessageOptions>(), @@ -3323,13 +2671,7 @@ PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[15], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct MessageOptionsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -3337,19 +2679,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES MessageOptionsGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - MessageOptions_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(MessageOptions::InternalGenerateClassData_( + : MessageGlobalsBase(MessageOptions::InternalGenerateClassData_( _default, &MessageOptions_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<MessageOptions>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) MessageOptionsGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -3357,30 +2691,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) MessageOptions _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<MessageOptions>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(MessageOptionsGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MessageOptionsGlobalsTypeInternal MessageOptions_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* MessageOptions_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return MessageOptions_globals_.GetClassData(); -#else - return MessageOptions_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class FileOptions::_Internal { public: using HasBits = decltype(::std::declval<FileOptions>()._impl_._has_bits_); @@ -3541,16 +2860,8 @@ {PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.uninterpreted_option_), _Internal::kHasBitsOffset + 20, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_globals_}, - #endif {1, 3}, }}, {{ @@ -3633,11 +2944,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif FileOptions::IsInitializedImpl, &FileOptions::MergeImpl, Super_::GetNewImpl<FileOptions>(), @@ -3648,13 +2955,7 @@ PROTOBUF_FIELD_OFFSET(FileOptions, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[14], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct FileOptionsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -3662,19 +2963,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES FileOptionsGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - FileOptions_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(FileOptions::InternalGenerateClassData_( + : MessageGlobalsBase(FileOptions::InternalGenerateClassData_( _default, &FileOptions_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<FileOptions>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) FileOptionsGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -3682,30 +2975,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) FileOptions _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<FileOptions>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(FileOptionsGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FileOptionsGlobalsTypeInternal FileOptions_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* FileOptions_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return FileOptions_globals_.GetClassData(); -#else - return FileOptions_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class FieldOptions::_Internal { public: using HasBits = decltype(::std::declval<FieldOptions>()._impl_._has_bits_); @@ -3813,26 +3091,10 @@ {PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.uninterpreted_option_), _Internal::kHasBitsOffset + 1, 3, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FieldOptions_EditionDefault_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FieldOptions_EditionDefault_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FieldOptions_FeatureSupport_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FieldOptions_FeatureSupport_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_globals_}, - #endif {0, 2}, {0, 2}, {0, 2}, @@ -3899,11 +3161,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif FieldOptions::IsInitializedImpl, &FieldOptions::MergeImpl, Super_::GetNewImpl<FieldOptions>(), @@ -3914,13 +3172,7 @@ PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[18], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct FieldOptionsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -3928,19 +3180,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES FieldOptionsGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - FieldOptions_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(FieldOptions::InternalGenerateClassData_( + : MessageGlobalsBase(FieldOptions::InternalGenerateClassData_( _default, &FieldOptions_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<FieldOptions>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) FieldOptionsGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -3948,30 +3192,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) FieldOptions _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<FieldOptions>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(FieldOptionsGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FieldOptionsGlobalsTypeInternal FieldOptions_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* FieldOptions_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return FieldOptions_globals_.GetClassData(); -#else - return FieldOptions_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class FeatureSetDefaults::_Internal { public: using HasBits = decltype(::std::declval<FeatureSetDefaults>()._impl_._has_bits_); @@ -4017,11 +3246,7 @@ {PROTOBUF_FIELD_OFFSET(FeatureSetDefaults, _impl_.maximum_edition_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kEnum)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault_globals_}, - #endif {::_pbi::FieldAuxEnumData{}, ::google::protobuf::Edition_internal_data_}, {::_pbi::FieldAuxEnumData{}, ::google::protobuf::Edition_internal_data_}, }}, @@ -4067,11 +3292,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif FeatureSetDefaults::IsInitializedImpl, &FeatureSetDefaults::MergeImpl, Super_::GetNewImpl<FeatureSetDefaults>(), @@ -4082,13 +3303,7 @@ PROTOBUF_FIELD_OFFSET(FeatureSetDefaults, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[30], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct FeatureSetDefaultsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -4096,19 +3311,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES FeatureSetDefaultsGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - FeatureSetDefaults_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(FeatureSetDefaults::InternalGenerateClassData_( + : MessageGlobalsBase(FeatureSetDefaults::InternalGenerateClassData_( _default, &FeatureSetDefaults_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<FeatureSetDefaults>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) FeatureSetDefaultsGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -4116,30 +3323,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) FeatureSetDefaults _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<FeatureSetDefaults>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(FeatureSetDefaultsGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FeatureSetDefaultsGlobalsTypeInternal FeatureSetDefaults_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* FeatureSetDefaults_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return FeatureSetDefaults_globals_.GetClassData(); -#else - return FeatureSetDefaults_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class ExtensionRangeOptions::_Internal { public: using HasBits = decltype(::std::declval<ExtensionRangeOptions>()._impl_._has_bits_); @@ -4200,21 +3392,9 @@ {PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_.uninterpreted_option_), _Internal::kHasBitsOffset + 1, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::ExtensionRangeOptions_Declaration_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::ExtensionRangeOptions_Declaration_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_globals_}, - #endif {0, 1}, }}, {{ @@ -4264,11 +3444,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif ExtensionRangeOptions::IsInitializedImpl, &ExtensionRangeOptions::MergeImpl, Super_::GetNewImpl<ExtensionRangeOptions>(), @@ -4279,13 +3455,7 @@ PROTOBUF_FIELD_OFFSET(ExtensionRangeOptions, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[6], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct ExtensionRangeOptionsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -4293,19 +3463,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES ExtensionRangeOptionsGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - ExtensionRangeOptions_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(ExtensionRangeOptions::InternalGenerateClassData_( + : MessageGlobalsBase(ExtensionRangeOptions::InternalGenerateClassData_( _default, &ExtensionRangeOptions_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<ExtensionRangeOptions>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) ExtensionRangeOptionsGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -4313,30 +3475,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) ExtensionRangeOptions _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<ExtensionRangeOptions>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(ExtensionRangeOptionsGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExtensionRangeOptionsGlobalsTypeInternal ExtensionRangeOptions_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* ExtensionRangeOptions_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return ExtensionRangeOptions_globals_.GetClassData(); -#else - return ExtensionRangeOptions_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class EnumValueOptions::_Internal { public: using HasBits = decltype(::std::declval<EnumValueOptions>()._impl_._has_bits_); @@ -4403,21 +3550,9 @@ {PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_.uninterpreted_option_), _Internal::kHasBitsOffset + 0, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FieldOptions_FeatureSupport_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FieldOptions_FeatureSupport_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_globals_}, - #endif }}, {{ }}, @@ -4463,11 +3598,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif EnumValueOptions::IsInitializedImpl, &EnumValueOptions::MergeImpl, Super_::GetNewImpl<EnumValueOptions>(), @@ -4478,13 +3609,7 @@ PROTOBUF_FIELD_OFFSET(EnumValueOptions, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[21], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct EnumValueOptionsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -4492,19 +3617,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES EnumValueOptionsGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - EnumValueOptions_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(EnumValueOptions::InternalGenerateClassData_( + : MessageGlobalsBase(EnumValueOptions::InternalGenerateClassData_( _default, &EnumValueOptions_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<EnumValueOptions>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) EnumValueOptionsGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -4512,30 +3629,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) EnumValueOptions _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<EnumValueOptions>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(EnumValueOptionsGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumValueOptionsGlobalsTypeInternal EnumValueOptions_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* EnumValueOptions_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return EnumValueOptions_globals_.GetClassData(); -#else - return EnumValueOptions_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class EnumOptions::_Internal { public: using HasBits = decltype(::std::declval<EnumOptions>()._impl_._has_bits_); @@ -4599,16 +3701,8 @@ {PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_.uninterpreted_option_), _Internal::kHasBitsOffset + 4, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FeatureSet_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::UninterpretedOption_globals_}, - #endif }}, {{ }}, @@ -4654,11 +3748,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif EnumOptions::IsInitializedImpl, &EnumOptions::MergeImpl, Super_::GetNewImpl<EnumOptions>(), @@ -4669,13 +3759,7 @@ PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[20], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct EnumOptionsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -4683,19 +3767,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES EnumOptionsGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - EnumOptions_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(EnumOptions::InternalGenerateClassData_( + : MessageGlobalsBase(EnumOptions::InternalGenerateClassData_( _default, &EnumOptions_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<EnumOptions>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) EnumOptionsGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -4703,30 +3779,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) EnumOptions _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<EnumOptions>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(EnumOptionsGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumOptionsGlobalsTypeInternal EnumOptions_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* EnumOptions_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return EnumOptions_globals_.GetClassData(); -#else - return EnumOptions_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class OneofDescriptorProto::_Internal { public: using HasBits = decltype(::std::declval<OneofDescriptorProto>()._impl_._has_bits_); @@ -4770,11 +3831,7 @@ {PROTOBUF_FIELD_OFFSET(OneofDescriptorProto, _impl_.options_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::OneofOptions_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::OneofOptions_globals_}, - #endif }}, {{ }}, @@ -4815,11 +3872,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif OneofDescriptorProto::IsInitializedImpl, &OneofDescriptorProto::MergeImpl, Super_::GetNewImpl<OneofDescriptorProto>(), @@ -4830,13 +3883,7 @@ PROTOBUF_FIELD_OFFSET(OneofDescriptorProto, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[8], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct OneofDescriptorProtoGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -4844,19 +3891,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES OneofDescriptorProtoGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - OneofDescriptorProto_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(OneofDescriptorProto::InternalGenerateClassData_( + : MessageGlobalsBase(OneofDescriptorProto::InternalGenerateClassData_( _default, &OneofDescriptorProto_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<OneofDescriptorProto>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) OneofDescriptorProtoGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -4864,30 +3903,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) OneofDescriptorProto _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<OneofDescriptorProto>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(OneofDescriptorProtoGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OneofDescriptorProtoGlobalsTypeInternal OneofDescriptorProto_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* OneofDescriptorProto_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return OneofDescriptorProto_globals_.GetClassData(); -#else - return OneofDescriptorProto_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class MethodDescriptorProto::_Internal { public: using HasBits = decltype(::std::declval<MethodDescriptorProto>()._impl_._has_bits_); @@ -4957,11 +3981,7 @@ {PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.server_streaming_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::MethodOptions_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::MethodOptions_globals_}, - #endif }}, {{ }}, @@ -5010,11 +4030,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif MethodDescriptorProto::IsInitializedImpl, &MethodDescriptorProto::MergeImpl, Super_::GetNewImpl<MethodDescriptorProto>(), @@ -5025,13 +4041,7 @@ PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[13], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct MethodDescriptorProtoGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -5039,19 +4049,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES MethodDescriptorProtoGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - MethodDescriptorProto_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(MethodDescriptorProto::InternalGenerateClassData_( + : MessageGlobalsBase(MethodDescriptorProto::InternalGenerateClassData_( _default, &MethodDescriptorProto_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<MethodDescriptorProto>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) MethodDescriptorProtoGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -5059,30 +4061,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) MethodDescriptorProto _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<MethodDescriptorProto>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(MethodDescriptorProtoGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MethodDescriptorProtoGlobalsTypeInternal MethodDescriptorProto_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* MethodDescriptorProto_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return MethodDescriptorProto_globals_.GetClassData(); -#else - return MethodDescriptorProto_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class FieldDescriptorProto::_Internal { public: using HasBits = decltype(::std::declval<FieldDescriptorProto>()._impl_._has_bits_); @@ -5182,11 +4169,7 @@ {PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.proto3_optional_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FieldOptions_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FieldOptions_globals_}, - #endif {1, 3}, {1, 18}, }}, @@ -5246,11 +4229,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif FieldDescriptorProto::IsInitializedImpl, &FieldDescriptorProto::MergeImpl, Super_::GetNewImpl<FieldDescriptorProto>(), @@ -5261,13 +4240,7 @@ PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[7], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct FieldDescriptorProtoGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -5275,19 +4248,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES FieldDescriptorProtoGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - FieldDescriptorProto_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(FieldDescriptorProto::InternalGenerateClassData_( + : MessageGlobalsBase(FieldDescriptorProto::InternalGenerateClassData_( _default, &FieldDescriptorProto_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<FieldDescriptorProto>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) FieldDescriptorProtoGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -5295,30 +4260,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) FieldDescriptorProto _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<FieldDescriptorProto>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(FieldDescriptorProtoGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FieldDescriptorProtoGlobalsTypeInternal FieldDescriptorProto_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* FieldDescriptorProto_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return FieldDescriptorProto_globals_.GetClassData(); -#else - return FieldDescriptorProto_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class EnumValueDescriptorProto::_Internal { public: using HasBits = decltype(::std::declval<EnumValueDescriptorProto>()._impl_._has_bits_); @@ -5369,11 +4319,7 @@ {PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_.options_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::EnumValueOptions_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::EnumValueOptions_globals_}, - #endif }}, {{ }}, @@ -5415,11 +4361,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif EnumValueDescriptorProto::IsInitializedImpl, &EnumValueDescriptorProto::MergeImpl, Super_::GetNewImpl<EnumValueDescriptorProto>(), @@ -5430,13 +4372,7 @@ PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[11], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct EnumValueDescriptorProtoGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -5444,19 +4380,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES EnumValueDescriptorProtoGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - EnumValueDescriptorProto_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(EnumValueDescriptorProto::InternalGenerateClassData_( + : MessageGlobalsBase(EnumValueDescriptorProto::InternalGenerateClassData_( _default, &EnumValueDescriptorProto_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<EnumValueDescriptorProto>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) EnumValueDescriptorProtoGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -5464,30 +4392,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) EnumValueDescriptorProto _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<EnumValueDescriptorProto>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProtoGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumValueDescriptorProtoGlobalsTypeInternal EnumValueDescriptorProto_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* EnumValueDescriptorProto_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return EnumValueDescriptorProto_globals_.GetClassData(); -#else - return EnumValueDescriptorProto_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class DescriptorProto_ExtensionRange::_Internal { public: using HasBits = decltype(::std::declval<DescriptorProto_ExtensionRange>()._impl_._has_bits_); @@ -5538,11 +4451,7 @@ {PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_.options_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::ExtensionRangeOptions_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::ExtensionRangeOptions_globals_}, - #endif }}, {{ }}, @@ -5582,11 +4491,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif DescriptorProto_ExtensionRange::IsInitializedImpl, &DescriptorProto_ExtensionRange::MergeImpl, Super_::GetNewImpl<DescriptorProto_ExtensionRange>(), @@ -5597,13 +4502,7 @@ PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[2], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct DescriptorProto_ExtensionRangeGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -5611,19 +4510,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES DescriptorProto_ExtensionRangeGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - DescriptorProto_ExtensionRange_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(DescriptorProto_ExtensionRange::InternalGenerateClassData_( + : MessageGlobalsBase(DescriptorProto_ExtensionRange::InternalGenerateClassData_( _default, &DescriptorProto_ExtensionRange_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<DescriptorProto_ExtensionRange>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) DescriptorProto_ExtensionRangeGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -5631,30 +4522,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) DescriptorProto_ExtensionRange _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<DescriptorProto_ExtensionRange>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRangeGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DescriptorProto_ExtensionRangeGlobalsTypeInternal DescriptorProto_ExtensionRange_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* DescriptorProto_ExtensionRange_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return DescriptorProto_ExtensionRange_globals_.GetClassData(); -#else - return DescriptorProto_ExtensionRange_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class ServiceDescriptorProto::_Internal { public: using HasBits = decltype(::std::declval<ServiceDescriptorProto>()._impl_._has_bits_); @@ -5705,16 +4581,8 @@ {PROTOBUF_FIELD_OFFSET(ServiceDescriptorProto, _impl_.options_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::MethodDescriptorProto_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::MethodDescriptorProto_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::ServiceOptions_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::ServiceOptions_globals_}, - #endif }}, {{ }}, @@ -5760,11 +4628,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif ServiceDescriptorProto::IsInitializedImpl, &ServiceDescriptorProto::MergeImpl, Super_::GetNewImpl<ServiceDescriptorProto>(), @@ -5775,13 +4639,7 @@ PROTOBUF_FIELD_OFFSET(ServiceDescriptorProto, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[12], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct ServiceDescriptorProtoGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -5789,19 +4647,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES ServiceDescriptorProtoGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - ServiceDescriptorProto_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(ServiceDescriptorProto::InternalGenerateClassData_( + : MessageGlobalsBase(ServiceDescriptorProto::InternalGenerateClassData_( _default, &ServiceDescriptorProto_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<ServiceDescriptorProto>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) ServiceDescriptorProtoGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -5809,30 +4659,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) ServiceDescriptorProto _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<ServiceDescriptorProto>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(ServiceDescriptorProtoGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ServiceDescriptorProtoGlobalsTypeInternal ServiceDescriptorProto_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* ServiceDescriptorProto_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return ServiceDescriptorProto_globals_.GetClassData(); -#else - return ServiceDescriptorProto_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class EnumDescriptorProto::_Internal { public: using HasBits = decltype(::std::declval<EnumDescriptorProto>()._impl_._has_bits_); @@ -5902,21 +4737,9 @@ {PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_.visibility_), _Internal::kHasBitsOffset + 5, 3, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::EnumValueDescriptorProto_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::EnumValueDescriptorProto_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::EnumOptions_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::EnumOptions_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::EnumDescriptorProto_EnumReservedRange_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::EnumDescriptorProto_EnumReservedRange_globals_}, - #endif {0, 2}, }}, {{ @@ -5974,11 +4797,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif EnumDescriptorProto::IsInitializedImpl, &EnumDescriptorProto::MergeImpl, Super_::GetNewImpl<EnumDescriptorProto>(), @@ -5989,13 +4808,7 @@ PROTOBUF_FIELD_OFFSET(EnumDescriptorProto, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[10], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct EnumDescriptorProtoGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -6003,19 +4816,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES EnumDescriptorProtoGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - EnumDescriptorProto_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(EnumDescriptorProto::InternalGenerateClassData_( + : MessageGlobalsBase(EnumDescriptorProto::InternalGenerateClassData_( _default, &EnumDescriptorProto_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<EnumDescriptorProto>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) EnumDescriptorProtoGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -6023,30 +4828,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) EnumDescriptorProto _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<EnumDescriptorProto>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(EnumDescriptorProtoGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumDescriptorProtoGlobalsTypeInternal EnumDescriptorProto_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* EnumDescriptorProto_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return EnumDescriptorProto_globals_.GetClassData(); -#else - return EnumDescriptorProto_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class DescriptorProto::_Internal { public: using HasBits = decltype(::std::declval<DescriptorProto>()._impl_._has_bits_); @@ -6149,46 +4939,14 @@ {PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_.visibility_), _Internal::kHasBitsOffset + 10, 8, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FieldDescriptorProto_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FieldDescriptorProto_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::DescriptorProto_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::DescriptorProto_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::EnumDescriptorProto_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::EnumDescriptorProto_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::DescriptorProto_ExtensionRange_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::DescriptorProto_ExtensionRange_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FieldDescriptorProto_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FieldDescriptorProto_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::MessageOptions_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::MessageOptions_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::OneofDescriptorProto_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::OneofDescriptorProto_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::DescriptorProto_ReservedRange_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::DescriptorProto_ReservedRange_globals_}, - #endif {0, 2}, }}, {{ @@ -6271,11 +5029,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif DescriptorProto::IsInitializedImpl, &DescriptorProto::MergeImpl, Super_::GetNewImpl<DescriptorProto>(), @@ -6286,13 +5040,7 @@ PROTOBUF_FIELD_OFFSET(DescriptorProto, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[4], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct DescriptorProtoGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -6300,19 +5048,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES DescriptorProtoGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - DescriptorProto_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(DescriptorProto::InternalGenerateClassData_( + : MessageGlobalsBase(DescriptorProto::InternalGenerateClassData_( _default, &DescriptorProto_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<DescriptorProto>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) DescriptorProtoGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -6320,30 +5060,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) DescriptorProto _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<DescriptorProto>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(DescriptorProtoGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DescriptorProtoGlobalsTypeInternal DescriptorProto_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* DescriptorProto_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return DescriptorProto_globals_.GetClassData(); -#else - return DescriptorProto_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class FileDescriptorProto::_Internal { public: using HasBits = decltype(::std::declval<FileDescriptorProto>()._impl_._has_bits_); @@ -6461,36 +5186,12 @@ {PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.option_dependency_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::DescriptorProto_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::DescriptorProto_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::EnumDescriptorProto_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::EnumDescriptorProto_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::ServiceDescriptorProto_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::ServiceDescriptorProto_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FieldDescriptorProto_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FieldDescriptorProto_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FileOptions_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FileOptions_globals_}, - #endif - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::SourceCodeInfo_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::SourceCodeInfo_globals_}, - #endif {::_pbi::FieldAuxEnumData{}, ::google::protobuf::Edition_internal_data_}, }}, {{ @@ -6580,11 +5281,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif FileDescriptorProto::IsInitializedImpl, &FileDescriptorProto::MergeImpl, Super_::GetNewImpl<FileDescriptorProto>(), @@ -6595,13 +5292,7 @@ PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[1], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct FileDescriptorProtoGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -6609,19 +5300,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES FileDescriptorProtoGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - FileDescriptorProto_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(FileDescriptorProto::InternalGenerateClassData_( + : MessageGlobalsBase(FileDescriptorProto::InternalGenerateClassData_( _default, &FileDescriptorProto_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<FileDescriptorProto>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) FileDescriptorProtoGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -6629,30 +5312,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) FileDescriptorProto _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<FileDescriptorProto>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(FileDescriptorProtoGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FileDescriptorProtoGlobalsTypeInternal FileDescriptorProto_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* FileDescriptorProto_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return FileDescriptorProto_globals_.GetClassData(); -#else - return FileDescriptorProto_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE class FileDescriptorSet::_Internal { public: using HasBits = decltype(::std::declval<FileDescriptorSet>()._impl_._has_bits_); @@ -6690,11 +5358,7 @@ {PROTOBUF_FIELD_OFFSET(FileDescriptorSet, _impl_.file_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, }}, {{ - #ifndef PROTOBUF_MESSAGE_GLOBALS - {::_pbi::FieldAuxClassData(), &::google::protobuf::FileDescriptorProto_class_data_}, - #else {::_pbi::FieldAuxClassData(), &::google::protobuf::FileDescriptorProto_globals_}, - #endif }}, {{ }}, @@ -6736,11 +5400,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif FileDescriptorSet::IsInitializedImpl, &FileDescriptorSet::MergeImpl, Super_::GetNewImpl<FileDescriptorSet>(), @@ -6751,13 +5411,7 @@ PROTOBUF_FIELD_OFFSET(FileDescriptorSet, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[0], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct FileDescriptorSetGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { @@ -6765,19 +5419,11 @@ constexpr #endif // PROTOBUF_CONSTINIT_DEFAULT_INSTANCES FileDescriptorSetGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - FileDescriptorSet_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(FileDescriptorSet::InternalGenerateClassData_( + : MessageGlobalsBase(FileDescriptorSet::InternalGenerateClassData_( _default, &FileDescriptorSet_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<FileDescriptorSet>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) void Init() { ::new (this) FileDescriptorSetGlobalsTypeInternal(); } #endif // !PROTOBUF_CONSTINIT_DEFAULT_INSTANCES @@ -6785,30 +5431,15 @@ union { alignas(::_pbi::kMaxMessageAlignment) FileDescriptorSet _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<FileDescriptorSet>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(FileDescriptorSetGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FileDescriptorSetGlobalsTypeInternal FileDescriptorSet_globals_ ; -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* FileDescriptorSet_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return FileDescriptorSet_globals_.GetClassData(); -#else - return FileDescriptorSet_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE } // namespace protobuf } // namespace google static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL @@ -7878,7 +6509,7 @@ FileDescriptorSet::FileDescriptorSet(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FileDescriptorSet_get_class_data()) { + : Super_(arena, FileDescriptorSet_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -7904,7 +6535,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FileDescriptorSet& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FileDescriptorSet_get_class_data()) { + : Super_(arena, FileDescriptorSet_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -7947,18 +6578,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull FileDescriptorSet_class_data_ = - FileDescriptorSet::InternalGenerateClassData_(FileDescriptorSet_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -FileDescriptorSet::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&FileDescriptorSet_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(FileDescriptorSet_class_data_.tc_table); - return FileDescriptorSet_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FileDescriptorSet::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FileDescriptorSet_globals_); @@ -7966,13 +6585,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&FileDescriptorSet_globals_)); return FileDescriptorSet_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const FileDescriptorSet::ParseTableT_ - FileDescriptorSet::_table_ = - FileDescriptorSet::InternalGenerateParseTable_(FileDescriptorSet_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void FileDescriptorSet::Clear(MessageLite& base) { FileDescriptorSet& this_ = static_cast<FileDescriptorSet&>(base); @@ -8125,7 +6737,7 @@ FileDescriptorProto::FileDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FileDescriptorProto_get_class_data()) { + : Super_(arena, FileDescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -8201,7 +6813,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FileDescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FileDescriptorProto_get_class_data()) { + : Super_(arena, FileDescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -8297,18 +6909,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull FileDescriptorProto_class_data_ = - FileDescriptorProto::InternalGenerateClassData_(FileDescriptorProto_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -FileDescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&FileDescriptorProto_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(FileDescriptorProto_class_data_.tc_table); - return FileDescriptorProto_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FileDescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FileDescriptorProto_globals_); @@ -8316,13 +6916,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&FileDescriptorProto_globals_)); return FileDescriptorProto_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const FileDescriptorProto::ParseTableT_ - FileDescriptorProto::_table_ = - FileDescriptorProto::InternalGenerateParseTable_(FileDescriptorProto_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void FileDescriptorProto::Clear(MessageLite& base) { FileDescriptorProto& this_ = static_cast<FileDescriptorProto&>(base); @@ -8795,7 +7388,7 @@ DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, DescriptorProto_ExtensionRange_get_class_data()) { + : Super_(arena, DescriptorProto_ExtensionRange_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -8812,7 +7405,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DescriptorProto_ExtensionRange& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, DescriptorProto_ExtensionRange_get_class_data()) { + : Super_(arena, DescriptorProto_ExtensionRange_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -8865,18 +7458,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull DescriptorProto_ExtensionRange_class_data_ = - DescriptorProto_ExtensionRange::InternalGenerateClassData_(DescriptorProto_ExtensionRange_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -DescriptorProto_ExtensionRange::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&DescriptorProto_ExtensionRange_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(DescriptorProto_ExtensionRange_class_data_.tc_table); - return DescriptorProto_ExtensionRange_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL DescriptorProto_ExtensionRange::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&DescriptorProto_ExtensionRange_globals_); @@ -8884,13 +7465,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&DescriptorProto_ExtensionRange_globals_)); return DescriptorProto_ExtensionRange_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const DescriptorProto_ExtensionRange::ParseTableT_ - DescriptorProto_ExtensionRange::_table_ = - DescriptorProto_ExtensionRange::InternalGenerateParseTable_(DescriptorProto_ExtensionRange_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void DescriptorProto_ExtensionRange::Clear(MessageLite& base) { DescriptorProto_ExtensionRange& this_ = static_cast<DescriptorProto_ExtensionRange&>(base); @@ -9073,7 +7647,7 @@ DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, DescriptorProto_ReservedRange_get_class_data()) { + : Super_(arena, DescriptorProto_ReservedRange_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -9083,7 +7657,7 @@ DescriptorProto_ReservedRange::DescriptorProto_ReservedRange( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DescriptorProto_ReservedRange& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, DescriptorProto_ReservedRange_get_class_data()), + : Super_(arena, DescriptorProto_ReservedRange_globals_.GetClassData()), #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena), #endif // PROTOBUF_CUSTOM_VTABLE @@ -9119,18 +7693,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull DescriptorProto_ReservedRange_class_data_ = - DescriptorProto_ReservedRange::InternalGenerateClassData_(DescriptorProto_ReservedRange_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -DescriptorProto_ReservedRange::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&DescriptorProto_ReservedRange_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(DescriptorProto_ReservedRange_class_data_.tc_table); - return DescriptorProto_ReservedRange_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL DescriptorProto_ReservedRange::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&DescriptorProto_ReservedRange_globals_); @@ -9138,13 +7700,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&DescriptorProto_ReservedRange_globals_)); return DescriptorProto_ReservedRange_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const DescriptorProto_ReservedRange::ParseTableT_ - DescriptorProto_ReservedRange::_table_ = - DescriptorProto_ReservedRange::InternalGenerateParseTable_(DescriptorProto_ReservedRange_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void DescriptorProto_ReservedRange::Clear(MessageLite& base) { DescriptorProto_ReservedRange& this_ = static_cast<DescriptorProto_ReservedRange&>(base); @@ -9294,7 +7849,7 @@ DescriptorProto::DescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, DescriptorProto_get_class_data()) { + : Super_(arena, DescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -9368,7 +7923,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, DescriptorProto_get_class_data()) { + : Super_(arena, DescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -9456,18 +8011,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull DescriptorProto_class_data_ = - DescriptorProto::InternalGenerateClassData_(DescriptorProto_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -DescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&DescriptorProto_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(DescriptorProto_class_data_.tc_table); - return DescriptorProto_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL DescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&DescriptorProto_globals_); @@ -9475,13 +8018,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&DescriptorProto_globals_)); return DescriptorProto_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const DescriptorProto::ParseTableT_ - DescriptorProto::_table_ = - DescriptorProto::InternalGenerateParseTable_(DescriptorProto_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void DescriptorProto::Clear(MessageLite& base) { DescriptorProto& this_ = static_cast<DescriptorProto&>(base); @@ -9905,7 +8441,7 @@ ExtensionRangeOptions_Declaration::ExtensionRangeOptions_Declaration(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, ExtensionRangeOptions_Declaration_get_class_data()) { + : Super_(arena, ExtensionRangeOptions_Declaration_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -9924,7 +8460,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ExtensionRangeOptions_Declaration& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, ExtensionRangeOptions_Declaration_get_class_data()) { + : Super_(arena, ExtensionRangeOptions_Declaration_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -9975,18 +8511,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_Declaration_class_data_ = - ExtensionRangeOptions_Declaration::InternalGenerateClassData_(ExtensionRangeOptions_Declaration_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -ExtensionRangeOptions_Declaration::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&ExtensionRangeOptions_Declaration_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(ExtensionRangeOptions_Declaration_class_data_.tc_table); - return ExtensionRangeOptions_Declaration_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL ExtensionRangeOptions_Declaration::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&ExtensionRangeOptions_Declaration_globals_); @@ -9994,13 +8518,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&ExtensionRangeOptions_Declaration_globals_)); return ExtensionRangeOptions_Declaration_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ExtensionRangeOptions_Declaration::ParseTableT_ - ExtensionRangeOptions_Declaration::_table_ = - ExtensionRangeOptions_Declaration::InternalGenerateParseTable_(ExtensionRangeOptions_Declaration_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void ExtensionRangeOptions_Declaration::Clear(MessageLite& base) { ExtensionRangeOptions_Declaration& this_ = static_cast<ExtensionRangeOptions_Declaration&>(base); @@ -10196,7 +8713,7 @@ ExtensionRangeOptions::ExtensionRangeOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, ExtensionRangeOptions_get_class_data()) { + : Super_(arena, ExtensionRangeOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -10229,7 +8746,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ExtensionRangeOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, ExtensionRangeOptions_get_class_data()) { + : Super_(arena, ExtensionRangeOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -10285,18 +8802,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_class_data_ = - ExtensionRangeOptions::InternalGenerateClassData_(ExtensionRangeOptions_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -ExtensionRangeOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&ExtensionRangeOptions_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(ExtensionRangeOptions_class_data_.tc_table); - return ExtensionRangeOptions_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL ExtensionRangeOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&ExtensionRangeOptions_globals_); @@ -10304,13 +8809,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&ExtensionRangeOptions_globals_)); return ExtensionRangeOptions_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ExtensionRangeOptions::ParseTableT_ - ExtensionRangeOptions::_table_ = - ExtensionRangeOptions::InternalGenerateParseTable_(ExtensionRangeOptions_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void ExtensionRangeOptions::Clear(MessageLite& base) { ExtensionRangeOptions& this_ = static_cast<ExtensionRangeOptions&>(base); @@ -10547,7 +9045,7 @@ FieldDescriptorProto::FieldDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FieldDescriptorProto_get_class_data()) { + : Super_(arena, FieldDescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -10569,7 +9067,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FieldDescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FieldDescriptorProto_get_class_data()) { + : Super_(arena, FieldDescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -10633,18 +9131,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull FieldDescriptorProto_class_data_ = - FieldDescriptorProto::InternalGenerateClassData_(FieldDescriptorProto_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -FieldDescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&FieldDescriptorProto_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(FieldDescriptorProto_class_data_.tc_table); - return FieldDescriptorProto_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FieldDescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FieldDescriptorProto_globals_); @@ -10652,13 +9138,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&FieldDescriptorProto_globals_)); return FieldDescriptorProto_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const FieldDescriptorProto::ParseTableT_ - FieldDescriptorProto::_table_ = - FieldDescriptorProto::InternalGenerateParseTable_(FieldDescriptorProto_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void FieldDescriptorProto::Clear(MessageLite& base) { FieldDescriptorProto& this_ = static_cast<FieldDescriptorProto&>(base); @@ -10985,7 +9464,7 @@ OneofDescriptorProto::OneofDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, OneofDescriptorProto_get_class_data()) { + : Super_(arena, OneofDescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -11003,7 +9482,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const OneofDescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, OneofDescriptorProto_get_class_data()) { + : Super_(arena, OneofDescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -11045,18 +9524,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull OneofDescriptorProto_class_data_ = - OneofDescriptorProto::InternalGenerateClassData_(OneofDescriptorProto_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -OneofDescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&OneofDescriptorProto_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(OneofDescriptorProto_class_data_.tc_table); - return OneofDescriptorProto_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL OneofDescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&OneofDescriptorProto_globals_); @@ -11064,13 +9531,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&OneofDescriptorProto_globals_)); return OneofDescriptorProto_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const OneofDescriptorProto::ParseTableT_ - OneofDescriptorProto::_table_ = - OneofDescriptorProto::InternalGenerateParseTable_(OneofDescriptorProto_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void OneofDescriptorProto::Clear(MessageLite& base) { OneofDescriptorProto& this_ = static_cast<OneofDescriptorProto&>(base); @@ -11233,7 +9693,7 @@ EnumDescriptorProto_EnumReservedRange::EnumDescriptorProto_EnumReservedRange(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, EnumDescriptorProto_EnumReservedRange_get_class_data()) { + : Super_(arena, EnumDescriptorProto_EnumReservedRange_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -11243,7 +9703,7 @@ EnumDescriptorProto_EnumReservedRange::EnumDescriptorProto_EnumReservedRange( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const EnumDescriptorProto_EnumReservedRange& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, EnumDescriptorProto_EnumReservedRange_get_class_data()), + : Super_(arena, EnumDescriptorProto_EnumReservedRange_globals_.GetClassData()), #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena), #endif // PROTOBUF_CUSTOM_VTABLE @@ -11279,18 +9739,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_EnumReservedRange_class_data_ = - EnumDescriptorProto_EnumReservedRange::InternalGenerateClassData_(EnumDescriptorProto_EnumReservedRange_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -EnumDescriptorProto_EnumReservedRange::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&EnumDescriptorProto_EnumReservedRange_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(EnumDescriptorProto_EnumReservedRange_class_data_.tc_table); - return EnumDescriptorProto_EnumReservedRange_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL EnumDescriptorProto_EnumReservedRange::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&EnumDescriptorProto_EnumReservedRange_globals_); @@ -11298,13 +9746,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&EnumDescriptorProto_EnumReservedRange_globals_)); return EnumDescriptorProto_EnumReservedRange_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const EnumDescriptorProto_EnumReservedRange::ParseTableT_ - EnumDescriptorProto_EnumReservedRange::_table_ = - EnumDescriptorProto_EnumReservedRange::InternalGenerateParseTable_(EnumDescriptorProto_EnumReservedRange_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void EnumDescriptorProto_EnumReservedRange::Clear(MessageLite& base) { EnumDescriptorProto_EnumReservedRange& this_ = static_cast<EnumDescriptorProto_EnumReservedRange&>(base); @@ -11454,7 +9895,7 @@ EnumDescriptorProto::EnumDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, EnumDescriptorProto_get_class_data()) { + : Super_(arena, EnumDescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -11493,7 +9934,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const EnumDescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, EnumDescriptorProto_get_class_data()) { + : Super_(arena, EnumDescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -11556,18 +9997,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_class_data_ = - EnumDescriptorProto::InternalGenerateClassData_(EnumDescriptorProto_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -EnumDescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&EnumDescriptorProto_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(EnumDescriptorProto_class_data_.tc_table); - return EnumDescriptorProto_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL EnumDescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&EnumDescriptorProto_globals_); @@ -11575,13 +10004,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&EnumDescriptorProto_globals_)); return EnumDescriptorProto_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const EnumDescriptorProto::ParseTableT_ - EnumDescriptorProto::_table_ = - EnumDescriptorProto::InternalGenerateParseTable_(EnumDescriptorProto_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void EnumDescriptorProto::Clear(MessageLite& base) { EnumDescriptorProto& this_ = static_cast<EnumDescriptorProto&>(base); @@ -11849,7 +10271,7 @@ EnumValueDescriptorProto::EnumValueDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, EnumValueDescriptorProto_get_class_data()) { + : Super_(arena, EnumValueDescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -11867,7 +10289,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const EnumValueDescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, EnumValueDescriptorProto_get_class_data()) { + : Super_(arena, EnumValueDescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -11915,18 +10337,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull EnumValueDescriptorProto_class_data_ = - EnumValueDescriptorProto::InternalGenerateClassData_(EnumValueDescriptorProto_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -EnumValueDescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&EnumValueDescriptorProto_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(EnumValueDescriptorProto_class_data_.tc_table); - return EnumValueDescriptorProto_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL EnumValueDescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&EnumValueDescriptorProto_globals_); @@ -11934,13 +10344,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&EnumValueDescriptorProto_globals_)); return EnumValueDescriptorProto_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const EnumValueDescriptorProto::ParseTableT_ - EnumValueDescriptorProto::_table_ = - EnumValueDescriptorProto::InternalGenerateParseTable_(EnumValueDescriptorProto_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void EnumValueDescriptorProto::Clear(MessageLite& base) { EnumValueDescriptorProto& this_ = static_cast<EnumValueDescriptorProto&>(base); @@ -12124,7 +10527,7 @@ ServiceDescriptorProto::ServiceDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, ServiceDescriptorProto_get_class_data()) { + : Super_(arena, ServiceDescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -12149,7 +10552,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ServiceDescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, ServiceDescriptorProto_get_class_data()) { + : Super_(arena, ServiceDescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -12196,18 +10599,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull ServiceDescriptorProto_class_data_ = - ServiceDescriptorProto::InternalGenerateClassData_(ServiceDescriptorProto_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -ServiceDescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&ServiceDescriptorProto_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(ServiceDescriptorProto_class_data_.tc_table); - return ServiceDescriptorProto_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL ServiceDescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&ServiceDescriptorProto_globals_); @@ -12215,13 +10606,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&ServiceDescriptorProto_globals_)); return ServiceDescriptorProto_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ServiceDescriptorProto::ParseTableT_ - ServiceDescriptorProto::_table_ = - ServiceDescriptorProto::InternalGenerateParseTable_(ServiceDescriptorProto_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void ServiceDescriptorProto::Clear(MessageLite& base) { ServiceDescriptorProto& this_ = static_cast<ServiceDescriptorProto&>(base); @@ -12414,7 +10798,7 @@ MethodDescriptorProto::MethodDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, MethodDescriptorProto_get_class_data()) { + : Super_(arena, MethodDescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -12434,7 +10818,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MethodDescriptorProto& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, MethodDescriptorProto_get_class_data()) { + : Super_(arena, MethodDescriptorProto_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -12492,18 +10876,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull MethodDescriptorProto_class_data_ = - MethodDescriptorProto::InternalGenerateClassData_(MethodDescriptorProto_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -MethodDescriptorProto::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&MethodDescriptorProto_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(MethodDescriptorProto_class_data_.tc_table); - return MethodDescriptorProto_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL MethodDescriptorProto::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&MethodDescriptorProto_globals_); @@ -12511,13 +10883,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&MethodDescriptorProto_globals_)); return MethodDescriptorProto_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const MethodDescriptorProto::ParseTableT_ - MethodDescriptorProto::_table_ = - MethodDescriptorProto::InternalGenerateParseTable_(MethodDescriptorProto_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void MethodDescriptorProto::Clear(MessageLite& base) { MethodDescriptorProto& this_ = static_cast<MethodDescriptorProto&>(base); @@ -12747,7 +11112,7 @@ FileOptions::FileOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FileOptions_get_class_data()) { + : Super_(arena, FileOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -12783,7 +11148,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FileOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FileOptions_get_class_data()) { + : Super_(arena, FileOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -12866,18 +11231,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull FileOptions_class_data_ = - FileOptions::InternalGenerateClassData_(FileOptions_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -FileOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&FileOptions_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(FileOptions_class_data_.tc_table); - return FileOptions_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FileOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FileOptions_globals_); @@ -12885,13 +11238,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&FileOptions_globals_)); return FileOptions_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const FileOptions::ParseTableT_ - FileOptions::_table_ = - FileOptions::InternalGenerateParseTable_(FileOptions_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void FileOptions::Clear(MessageLite& base) { FileOptions& this_ = static_cast<FileOptions&>(base); @@ -13389,7 +11735,7 @@ MessageOptions::MessageOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, MessageOptions_get_class_data()) { + : Super_(arena, MessageOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -13415,7 +11761,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MessageOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, MessageOptions_get_class_data()) { + : Super_(arena, MessageOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -13476,18 +11822,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull MessageOptions_class_data_ = - MessageOptions::InternalGenerateClassData_(MessageOptions_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -MessageOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&MessageOptions_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(MessageOptions_class_data_.tc_table); - return MessageOptions_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL MessageOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&MessageOptions_globals_); @@ -13495,13 +11829,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&MessageOptions_globals_)); return MessageOptions_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const MessageOptions::ParseTableT_ - MessageOptions::_table_ = - MessageOptions::InternalGenerateParseTable_(MessageOptions_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void MessageOptions::Clear(MessageLite& base) { MessageOptions& this_ = static_cast<MessageOptions&>(base); @@ -13750,7 +12077,7 @@ FieldOptions_EditionDefault::FieldOptions_EditionDefault(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FieldOptions_EditionDefault_get_class_data()) { + : Super_(arena, FieldOptions_EditionDefault_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -13768,7 +12095,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FieldOptions_EditionDefault& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FieldOptions_EditionDefault_get_class_data()) { + : Super_(arena, FieldOptions_EditionDefault_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -13806,18 +12133,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull FieldOptions_EditionDefault_class_data_ = - FieldOptions_EditionDefault::InternalGenerateClassData_(FieldOptions_EditionDefault_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -FieldOptions_EditionDefault::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&FieldOptions_EditionDefault_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(FieldOptions_EditionDefault_class_data_.tc_table); - return FieldOptions_EditionDefault_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FieldOptions_EditionDefault::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FieldOptions_EditionDefault_globals_); @@ -13825,13 +12140,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&FieldOptions_EditionDefault_globals_)); return FieldOptions_EditionDefault_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const FieldOptions_EditionDefault::ParseTableT_ - FieldOptions_EditionDefault::_table_ = - FieldOptions_EditionDefault::InternalGenerateParseTable_(FieldOptions_EditionDefault_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void FieldOptions_EditionDefault::Clear(MessageLite& base) { FieldOptions_EditionDefault& this_ = static_cast<FieldOptions_EditionDefault&>(base); @@ -13975,7 +12283,7 @@ FieldOptions_FeatureSupport::FieldOptions_FeatureSupport(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FieldOptions_FeatureSupport_get_class_data()) { + : Super_(arena, FieldOptions_FeatureSupport_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -13994,7 +12302,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FieldOptions_FeatureSupport& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FieldOptions_FeatureSupport_get_class_data()) { + : Super_(arena, FieldOptions_FeatureSupport_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -14045,18 +12353,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull FieldOptions_FeatureSupport_class_data_ = - FieldOptions_FeatureSupport::InternalGenerateClassData_(FieldOptions_FeatureSupport_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -FieldOptions_FeatureSupport::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&FieldOptions_FeatureSupport_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(FieldOptions_FeatureSupport_class_data_.tc_table); - return FieldOptions_FeatureSupport_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FieldOptions_FeatureSupport::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FieldOptions_FeatureSupport_globals_); @@ -14064,13 +12360,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&FieldOptions_FeatureSupport_globals_)); return FieldOptions_FeatureSupport_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const FieldOptions_FeatureSupport::ParseTableT_ - FieldOptions_FeatureSupport::_table_ = - FieldOptions_FeatureSupport::InternalGenerateParseTable_(FieldOptions_FeatureSupport_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void FieldOptions_FeatureSupport::Clear(MessageLite& base) { FieldOptions_FeatureSupport& this_ = static_cast<FieldOptions_FeatureSupport&>(base); @@ -14275,7 +12564,7 @@ FieldOptions::FieldOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FieldOptions_get_class_data()) { + : Super_(arena, FieldOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -14315,7 +12604,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FieldOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FieldOptions_get_class_data()) { + : Super_(arena, FieldOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -14390,18 +12679,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull FieldOptions_class_data_ = - FieldOptions::InternalGenerateClassData_(FieldOptions_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -FieldOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&FieldOptions_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(FieldOptions_class_data_.tc_table); - return FieldOptions_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FieldOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FieldOptions_globals_); @@ -14409,13 +12686,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&FieldOptions_globals_)); return FieldOptions_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const FieldOptions::ParseTableT_ - FieldOptions::_table_ = - FieldOptions::InternalGenerateParseTable_(FieldOptions_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void FieldOptions::Clear(MessageLite& base) { FieldOptions& this_ = static_cast<FieldOptions&>(base); @@ -14810,7 +13080,7 @@ OneofOptions::OneofOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, OneofOptions_get_class_data()) { + : Super_(arena, OneofOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -14836,7 +13106,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const OneofOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, OneofOptions_get_class_data()) { + : Super_(arena, OneofOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -14885,18 +13155,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull OneofOptions_class_data_ = - OneofOptions::InternalGenerateClassData_(OneofOptions_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -OneofOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&OneofOptions_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(OneofOptions_class_data_.tc_table); - return OneofOptions_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL OneofOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&OneofOptions_globals_); @@ -14904,13 +13162,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&OneofOptions_globals_)); return OneofOptions_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const OneofOptions::ParseTableT_ - OneofOptions::_table_ = - OneofOptions::InternalGenerateParseTable_(OneofOptions_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void OneofOptions::Clear(MessageLite& base) { OneofOptions& this_ = static_cast<OneofOptions&>(base); @@ -15098,7 +13349,7 @@ EnumOptions::EnumOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, EnumOptions_get_class_data()) { + : Super_(arena, EnumOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -15124,7 +13375,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const EnumOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, EnumOptions_get_class_data()) { + : Super_(arena, EnumOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -15185,18 +13436,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull EnumOptions_class_data_ = - EnumOptions::InternalGenerateClassData_(EnumOptions_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -EnumOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&EnumOptions_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(EnumOptions_class_data_.tc_table); - return EnumOptions_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL EnumOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&EnumOptions_globals_); @@ -15204,13 +13443,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&EnumOptions_globals_)); return EnumOptions_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const EnumOptions::ParseTableT_ - EnumOptions::_table_ = - EnumOptions::InternalGenerateParseTable_(EnumOptions_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void EnumOptions::Clear(MessageLite& base) { EnumOptions& this_ = static_cast<EnumOptions&>(base); @@ -15437,7 +13669,7 @@ EnumValueOptions::EnumValueOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, EnumValueOptions_get_class_data()) { + : Super_(arena, EnumValueOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -15463,7 +13695,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const EnumValueOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, EnumValueOptions_get_class_data()) { + : Super_(arena, EnumValueOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -15528,18 +13760,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull EnumValueOptions_class_data_ = - EnumValueOptions::InternalGenerateClassData_(EnumValueOptions_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -EnumValueOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&EnumValueOptions_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(EnumValueOptions_class_data_.tc_table); - return EnumValueOptions_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL EnumValueOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&EnumValueOptions_globals_); @@ -15547,13 +13767,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&EnumValueOptions_globals_)); return EnumValueOptions_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const EnumValueOptions::ParseTableT_ - EnumValueOptions::_table_ = - EnumValueOptions::InternalGenerateParseTable_(EnumValueOptions_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void EnumValueOptions::Clear(MessageLite& base) { EnumValueOptions& this_ = static_cast<EnumValueOptions&>(base); @@ -15796,7 +14009,7 @@ ServiceOptions::ServiceOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, ServiceOptions_get_class_data()) { + : Super_(arena, ServiceOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -15822,7 +14035,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ServiceOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, ServiceOptions_get_class_data()) { + : Super_(arena, ServiceOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -15877,18 +14090,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull ServiceOptions_class_data_ = - ServiceOptions::InternalGenerateClassData_(ServiceOptions_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -ServiceOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&ServiceOptions_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(ServiceOptions_class_data_.tc_table); - return ServiceOptions_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL ServiceOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&ServiceOptions_globals_); @@ -15896,13 +14097,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&ServiceOptions_globals_)); return ServiceOptions_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ServiceOptions::ParseTableT_ - ServiceOptions::_table_ = - ServiceOptions::InternalGenerateParseTable_(ServiceOptions_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void ServiceOptions::Clear(MessageLite& base) { ServiceOptions& this_ = static_cast<ServiceOptions&>(base); @@ -16107,7 +14301,7 @@ MethodOptions::MethodOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, MethodOptions_get_class_data()) { + : Super_(arena, MethodOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -16133,7 +14327,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MethodOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, MethodOptions_get_class_data()) { + : Super_(arena, MethodOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -16194,18 +14388,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull MethodOptions_class_data_ = - MethodOptions::InternalGenerateClassData_(MethodOptions_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -MethodOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&MethodOptions_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(MethodOptions_class_data_.tc_table); - return MethodOptions_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL MethodOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&MethodOptions_globals_); @@ -16213,13 +14395,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&MethodOptions_globals_)); return MethodOptions_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const MethodOptions::ParseTableT_ - MethodOptions::_table_ = - MethodOptions::InternalGenerateParseTable_(MethodOptions_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void MethodOptions::Clear(MessageLite& base) { MethodOptions& this_ = static_cast<MethodOptions&>(base); @@ -16445,7 +14620,7 @@ UninterpretedOption_NamePart::UninterpretedOption_NamePart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, UninterpretedOption_NamePart_get_class_data()) { + : Super_(arena, UninterpretedOption_NamePart_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -16463,7 +14638,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UninterpretedOption_NamePart& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, UninterpretedOption_NamePart_get_class_data()) { + : Super_(arena, UninterpretedOption_NamePart_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -16501,18 +14676,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull UninterpretedOption_NamePart_class_data_ = - UninterpretedOption_NamePart::InternalGenerateClassData_(UninterpretedOption_NamePart_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -UninterpretedOption_NamePart::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&UninterpretedOption_NamePart_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(UninterpretedOption_NamePart_class_data_.tc_table); - return UninterpretedOption_NamePart_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL UninterpretedOption_NamePart::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&UninterpretedOption_NamePart_globals_); @@ -16520,13 +14683,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&UninterpretedOption_NamePart_globals_)); return UninterpretedOption_NamePart_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const UninterpretedOption_NamePart::ParseTableT_ - UninterpretedOption_NamePart::_table_ = - UninterpretedOption_NamePart::InternalGenerateParseTable_(UninterpretedOption_NamePart_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void UninterpretedOption_NamePart::Clear(MessageLite& base) { UninterpretedOption_NamePart& this_ = static_cast<UninterpretedOption_NamePart&>(base); @@ -16674,7 +14830,7 @@ UninterpretedOption::UninterpretedOption(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, UninterpretedOption_get_class_data()) { + : Super_(arena, UninterpretedOption_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -16701,7 +14857,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UninterpretedOption& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, UninterpretedOption_get_class_data()) { + : Super_(arena, UninterpretedOption_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -16759,18 +14915,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull UninterpretedOption_class_data_ = - UninterpretedOption::InternalGenerateClassData_(UninterpretedOption_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -UninterpretedOption::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&UninterpretedOption_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(UninterpretedOption_class_data_.tc_table); - return UninterpretedOption_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL UninterpretedOption::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&UninterpretedOption_globals_); @@ -16778,13 +14922,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&UninterpretedOption_globals_)); return UninterpretedOption_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const UninterpretedOption::ParseTableT_ - UninterpretedOption::_table_ = - UninterpretedOption::InternalGenerateParseTable_(UninterpretedOption_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void UninterpretedOption::Clear(MessageLite& base) { UninterpretedOption& this_ = static_cast<UninterpretedOption&>(base); @@ -17039,7 +15176,7 @@ FeatureSet_VisibilityFeature::FeatureSet_VisibilityFeature(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FeatureSet_VisibilityFeature_get_class_data()) { + : Super_(arena, FeatureSet_VisibilityFeature_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -17049,7 +15186,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FeatureSet_VisibilityFeature& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FeatureSet_VisibilityFeature_get_class_data()) { + : Super_(arena, FeatureSet_VisibilityFeature_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -17062,18 +15199,6 @@ // @@protoc_insertion_point(copy_constructor:google.protobuf.FeatureSet.VisibilityFeature) } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull FeatureSet_VisibilityFeature_class_data_ = - FeatureSet_VisibilityFeature::InternalGenerateClassData_(FeatureSet_VisibilityFeature_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -FeatureSet_VisibilityFeature::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSet_VisibilityFeature_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(FeatureSet_VisibilityFeature_class_data_.tc_table); - return FeatureSet_VisibilityFeature_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FeatureSet_VisibilityFeature::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSet_VisibilityFeature_globals_); @@ -17081,13 +15206,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&FeatureSet_VisibilityFeature_globals_)); return FeatureSet_VisibilityFeature_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const FeatureSet_VisibilityFeature::ParseTableT_ - FeatureSet_VisibilityFeature::_table_ = - FeatureSet_VisibilityFeature::InternalGenerateParseTable_(FeatureSet_VisibilityFeature_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS @@ -17102,7 +15220,7 @@ FeatureSet_ProtoLimitsFeature::FeatureSet_ProtoLimitsFeature(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FeatureSet_ProtoLimitsFeature_get_class_data()) { + : Super_(arena, FeatureSet_ProtoLimitsFeature_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -17112,7 +15230,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FeatureSet_ProtoLimitsFeature& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FeatureSet_ProtoLimitsFeature_get_class_data()) { + : Super_(arena, FeatureSet_ProtoLimitsFeature_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -17125,18 +15243,6 @@ // @@protoc_insertion_point(copy_constructor:google.protobuf.FeatureSet.ProtoLimitsFeature) } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull FeatureSet_ProtoLimitsFeature_class_data_ = - FeatureSet_ProtoLimitsFeature::InternalGenerateClassData_(FeatureSet_ProtoLimitsFeature_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -FeatureSet_ProtoLimitsFeature::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSet_ProtoLimitsFeature_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(FeatureSet_ProtoLimitsFeature_class_data_.tc_table); - return FeatureSet_ProtoLimitsFeature_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FeatureSet_ProtoLimitsFeature::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSet_ProtoLimitsFeature_globals_); @@ -17144,13 +15250,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&FeatureSet_ProtoLimitsFeature_globals_)); return FeatureSet_ProtoLimitsFeature_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const FeatureSet_ProtoLimitsFeature::ParseTableT_ - FeatureSet_ProtoLimitsFeature::_table_ = - FeatureSet_ProtoLimitsFeature::InternalGenerateParseTable_(FeatureSet_ProtoLimitsFeature_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS @@ -17165,7 +15264,7 @@ FeatureSet::FeatureSet(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FeatureSet_get_class_data()) { + : Super_(arena, FeatureSet_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -17184,7 +15283,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FeatureSet& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FeatureSet_get_class_data()) { + : Super_(arena, FeatureSet_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -17235,18 +15334,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull FeatureSet_class_data_ = - FeatureSet::InternalGenerateClassData_(FeatureSet_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -FeatureSet::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSet_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(FeatureSet_class_data_.tc_table); - return FeatureSet_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FeatureSet::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSet_globals_); @@ -17254,13 +15341,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&FeatureSet_globals_)); return FeatureSet_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const FeatureSet::ParseTableT_ - FeatureSet::_table_ = - FeatureSet::InternalGenerateParseTable_(FeatureSet_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void FeatureSet::Clear(MessageLite& base) { FeatureSet& this_ = static_cast<FeatureSet&>(base); @@ -17536,7 +15616,7 @@ FeatureSetDefaults_FeatureSetEditionDefault::FeatureSetDefaults_FeatureSetEditionDefault(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FeatureSetDefaults_FeatureSetEditionDefault_get_class_data()) { + : Super_(arena, FeatureSetDefaults_FeatureSetEditionDefault_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -17553,7 +15633,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FeatureSetDefaults_FeatureSetEditionDefault& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FeatureSetDefaults_FeatureSetEditionDefault_get_class_data()) { + : Super_(arena, FeatureSetDefaults_FeatureSetEditionDefault_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -17604,18 +15684,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_FeatureSetEditionDefault_class_data_ = - FeatureSetDefaults_FeatureSetEditionDefault::InternalGenerateClassData_(FeatureSetDefaults_FeatureSetEditionDefault_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -FeatureSetDefaults_FeatureSetEditionDefault::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSetDefaults_FeatureSetEditionDefault_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(FeatureSetDefaults_FeatureSetEditionDefault_class_data_.tc_table); - return FeatureSetDefaults_FeatureSetEditionDefault_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FeatureSetDefaults_FeatureSetEditionDefault::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSetDefaults_FeatureSetEditionDefault_globals_); @@ -17623,13 +15691,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&FeatureSetDefaults_FeatureSetEditionDefault_globals_)); return FeatureSetDefaults_FeatureSetEditionDefault_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const FeatureSetDefaults_FeatureSetEditionDefault::ParseTableT_ - FeatureSetDefaults_FeatureSetEditionDefault::_table_ = - FeatureSetDefaults_FeatureSetEditionDefault::InternalGenerateParseTable_(FeatureSetDefaults_FeatureSetEditionDefault_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void FeatureSetDefaults_FeatureSetEditionDefault::Clear(MessageLite& base) { FeatureSetDefaults_FeatureSetEditionDefault& this_ = static_cast<FeatureSetDefaults_FeatureSetEditionDefault&>(base); @@ -17820,7 +15881,7 @@ FeatureSetDefaults::FeatureSetDefaults(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FeatureSetDefaults_get_class_data()) { + : Super_(arena, FeatureSetDefaults_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -17844,7 +15905,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FeatureSetDefaults& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, FeatureSetDefaults_get_class_data()) { + : Super_(arena, FeatureSetDefaults_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -17896,18 +15957,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_class_data_ = - FeatureSetDefaults::InternalGenerateClassData_(FeatureSetDefaults_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -FeatureSetDefaults::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSetDefaults_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(FeatureSetDefaults_class_data_.tc_table); - return FeatureSetDefaults_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL FeatureSetDefaults::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&FeatureSetDefaults_globals_); @@ -17915,13 +15964,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&FeatureSetDefaults_globals_)); return FeatureSetDefaults_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const FeatureSetDefaults::ParseTableT_ - FeatureSetDefaults::_table_ = - FeatureSetDefaults::InternalGenerateParseTable_(FeatureSetDefaults_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void FeatureSetDefaults::Clear(MessageLite& base) { FeatureSetDefaults& this_ = static_cast<FeatureSetDefaults&>(base); @@ -18107,7 +16149,7 @@ SourceCodeInfo_Location::SourceCodeInfo_Location(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, SourceCodeInfo_Location_get_class_data()) { + : Super_(arena, SourceCodeInfo_Location_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -18147,7 +16189,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SourceCodeInfo_Location& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, SourceCodeInfo_Location_get_class_data()) { + : Super_(arena, SourceCodeInfo_Location_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -18200,18 +16242,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull SourceCodeInfo_Location_class_data_ = - SourceCodeInfo_Location::InternalGenerateClassData_(SourceCodeInfo_Location_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -SourceCodeInfo_Location::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&SourceCodeInfo_Location_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(SourceCodeInfo_Location_class_data_.tc_table); - return SourceCodeInfo_Location_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL SourceCodeInfo_Location::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&SourceCodeInfo_Location_globals_); @@ -18219,13 +16249,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&SourceCodeInfo_Location_globals_)); return SourceCodeInfo_Location_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SourceCodeInfo_Location::ParseTableT_ - SourceCodeInfo_Location::_table_ = - SourceCodeInfo_Location::InternalGenerateParseTable_(SourceCodeInfo_Location_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void SourceCodeInfo_Location::Clear(MessageLite& base) { SourceCodeInfo_Location& this_ = static_cast<SourceCodeInfo_Location&>(base); @@ -18449,7 +16472,7 @@ SourceCodeInfo::SourceCodeInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, SourceCodeInfo_get_class_data()) { + : Super_(arena, SourceCodeInfo_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -18475,7 +16498,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SourceCodeInfo& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, SourceCodeInfo_get_class_data()) { + : Super_(arena, SourceCodeInfo_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -18518,18 +16541,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull SourceCodeInfo_class_data_ = - SourceCodeInfo::InternalGenerateClassData_(SourceCodeInfo_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -SourceCodeInfo::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&SourceCodeInfo_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(SourceCodeInfo_class_data_.tc_table); - return SourceCodeInfo_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL SourceCodeInfo::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&SourceCodeInfo_globals_); @@ -18537,13 +16548,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&SourceCodeInfo_globals_)); return SourceCodeInfo_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SourceCodeInfo::ParseTableT_ - SourceCodeInfo::_table_ = - SourceCodeInfo::InternalGenerateParseTable_(SourceCodeInfo_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void SourceCodeInfo::Clear(MessageLite& base) { SourceCodeInfo& this_ = static_cast<SourceCodeInfo&>(base); @@ -18694,7 +16698,7 @@ GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, GeneratedCodeInfo_Annotation_get_class_data()) { + : Super_(arena, GeneratedCodeInfo_Annotation_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -18719,7 +16723,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GeneratedCodeInfo_Annotation& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, GeneratedCodeInfo_Annotation_get_class_data()) { + : Super_(arena, GeneratedCodeInfo_Annotation_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -18773,18 +16777,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_Annotation_class_data_ = - GeneratedCodeInfo_Annotation::InternalGenerateClassData_(GeneratedCodeInfo_Annotation_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -GeneratedCodeInfo_Annotation::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&GeneratedCodeInfo_Annotation_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(GeneratedCodeInfo_Annotation_class_data_.tc_table); - return GeneratedCodeInfo_Annotation_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GeneratedCodeInfo_Annotation::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&GeneratedCodeInfo_Annotation_globals_); @@ -18792,13 +16784,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&GeneratedCodeInfo_Annotation_globals_)); return GeneratedCodeInfo_Annotation_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const GeneratedCodeInfo_Annotation::ParseTableT_ - GeneratedCodeInfo_Annotation::_table_ = - GeneratedCodeInfo_Annotation::InternalGenerateParseTable_(GeneratedCodeInfo_Annotation_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void GeneratedCodeInfo_Annotation::Clear(MessageLite& base) { GeneratedCodeInfo_Annotation& this_ = static_cast<GeneratedCodeInfo_Annotation&>(base); @@ -19010,7 +16995,7 @@ GeneratedCodeInfo::GeneratedCodeInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, GeneratedCodeInfo_get_class_data()) { + : Super_(arena, GeneratedCodeInfo_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -19034,7 +17019,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GeneratedCodeInfo& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, GeneratedCodeInfo_get_class_data()) { + : Super_(arena, GeneratedCodeInfo_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -19073,18 +17058,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_class_data_ = - GeneratedCodeInfo::InternalGenerateClassData_(GeneratedCodeInfo_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -GeneratedCodeInfo::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&GeneratedCodeInfo_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(GeneratedCodeInfo_class_data_.tc_table); - return GeneratedCodeInfo_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GeneratedCodeInfo::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&GeneratedCodeInfo_globals_); @@ -19092,13 +17065,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&GeneratedCodeInfo_globals_)); return GeneratedCodeInfo_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const GeneratedCodeInfo::ParseTableT_ - GeneratedCodeInfo::_table_ = - GeneratedCodeInfo::InternalGenerateParseTable_(GeneratedCodeInfo_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void GeneratedCodeInfo::Clear(MessageLite& base) { GeneratedCodeInfo& this_ = static_cast<GeneratedCodeInfo&>(base);
diff --git a/src/google/protobuf/descriptor.pb.h b/src/google/protobuf/descriptor.pb.h index 8283ff7..1d8b19f 100644 --- a/src/google/protobuf/descriptor.pb.h +++ b/src/google/protobuf/descriptor.pb.h
@@ -92,284 +92,109 @@ PROTOBUF_EXPORT extern const uint32_t SymbolVisibility_internal_data_[]; class DescriptorProto; struct DescriptorProtoGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern DescriptorProtoGlobalsTypeInternal DescriptorProto_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DescriptorProto_class_data_; -#else -PROTOBUF_EXPORT extern DescriptorProtoGlobalsTypeInternal DescriptorProto_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class DescriptorProto_ExtensionRange; struct DescriptorProto_ExtensionRangeGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeGlobalsTypeInternal DescriptorProto_ExtensionRange_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DescriptorProto_ExtensionRange_class_data_; -#else -PROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeGlobalsTypeInternal DescriptorProto_ExtensionRange_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class DescriptorProto_ReservedRange; struct DescriptorProto_ReservedRangeGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern DescriptorProto_ReservedRangeGlobalsTypeInternal DescriptorProto_ReservedRange_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DescriptorProto_ReservedRange_class_data_; -#else -PROTOBUF_EXPORT extern DescriptorProto_ReservedRangeGlobalsTypeInternal DescriptorProto_ReservedRange_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class EnumDescriptorProto; struct EnumDescriptorProtoGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern EnumDescriptorProtoGlobalsTypeInternal EnumDescriptorProto_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_class_data_; -#else -PROTOBUF_EXPORT extern EnumDescriptorProtoGlobalsTypeInternal EnumDescriptorProto_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class EnumDescriptorProto_EnumReservedRange; struct EnumDescriptorProto_EnumReservedRangeGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern EnumDescriptorProto_EnumReservedRangeGlobalsTypeInternal EnumDescriptorProto_EnumReservedRange_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_EnumReservedRange_class_data_; -#else -PROTOBUF_EXPORT extern EnumDescriptorProto_EnumReservedRangeGlobalsTypeInternal EnumDescriptorProto_EnumReservedRange_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class EnumOptions; struct EnumOptionsGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern EnumOptionsGlobalsTypeInternal EnumOptions_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumOptions_class_data_; -#else -PROTOBUF_EXPORT extern EnumOptionsGlobalsTypeInternal EnumOptions_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class EnumValueDescriptorProto; struct EnumValueDescriptorProtoGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern EnumValueDescriptorProtoGlobalsTypeInternal EnumValueDescriptorProto_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumValueDescriptorProto_class_data_; -#else -PROTOBUF_EXPORT extern EnumValueDescriptorProtoGlobalsTypeInternal EnumValueDescriptorProto_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class EnumValueOptions; struct EnumValueOptionsGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern EnumValueOptionsGlobalsTypeInternal EnumValueOptions_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumValueOptions_class_data_; -#else -PROTOBUF_EXPORT extern EnumValueOptionsGlobalsTypeInternal EnumValueOptions_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class ExtensionRangeOptions; struct ExtensionRangeOptionsGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern ExtensionRangeOptionsGlobalsTypeInternal ExtensionRangeOptions_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_class_data_; -#else -PROTOBUF_EXPORT extern ExtensionRangeOptionsGlobalsTypeInternal ExtensionRangeOptions_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class ExtensionRangeOptions_Declaration; struct ExtensionRangeOptions_DeclarationGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern ExtensionRangeOptions_DeclarationGlobalsTypeInternal ExtensionRangeOptions_Declaration_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_Declaration_class_data_; -#else -PROTOBUF_EXPORT extern ExtensionRangeOptions_DeclarationGlobalsTypeInternal ExtensionRangeOptions_Declaration_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class FeatureSet; struct FeatureSetGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern FeatureSetGlobalsTypeInternal FeatureSet_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSet_class_data_; -#else -PROTOBUF_EXPORT extern FeatureSetGlobalsTypeInternal FeatureSet_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class FeatureSetDefaults; struct FeatureSetDefaultsGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern FeatureSetDefaultsGlobalsTypeInternal FeatureSetDefaults_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_class_data_; -#else -PROTOBUF_EXPORT extern FeatureSetDefaultsGlobalsTypeInternal FeatureSetDefaults_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class FeatureSetDefaults_FeatureSetEditionDefault; struct FeatureSetDefaults_FeatureSetEditionDefaultGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern FeatureSetDefaults_FeatureSetEditionDefaultGlobalsTypeInternal FeatureSetDefaults_FeatureSetEditionDefault_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_FeatureSetEditionDefault_class_data_; -#else -PROTOBUF_EXPORT extern FeatureSetDefaults_FeatureSetEditionDefaultGlobalsTypeInternal FeatureSetDefaults_FeatureSetEditionDefault_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class FeatureSet_ProtoLimitsFeature; struct FeatureSet_ProtoLimitsFeatureGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern FeatureSet_ProtoLimitsFeatureGlobalsTypeInternal FeatureSet_ProtoLimitsFeature_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSet_ProtoLimitsFeature_class_data_; -#else -PROTOBUF_EXPORT extern FeatureSet_ProtoLimitsFeatureGlobalsTypeInternal FeatureSet_ProtoLimitsFeature_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class FeatureSet_VisibilityFeature; struct FeatureSet_VisibilityFeatureGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern FeatureSet_VisibilityFeatureGlobalsTypeInternal FeatureSet_VisibilityFeature_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSet_VisibilityFeature_class_data_; -#else -PROTOBUF_EXPORT extern FeatureSet_VisibilityFeatureGlobalsTypeInternal FeatureSet_VisibilityFeature_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class FieldDescriptorProto; struct FieldDescriptorProtoGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern FieldDescriptorProtoGlobalsTypeInternal FieldDescriptorProto_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldDescriptorProto_class_data_; -#else -PROTOBUF_EXPORT extern FieldDescriptorProtoGlobalsTypeInternal FieldDescriptorProto_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class FieldOptions; struct FieldOptionsGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern FieldOptionsGlobalsTypeInternal FieldOptions_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldOptions_class_data_; -#else -PROTOBUF_EXPORT extern FieldOptionsGlobalsTypeInternal FieldOptions_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class FieldOptions_EditionDefault; struct FieldOptions_EditionDefaultGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern FieldOptions_EditionDefaultGlobalsTypeInternal FieldOptions_EditionDefault_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldOptions_EditionDefault_class_data_; -#else -PROTOBUF_EXPORT extern FieldOptions_EditionDefaultGlobalsTypeInternal FieldOptions_EditionDefault_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class FieldOptions_FeatureSupport; struct FieldOptions_FeatureSupportGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern FieldOptions_FeatureSupportGlobalsTypeInternal FieldOptions_FeatureSupport_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldOptions_FeatureSupport_class_data_; -#else -PROTOBUF_EXPORT extern FieldOptions_FeatureSupportGlobalsTypeInternal FieldOptions_FeatureSupport_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class FileDescriptorProto; struct FileDescriptorProtoGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern FileDescriptorProtoGlobalsTypeInternal FileDescriptorProto_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileDescriptorProto_class_data_; -#else -PROTOBUF_EXPORT extern FileDescriptorProtoGlobalsTypeInternal FileDescriptorProto_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class FileDescriptorSet; struct FileDescriptorSetGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern FileDescriptorSetGlobalsTypeInternal FileDescriptorSet_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileDescriptorSet_class_data_; -#else -PROTOBUF_EXPORT extern FileDescriptorSetGlobalsTypeInternal FileDescriptorSet_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class FileOptions; struct FileOptionsGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern FileOptionsGlobalsTypeInternal FileOptions_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileOptions_class_data_; -#else -PROTOBUF_EXPORT extern FileOptionsGlobalsTypeInternal FileOptions_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class GeneratedCodeInfo; struct GeneratedCodeInfoGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern GeneratedCodeInfoGlobalsTypeInternal GeneratedCodeInfo_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_class_data_; -#else -PROTOBUF_EXPORT extern GeneratedCodeInfoGlobalsTypeInternal GeneratedCodeInfo_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class GeneratedCodeInfo_Annotation; struct GeneratedCodeInfo_AnnotationGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationGlobalsTypeInternal GeneratedCodeInfo_Annotation_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_Annotation_class_data_; -#else -PROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationGlobalsTypeInternal GeneratedCodeInfo_Annotation_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class MessageOptions; struct MessageOptionsGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern MessageOptionsGlobalsTypeInternal MessageOptions_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull MessageOptions_class_data_; -#else -PROTOBUF_EXPORT extern MessageOptionsGlobalsTypeInternal MessageOptions_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class MethodDescriptorProto; struct MethodDescriptorProtoGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern MethodDescriptorProtoGlobalsTypeInternal MethodDescriptorProto_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull MethodDescriptorProto_class_data_; -#else -PROTOBUF_EXPORT extern MethodDescriptorProtoGlobalsTypeInternal MethodDescriptorProto_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class MethodOptions; struct MethodOptionsGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern MethodOptionsGlobalsTypeInternal MethodOptions_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull MethodOptions_class_data_; -#else -PROTOBUF_EXPORT extern MethodOptionsGlobalsTypeInternal MethodOptions_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class OneofDescriptorProto; struct OneofDescriptorProtoGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern OneofDescriptorProtoGlobalsTypeInternal OneofDescriptorProto_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull OneofDescriptorProto_class_data_; -#else -PROTOBUF_EXPORT extern OneofDescriptorProtoGlobalsTypeInternal OneofDescriptorProto_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class OneofOptions; struct OneofOptionsGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern OneofOptionsGlobalsTypeInternal OneofOptions_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull OneofOptions_class_data_; -#else -PROTOBUF_EXPORT extern OneofOptionsGlobalsTypeInternal OneofOptions_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class ServiceDescriptorProto; struct ServiceDescriptorProtoGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern ServiceDescriptorProtoGlobalsTypeInternal ServiceDescriptorProto_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ServiceDescriptorProto_class_data_; -#else -PROTOBUF_EXPORT extern ServiceDescriptorProtoGlobalsTypeInternal ServiceDescriptorProto_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class ServiceOptions; struct ServiceOptionsGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern ServiceOptionsGlobalsTypeInternal ServiceOptions_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ServiceOptions_class_data_; -#else -PROTOBUF_EXPORT extern ServiceOptionsGlobalsTypeInternal ServiceOptions_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class SourceCodeInfo; struct SourceCodeInfoGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern SourceCodeInfoGlobalsTypeInternal SourceCodeInfo_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull SourceCodeInfo_class_data_; -#else -PROTOBUF_EXPORT extern SourceCodeInfoGlobalsTypeInternal SourceCodeInfo_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class SourceCodeInfo_Location; struct SourceCodeInfo_LocationGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern SourceCodeInfo_LocationGlobalsTypeInternal SourceCodeInfo_Location_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull SourceCodeInfo_Location_class_data_; -#else -PROTOBUF_EXPORT extern SourceCodeInfo_LocationGlobalsTypeInternal SourceCodeInfo_Location_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class UninterpretedOption; struct UninterpretedOptionGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern UninterpretedOptionGlobalsTypeInternal UninterpretedOption_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull UninterpretedOption_class_data_; -#else -PROTOBUF_EXPORT extern UninterpretedOptionGlobalsTypeInternal UninterpretedOption_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS class UninterpretedOption_NamePart; struct UninterpretedOption_NamePartGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern UninterpretedOption_NamePartGlobalsTypeInternal UninterpretedOption_NamePart_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull UninterpretedOption_NamePart_class_data_; -#else -PROTOBUF_EXPORT extern UninterpretedOption_NamePartGlobalsTypeInternal UninterpretedOption_NamePart_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS template <> internal::EnumTraitsT<::google::protobuf::Edition_internal_data_> internal::EnumTraitsImpl::value<::google::protobuf::Edition>; @@ -1469,9 +1294,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -1779,9 +1601,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -2087,9 +1906,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -2370,9 +2186,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -2611,9 +2424,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -2801,9 +2611,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -2972,9 +2779,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -3618,9 +3422,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -3905,9 +3706,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -4141,9 +3939,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -4374,9 +4169,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -4697,9 +4489,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -5128,9 +4917,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -5359,9 +5145,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -5616,9 +5399,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -6070,9 +5850,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -6513,9 +6290,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -7000,9 +6774,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -7504,9 +7275,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -8250,9 +8018,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -8970,9 +8735,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -9243,9 +9005,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -9739,9 +9498,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -10223,9 +9979,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -10704,9 +10457,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -10955,9 +10705,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -11260,9 +11007,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -11696,9 +11440,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -11964,9 +11705,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -12219,9 +11957,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -12488,9 +12223,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -12818,9 +12550,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -13257,9 +12986,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -13753,9 +13479,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -14190,9 +13913,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena;
diff --git a/src/google/protobuf/json_enumvalue_options.pb.cc b/src/google/protobuf/json_enumvalue_options.pb.cc index b6e01a3..bd025e6 100644 --- a/src/google/protobuf/json_enumvalue_options.pb.cc +++ b/src/google/protobuf/json_enumvalue_options.pb.cc
@@ -25,7 +25,6 @@ namespace _pb = ::google::protobuf; namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; -#ifdef PROTOBUF_MESSAGE_GLOBALS namespace { PROTOBUF_CONSTINIT ::google::protobuf::internal::ReflectionData file_reflection_data[] = { @@ -33,7 +32,6 @@ {&::_pbi::kDescriptorMethods, &::descriptor_table_google_2fprotobuf_2fjson_5fenumvalue_5foptions_2eproto, /* tracker*/ nullptr,}, }; } // namespace -#endif namespace pb { namespace enumvalue { class JsonEnumValueOptions::_Internal { @@ -114,11 +112,7 @@ return ::google::protobuf::internal::ClassDataFull{ ::google::protobuf::internal::ClassData{ &prototype, -#ifndef PROTOBUF_MESSAGE_GLOBALS - &_table_.header, -#else tc_table, -#endif nullptr, // IsInitialized &JsonEnumValueOptions::MergeImpl, Super_::GetNewImpl<JsonEnumValueOptions>(), @@ -129,58 +123,29 @@ PROTOBUF_FIELD_OFFSET(JsonEnumValueOptions, _impl_._cached_size_), false, }, -#ifdef PROTOBUF_MESSAGE_GLOBALS &file_reflection_data[0], -#else // !PROTOBUF_MESSAGE_GLOBALS - &::_pbi::kDescriptorMethods, - &descriptor_table_google_2fprotobuf_2fjson_5fenumvalue_5foptions_2eproto, - nullptr, // tracker -#endif // PROTOBUF_MESSAGE_GLOBALS }; } struct JsonEnumValueOptionsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { constexpr JsonEnumValueOptionsGlobalsTypeInternal() - : -#ifndef PROTOBUF_MESSAGE_GLOBALS - _default(::_pbi::ConstantInitialized{}, - JsonEnumValueOptions_class_data_.base()) -#else // !PROTOBUF_MESSAGE_GLOBALS - MessageGlobalsBase(JsonEnumValueOptions::InternalGenerateClassData_( + : MessageGlobalsBase(JsonEnumValueOptions::InternalGenerateClassData_( _default, &JsonEnumValueOptions_globals_._table.header)), _default(::_pbi::ConstantInitialized{}, GetClassData()), _table(::_pbi::PrivateAccess::GenerateParseTable<JsonEnumValueOptions>( - GetClassData())) -#endif // PROTOBUF_MESSAGE_GLOBALS - { - } + GetClassData())) {} ~JsonEnumValueOptionsGlobalsTypeInternal() {} union { alignas(::_pbi::kMaxMessageAlignment) JsonEnumValueOptions _default; }; -#ifdef PROTOBUF_MESSAGE_GLOBALS decltype(::_pbi::PrivateAccess::GenerateParseTable<JsonEnumValueOptions>( ::std::declval<const ::_pbi::ClassData*>())) _table; -#endif }; -#ifdef PROTOBUF_MESSAGE_GLOBALS static_assert(PROTOBUF_FIELD_OFFSET(JsonEnumValueOptionsGlobalsTypeInternal, _default) == ::_pbi::MessageGlobalsBase::OffsetToDefault()); -#endif // PROTOBUF_MESSAGE_GLOBALS PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST JsonEnumValueOptionsGlobalsTypeInternal JsonEnumValueOptions_globals_ + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const JsonEnumValueOptionsGlobalsTypeInternal JsonEnumValueOptions_globals_ PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro); -#if defined(PROTOBUF_CUSTOM_VTABLE) -namespace { -const ::_pbi::ClassData* JsonEnumValueOptions_get_class_data() { -#ifdef PROTOBUF_MESSAGE_GLOBALS - return JsonEnumValueOptions_globals_.GetClassData(); -#else - return JsonEnumValueOptions_class_data_.base(); -#endif // PROTOBUF_MESSAGE_GLOBALS -} -} // namespace -#endif // PROTOBUF_CUSTOM_VTABLE } // namespace enumvalue } // namespace pb static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE @@ -242,7 +207,7 @@ JsonEnumValueOptions::JsonEnumValueOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, JsonEnumValueOptions_get_class_data()) { + : Super_(arena, JsonEnumValueOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { #endif // PROTOBUF_CUSTOM_VTABLE @@ -260,7 +225,7 @@ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JsonEnumValueOptions& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : Super_(arena, JsonEnumValueOptions_get_class_data()) { + : Super_(arena, JsonEnumValueOptions_globals_.GetClassData()) { #else // PROTOBUF_CUSTOM_VTABLE : Super_(arena) { @@ -296,18 +261,6 @@ this_._impl_.~Impl_(); } -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const - ::google::protobuf::internal::ClassDataFull JsonEnumValueOptions_class_data_ = - JsonEnumValueOptions::InternalGenerateClassData_(JsonEnumValueOptions_globals_._default); - -PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL -JsonEnumValueOptions::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&JsonEnumValueOptions_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(JsonEnumValueOptions_class_data_.tc_table); - return JsonEnumValueOptions_class_data_.base(); -} -#else PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL JsonEnumValueOptions::GetClassData() const { ::google::protobuf::internal::PrefetchToLocalCache(&JsonEnumValueOptions_globals_); @@ -315,13 +268,6 @@ ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&JsonEnumValueOptions_globals_)); return JsonEnumValueOptions_globals_.GetClassData(); } -#endif // !PROTOBUF_MESSAGE_GLOBALS -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const JsonEnumValueOptions::ParseTableT_ - JsonEnumValueOptions::_table_ = - JsonEnumValueOptions::InternalGenerateParseTable_(JsonEnumValueOptions_class_data_.base()); -#endif // !PROTOBUF_MESSAGE_GLOBALS #if defined(PROTOBUF_CUSTOM_VTABLE) PROTOBUF_NOINLINE void JsonEnumValueOptions::Clear(MessageLite& base) { JsonEnumValueOptions& this_ = static_cast<JsonEnumValueOptions&>(base);
diff --git a/src/google/protobuf/json_enumvalue_options.pb.h b/src/google/protobuf/json_enumvalue_options.pb.h index 92cee78..72b0ba2 100644 --- a/src/google/protobuf/json_enumvalue_options.pb.h +++ b/src/google/protobuf/json_enumvalue_options.pb.h
@@ -49,12 +49,7 @@ namespace enumvalue { class JsonEnumValueOptions; struct JsonEnumValueOptionsGlobalsTypeInternal; -#ifndef PROTOBUF_MESSAGE_GLOBALS -PROTOBUF_EXPORT extern JsonEnumValueOptionsGlobalsTypeInternal JsonEnumValueOptions_globals_; -PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull JsonEnumValueOptions_class_data_; -#else PROTOBUF_EXPORT extern const JsonEnumValueOptionsGlobalsTypeInternal JsonEnumValueOptions_globals_; -#endif // PROTOBUF_MESSAGE_GLOBALS } // namespace enumvalue } // namespace pb namespace google { @@ -260,9 +255,6 @@ static constexpr ParseTableT_ InternalGenerateParseTable_( const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); friend class ::google::protobuf::internal::TcParser; - #ifndef PROTOBUF_MESSAGE_GLOBALS - static const ParseTableT_ _table_; - #endif friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena;
diff --git a/src/google/protobuf/port_def.inc b/src/google/protobuf/port_def.inc index 73310d0..7454ed5 100644 --- a/src/google/protobuf/port_def.inc +++ b/src/google/protobuf/port_def.inc
@@ -825,7 +825,6 @@ #endif // TODO: Clean up these macros #define PROTOBUF_MESSAGE_GLOBALS -#define PROTOBUF_MESSAGE_GLOBALS_CONST const #if !defined(PROTOBUF_MESSAGE_GLOBALS_SECTION) #define PROTOBUF_MESSAGE_GLOBALS_SECTION(x)