Auto-generate files after cl/673010897

pull/18192/head
Protobuf Team Bot 3 months ago
parent ad9bf317a5
commit 5771b06672
  1. 17
      src/google/protobuf/any.pb.cc
  2. 10
      src/google/protobuf/any.pb.h
  3. 55
      src/google/protobuf/api.pb.cc
  4. 30
      src/google/protobuf/api.pb.h
  5. 13
      src/google/protobuf/duration.pb.cc
  6. 10
      src/google/protobuf/duration.pb.h
  7. 2
      src/google/protobuf/empty.pb.cc
  8. 8
      src/google/protobuf/empty.pb.h
  9. 13
      src/google/protobuf/field_mask.pb.cc
  10. 10
      src/google/protobuf/field_mask.pb.h
  11. 15
      src/google/protobuf/source_context.pb.cc
  12. 10
      src/google/protobuf/source_context.pb.h
  13. 45
      src/google/protobuf/struct.pb.cc
  14. 30
      src/google/protobuf/struct.pb.h
  15. 13
      src/google/protobuf/timestamp.pb.cc
  16. 10
      src/google/protobuf/timestamp.pb.h
  17. 91
      src/google/protobuf/type.pb.cc
  18. 50
      src/google/protobuf/type.pb.h
  19. 121
      src/google/protobuf/wrappers.pb.cc
  20. 90
      src/google/protobuf/wrappers.pb.h

@ -176,14 +176,15 @@ inline void Any::SharedCtor(::_pb::Arena* arena) {
} }
Any::~Any() { Any::~Any() {
// @@protoc_insertion_point(destructor:google.protobuf.Any) // @@protoc_insertion_point(destructor:google.protobuf.Any)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void Any::SharedDtor() { inline void Any::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); Any& this_ = static_cast<Any&>(self);
_impl_.type_url_.Destroy(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
_impl_.value_.Destroy(); ABSL_DCHECK(this_.GetArena() == nullptr);
_impl_.~Impl_(); this_._impl_.type_url_.Destroy();
this_._impl_.value_.Destroy();
this_._impl_.~Impl_();
} }
inline void* Any::PlacementNew_(const void*, void* mem, inline void* Any::PlacementNew_(const void*, void* mem,
@ -205,7 +206,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&Any::MergeImpl, &Any::MergeImpl,
::google::protobuf::Message::GetNewImpl<Any>(), ::google::protobuf::Message::GetNewImpl<Any>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Any>(), &Any::SharedDtor,
::google::protobuf::Message::GetClearImpl<Any>(), &Any::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<Any>(), &Any::ByteSizeLong,
&Any::_InternalSerialize, &Any::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE

@ -72,6 +72,14 @@ class PROTOBUF_EXPORT Any final
public: public:
inline Any() : Any(nullptr) {} inline Any() : Any(nullptr) {}
~Any() PROTOBUF_FINAL; ~Any() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Any* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Any));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR Any( explicit PROTOBUF_CONSTEXPR Any(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -234,7 +242,7 @@ class PROTOBUF_EXPORT Any final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(Any* other); void InternalSwap(Any* other);
private: private:
template <typename T> template <typename T>

@ -324,15 +324,16 @@ inline void Api::SharedCtor(::_pb::Arena* arena) {
} }
Api::~Api() { Api::~Api() {
// @@protoc_insertion_point(destructor:google.protobuf.Api) // @@protoc_insertion_point(destructor:google.protobuf.Api)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void Api::SharedDtor() { inline void Api::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); Api& this_ = static_cast<Api&>(self);
_impl_.name_.Destroy(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
_impl_.version_.Destroy(); ABSL_DCHECK(this_.GetArena() == nullptr);
delete _impl_.source_context_; this_._impl_.name_.Destroy();
_impl_.~Impl_(); this_._impl_.version_.Destroy();
delete this_._impl_.source_context_;
this_._impl_.~Impl_();
} }
inline void* Api::PlacementNew_(const void*, void* mem, inline void* Api::PlacementNew_(const void*, void* mem,
@ -373,7 +374,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&Api::MergeImpl, &Api::MergeImpl,
::google::protobuf::Message::GetNewImpl<Api>(), ::google::protobuf::Message::GetNewImpl<Api>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Api>(), &Api::SharedDtor,
::google::protobuf::Message::GetClearImpl<Api>(), &Api::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<Api>(), &Api::ByteSizeLong,
&Api::_InternalSerialize, &Api::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -785,15 +786,16 @@ inline void Method::SharedCtor(::_pb::Arena* arena) {
} }
Method::~Method() { Method::~Method() {
// @@protoc_insertion_point(destructor:google.protobuf.Method) // @@protoc_insertion_point(destructor:google.protobuf.Method)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void Method::SharedDtor() { inline void Method::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); Method& this_ = static_cast<Method&>(self);
_impl_.name_.Destroy(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
_impl_.request_type_url_.Destroy(); ABSL_DCHECK(this_.GetArena() == nullptr);
_impl_.response_type_url_.Destroy(); this_._impl_.name_.Destroy();
_impl_.~Impl_(); this_._impl_.request_type_url_.Destroy();
this_._impl_.response_type_url_.Destroy();
this_._impl_.~Impl_();
} }
inline void* Method::PlacementNew_(const void*, void* mem, inline void* Method::PlacementNew_(const void*, void* mem,
@ -826,7 +828,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&Method::MergeImpl, &Method::MergeImpl,
::google::protobuf::Message::GetNewImpl<Method>(), ::google::protobuf::Message::GetNewImpl<Method>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Method>(), &Method::SharedDtor,
::google::protobuf::Message::GetClearImpl<Method>(), &Method::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<Method>(), &Method::ByteSizeLong,
&Method::_InternalSerialize, &Method::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -1182,14 +1184,15 @@ inline void Mixin::SharedCtor(::_pb::Arena* arena) {
} }
Mixin::~Mixin() { Mixin::~Mixin() {
// @@protoc_insertion_point(destructor:google.protobuf.Mixin) // @@protoc_insertion_point(destructor:google.protobuf.Mixin)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void Mixin::SharedDtor() { inline void Mixin::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); Mixin& this_ = static_cast<Mixin&>(self);
_impl_.name_.Destroy(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
_impl_.root_.Destroy(); ABSL_DCHECK(this_.GetArena() == nullptr);
_impl_.~Impl_(); this_._impl_.name_.Destroy();
this_._impl_.root_.Destroy();
this_._impl_.~Impl_();
} }
inline void* Mixin::PlacementNew_(const void*, void* mem, inline void* Mixin::PlacementNew_(const void*, void* mem,
@ -1211,7 +1214,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&Mixin::MergeImpl, &Mixin::MergeImpl,
::google::protobuf::Message::GetNewImpl<Mixin>(), ::google::protobuf::Message::GetNewImpl<Mixin>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Mixin>(), &Mixin::SharedDtor,
::google::protobuf::Message::GetClearImpl<Mixin>(), &Mixin::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<Mixin>(), &Mixin::ByteSizeLong,
&Mixin::_InternalSerialize, &Mixin::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE

@ -80,6 +80,14 @@ class PROTOBUF_EXPORT Mixin final
public: public:
inline Mixin() : Mixin(nullptr) {} inline Mixin() : Mixin(nullptr) {}
~Mixin() PROTOBUF_FINAL; ~Mixin() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Mixin* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Mixin));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR Mixin( explicit PROTOBUF_CONSTEXPR Mixin(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -186,7 +194,7 @@ class PROTOBUF_EXPORT Mixin final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(Mixin* other); void InternalSwap(Mixin* other);
private: private:
template <typename T> template <typename T>
@ -288,6 +296,14 @@ class PROTOBUF_EXPORT Method final
public: public:
inline Method() : Method(nullptr) {} inline Method() : Method(nullptr) {}
~Method() PROTOBUF_FINAL; ~Method() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Method* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Method));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR Method( explicit PROTOBUF_CONSTEXPR Method(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -394,7 +410,7 @@ class PROTOBUF_EXPORT Method final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(Method* other); void InternalSwap(Method* other);
private: private:
template <typename T> template <typename T>
@ -569,6 +585,14 @@ class PROTOBUF_EXPORT Api final
public: public:
inline Api() : Api(nullptr) {} inline Api() : Api(nullptr) {}
~Api() PROTOBUF_FINAL; ~Api() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Api* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Api));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR Api( explicit PROTOBUF_CONSTEXPR Api(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -675,7 +699,7 @@ class PROTOBUF_EXPORT Api final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(Api* other); void InternalSwap(Api* other);
private: private:
template <typename T> template <typename T>

@ -144,12 +144,13 @@ inline void Duration::SharedCtor(::_pb::Arena* arena) {
} }
Duration::~Duration() { Duration::~Duration() {
// @@protoc_insertion_point(destructor:google.protobuf.Duration) // @@protoc_insertion_point(destructor:google.protobuf.Duration)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void Duration::SharedDtor() { inline void Duration::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); Duration& this_ = static_cast<Duration&>(self);
_impl_.~Impl_(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
} }
inline void* Duration::PlacementNew_(const void*, void* mem, inline void* Duration::PlacementNew_(const void*, void* mem,
@ -171,7 +172,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&Duration::MergeImpl, &Duration::MergeImpl,
::google::protobuf::Message::GetNewImpl<Duration>(), ::google::protobuf::Message::GetNewImpl<Duration>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Duration>(), &Duration::SharedDtor,
::google::protobuf::Message::GetClearImpl<Duration>(), &Duration::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<Duration>(), &Duration::ByteSizeLong,
&Duration::_InternalSerialize, &Duration::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE

@ -72,6 +72,14 @@ class PROTOBUF_EXPORT Duration final
public: public:
inline Duration() : Duration(nullptr) {} inline Duration() : Duration(nullptr) {}
~Duration() PROTOBUF_FINAL; ~Duration() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Duration* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Duration));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR Duration( explicit PROTOBUF_CONSTEXPR Duration(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -178,7 +186,7 @@ class PROTOBUF_EXPORT Duration final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(Duration* other); void InternalSwap(Duration* other);
private: private:
template <typename T> template <typename T>

@ -146,7 +146,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&Empty::MergeImpl, &Empty::MergeImpl,
::google::protobuf::internal::ZeroFieldsBase::GetNewImpl<Empty>(), ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl<Empty>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::internal::ZeroFieldsBase::GetDeleteImpl<Empty>(), &Empty::SharedDtor,
::google::protobuf::internal::ZeroFieldsBase::GetClearImpl<Empty>(), &Empty::ByteSizeLong, ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl<Empty>(), &Empty::ByteSizeLong,
&Empty::_InternalSerialize, &Empty::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE

@ -72,6 +72,14 @@ class PROTOBUF_EXPORT Empty final
/* @@protoc_insertion_point(class_definition:google.protobuf.Empty) */ { /* @@protoc_insertion_point(class_definition:google.protobuf.Empty) */ {
public: public:
inline Empty() : Empty(nullptr) {} inline Empty() : Empty(nullptr) {}
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Empty* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Empty));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR Empty( explicit PROTOBUF_CONSTEXPR Empty(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);

@ -154,12 +154,13 @@ inline void FieldMask::SharedCtor(::_pb::Arena* arena) {
} }
FieldMask::~FieldMask() { FieldMask::~FieldMask() {
// @@protoc_insertion_point(destructor:google.protobuf.FieldMask) // @@protoc_insertion_point(destructor:google.protobuf.FieldMask)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void FieldMask::SharedDtor() { inline void FieldMask::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); FieldMask& this_ = static_cast<FieldMask&>(self);
_impl_.~Impl_(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
} }
inline void* FieldMask::PlacementNew_(const void*, void* mem, inline void* FieldMask::PlacementNew_(const void*, void* mem,
@ -192,7 +193,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&FieldMask::MergeImpl, &FieldMask::MergeImpl,
::google::protobuf::Message::GetNewImpl<FieldMask>(), ::google::protobuf::Message::GetNewImpl<FieldMask>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<FieldMask>(), &FieldMask::SharedDtor,
::google::protobuf::Message::GetClearImpl<FieldMask>(), &FieldMask::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<FieldMask>(), &FieldMask::ByteSizeLong,
&FieldMask::_InternalSerialize, &FieldMask::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE

@ -72,6 +72,14 @@ class PROTOBUF_EXPORT FieldMask final
public: public:
inline FieldMask() : FieldMask(nullptr) {} inline FieldMask() : FieldMask(nullptr) {}
~FieldMask() PROTOBUF_FINAL; ~FieldMask() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(FieldMask* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(FieldMask));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR FieldMask( explicit PROTOBUF_CONSTEXPR FieldMask(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -178,7 +186,7 @@ class PROTOBUF_EXPORT FieldMask final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(FieldMask* other); void InternalSwap(FieldMask* other);
private: private:
template <typename T> template <typename T>

@ -156,13 +156,14 @@ inline void SourceContext::SharedCtor(::_pb::Arena* arena) {
} }
SourceContext::~SourceContext() { SourceContext::~SourceContext() {
// @@protoc_insertion_point(destructor:google.protobuf.SourceContext) // @@protoc_insertion_point(destructor:google.protobuf.SourceContext)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void SourceContext::SharedDtor() { inline void SourceContext::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); SourceContext& this_ = static_cast<SourceContext&>(self);
_impl_.file_name_.Destroy(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
_impl_.~Impl_(); ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.file_name_.Destroy();
this_._impl_.~Impl_();
} }
inline void* SourceContext::PlacementNew_(const void*, void* mem, inline void* SourceContext::PlacementNew_(const void*, void* mem,
@ -184,7 +185,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&SourceContext::MergeImpl, &SourceContext::MergeImpl,
::google::protobuf::Message::GetNewImpl<SourceContext>(), ::google::protobuf::Message::GetNewImpl<SourceContext>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<SourceContext>(), &SourceContext::SharedDtor,
::google::protobuf::Message::GetClearImpl<SourceContext>(), &SourceContext::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<SourceContext>(), &SourceContext::ByteSizeLong,
&SourceContext::_InternalSerialize, &SourceContext::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE

@ -72,6 +72,14 @@ class PROTOBUF_EXPORT SourceContext final
public: public:
inline SourceContext() : SourceContext(nullptr) {} inline SourceContext() : SourceContext(nullptr) {}
~SourceContext() PROTOBUF_FINAL; ~SourceContext() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SourceContext* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SourceContext));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR SourceContext( explicit PROTOBUF_CONSTEXPR SourceContext(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -178,7 +186,7 @@ class PROTOBUF_EXPORT SourceContext final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(SourceContext* other); void InternalSwap(SourceContext* other);
private: private:
template <typename T> template <typename T>

@ -264,7 +264,7 @@ bool NullValue_IsValid(int value) {
&Struct_FieldsEntry_DoNotUse::MergeImpl, &Struct_FieldsEntry_DoNotUse::MergeImpl,
::google::protobuf::Message::GetNewImpl<Struct_FieldsEntry_DoNotUse>(), ::google::protobuf::Message::GetNewImpl<Struct_FieldsEntry_DoNotUse>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Struct_FieldsEntry_DoNotUse>(), &Struct_FieldsEntry_DoNotUse::SharedDtor,
static_cast<void (::google::protobuf::MessageLite::*)()>( static_cast<void (::google::protobuf::MessageLite::*)()>(
&Struct_FieldsEntry_DoNotUse::ClearImpl), &Struct_FieldsEntry_DoNotUse::ClearImpl),
::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
@ -373,12 +373,13 @@ inline void Struct::SharedCtor(::_pb::Arena* arena) {
} }
Struct::~Struct() { Struct::~Struct() {
// @@protoc_insertion_point(destructor:google.protobuf.Struct) // @@protoc_insertion_point(destructor:google.protobuf.Struct)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void Struct::SharedDtor() { inline void Struct::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); Struct& this_ = static_cast<Struct&>(self);
_impl_.~Impl_(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
} }
inline void* Struct::PlacementNew_(const void*, void* mem, inline void* Struct::PlacementNew_(const void*, void* mem,
@ -415,7 +416,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&Struct::MergeImpl, &Struct::MergeImpl,
::google::protobuf::Message::GetNewImpl<Struct>(), ::google::protobuf::Message::GetNewImpl<Struct>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Struct>(), &Struct::SharedDtor,
::google::protobuf::Message::GetClearImpl<Struct>(), &Struct::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<Struct>(), &Struct::ByteSizeLong,
&Struct::_InternalSerialize, &Struct::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -692,15 +693,16 @@ inline void Value::SharedCtor(::_pb::Arena* arena) {
} }
Value::~Value() { Value::~Value() {
// @@protoc_insertion_point(destructor:google.protobuf.Value) // @@protoc_insertion_point(destructor:google.protobuf.Value)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void Value::SharedDtor() { inline void Value::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); Value& this_ = static_cast<Value&>(self);
if (has_kind()) { this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
clear_kind(); ABSL_DCHECK(this_.GetArena() == nullptr);
if (this_.has_kind()) {
this_.clear_kind();
} }
_impl_.~Impl_(); this_._impl_.~Impl_();
} }
void Value::clear_kind() { void Value::clear_kind() {
@ -766,7 +768,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&Value::MergeImpl, &Value::MergeImpl,
::google::protobuf::Message::GetNewImpl<Value>(), ::google::protobuf::Message::GetNewImpl<Value>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Value>(), &Value::SharedDtor,
::google::protobuf::Message::GetClearImpl<Value>(), &Value::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<Value>(), &Value::ByteSizeLong,
&Value::_InternalSerialize, &Value::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -1096,12 +1098,13 @@ inline void ListValue::SharedCtor(::_pb::Arena* arena) {
} }
ListValue::~ListValue() { ListValue::~ListValue() {
// @@protoc_insertion_point(destructor:google.protobuf.ListValue) // @@protoc_insertion_point(destructor:google.protobuf.ListValue)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void ListValue::SharedDtor() { inline void ListValue::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); ListValue& this_ = static_cast<ListValue&>(self);
_impl_.~Impl_(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
} }
inline void* ListValue::PlacementNew_(const void*, void* mem, inline void* ListValue::PlacementNew_(const void*, void* mem,
@ -1134,7 +1137,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&ListValue::MergeImpl, &ListValue::MergeImpl,
::google::protobuf::Message::GetNewImpl<ListValue>(), ::google::protobuf::Message::GetNewImpl<ListValue>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<ListValue>(), &ListValue::SharedDtor,
::google::protobuf::Message::GetClearImpl<ListValue>(), &ListValue::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<ListValue>(), &ListValue::ByteSizeLong,
&ListValue::_InternalSerialize, &ListValue::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE

@ -117,6 +117,14 @@ class PROTOBUF_EXPORT ListValue final
public: public:
inline ListValue() : ListValue(nullptr) {} inline ListValue() : ListValue(nullptr) {}
~ListValue() PROTOBUF_FINAL; ~ListValue() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(ListValue* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(ListValue));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR ListValue( explicit PROTOBUF_CONSTEXPR ListValue(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -223,7 +231,7 @@ class PROTOBUF_EXPORT ListValue final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(ListValue* other); void InternalSwap(ListValue* other);
private: private:
template <typename T> template <typename T>
@ -308,6 +316,14 @@ class PROTOBUF_EXPORT Struct final
public: public:
inline Struct() : Struct(nullptr) {} inline Struct() : Struct(nullptr) {}
~Struct() PROTOBUF_FINAL; ~Struct() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Struct* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Struct));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR Struct( explicit PROTOBUF_CONSTEXPR Struct(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -414,7 +430,7 @@ class PROTOBUF_EXPORT Struct final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(Struct* other); void InternalSwap(Struct* other);
private: private:
template <typename T> template <typename T>
@ -539,6 +555,14 @@ class PROTOBUF_EXPORT Value final
public: public:
inline Value() : Value(nullptr) {} inline Value() : Value(nullptr) {}
~Value() PROTOBUF_FINAL; ~Value() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Value* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Value));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR Value( explicit PROTOBUF_CONSTEXPR Value(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -654,7 +678,7 @@ class PROTOBUF_EXPORT Value final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(Value* other); void InternalSwap(Value* other);
private: private:
template <typename T> template <typename T>

@ -144,12 +144,13 @@ inline void Timestamp::SharedCtor(::_pb::Arena* arena) {
} }
Timestamp::~Timestamp() { Timestamp::~Timestamp() {
// @@protoc_insertion_point(destructor:google.protobuf.Timestamp) // @@protoc_insertion_point(destructor:google.protobuf.Timestamp)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void Timestamp::SharedDtor() { inline void Timestamp::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); Timestamp& this_ = static_cast<Timestamp&>(self);
_impl_.~Impl_(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
} }
inline void* Timestamp::PlacementNew_(const void*, void* mem, inline void* Timestamp::PlacementNew_(const void*, void* mem,
@ -171,7 +172,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&Timestamp::MergeImpl, &Timestamp::MergeImpl,
::google::protobuf::Message::GetNewImpl<Timestamp>(), ::google::protobuf::Message::GetNewImpl<Timestamp>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Timestamp>(), &Timestamp::SharedDtor,
::google::protobuf::Message::GetClearImpl<Timestamp>(), &Timestamp::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<Timestamp>(), &Timestamp::ByteSizeLong,
&Timestamp::_InternalSerialize, &Timestamp::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE

@ -72,6 +72,14 @@ class PROTOBUF_EXPORT Timestamp final
public: public:
inline Timestamp() : Timestamp(nullptr) {} inline Timestamp() : Timestamp(nullptr) {}
~Timestamp() PROTOBUF_FINAL; ~Timestamp() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Timestamp* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Timestamp));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR Timestamp( explicit PROTOBUF_CONSTEXPR Timestamp(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -178,7 +186,7 @@ class PROTOBUF_EXPORT Timestamp final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(Timestamp* other); void InternalSwap(Timestamp* other);
private: private:
template <typename T> template <typename T>

@ -516,15 +516,16 @@ inline void Type::SharedCtor(::_pb::Arena* arena) {
} }
Type::~Type() { Type::~Type() {
// @@protoc_insertion_point(destructor:google.protobuf.Type) // @@protoc_insertion_point(destructor:google.protobuf.Type)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void Type::SharedDtor() { inline void Type::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); Type& this_ = static_cast<Type&>(self);
_impl_.name_.Destroy(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
_impl_.edition_.Destroy(); ABSL_DCHECK(this_.GetArena() == nullptr);
delete _impl_.source_context_; this_._impl_.name_.Destroy();
_impl_.~Impl_(); this_._impl_.edition_.Destroy();
delete this_._impl_.source_context_;
this_._impl_.~Impl_();
} }
inline void* Type::PlacementNew_(const void*, void* mem, inline void* Type::PlacementNew_(const void*, void* mem,
@ -565,7 +566,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&Type::MergeImpl, &Type::MergeImpl,
::google::protobuf::Message::GetNewImpl<Type>(), ::google::protobuf::Message::GetNewImpl<Type>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Type>(), &Type::SharedDtor,
::google::protobuf::Message::GetClearImpl<Type>(), &Type::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<Type>(), &Type::ByteSizeLong,
&Type::_InternalSerialize, &Type::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -973,16 +974,17 @@ inline void Field::SharedCtor(::_pb::Arena* arena) {
} }
Field::~Field() { Field::~Field() {
// @@protoc_insertion_point(destructor:google.protobuf.Field) // @@protoc_insertion_point(destructor:google.protobuf.Field)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void Field::SharedDtor() { inline void Field::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); Field& this_ = static_cast<Field&>(self);
_impl_.name_.Destroy(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
_impl_.type_url_.Destroy(); ABSL_DCHECK(this_.GetArena() == nullptr);
_impl_.json_name_.Destroy(); this_._impl_.name_.Destroy();
_impl_.default_value_.Destroy(); this_._impl_.type_url_.Destroy();
_impl_.~Impl_(); this_._impl_.json_name_.Destroy();
this_._impl_.default_value_.Destroy();
this_._impl_.~Impl_();
} }
inline void* Field::PlacementNew_(const void*, void* mem, inline void* Field::PlacementNew_(const void*, void* mem,
@ -1015,7 +1017,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&Field::MergeImpl, &Field::MergeImpl,
::google::protobuf::Message::GetNewImpl<Field>(), ::google::protobuf::Message::GetNewImpl<Field>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Field>(), &Field::SharedDtor,
::google::protobuf::Message::GetClearImpl<Field>(), &Field::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<Field>(), &Field::ByteSizeLong,
&Field::_InternalSerialize, &Field::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -1469,15 +1471,16 @@ inline void Enum::SharedCtor(::_pb::Arena* arena) {
} }
Enum::~Enum() { Enum::~Enum() {
// @@protoc_insertion_point(destructor:google.protobuf.Enum) // @@protoc_insertion_point(destructor:google.protobuf.Enum)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void Enum::SharedDtor() { inline void Enum::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); Enum& this_ = static_cast<Enum&>(self);
_impl_.name_.Destroy(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
_impl_.edition_.Destroy(); ABSL_DCHECK(this_.GetArena() == nullptr);
delete _impl_.source_context_; this_._impl_.name_.Destroy();
_impl_.~Impl_(); this_._impl_.edition_.Destroy();
delete this_._impl_.source_context_;
this_._impl_.~Impl_();
} }
inline void* Enum::PlacementNew_(const void*, void* mem, inline void* Enum::PlacementNew_(const void*, void* mem,
@ -1514,7 +1517,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&Enum::MergeImpl, &Enum::MergeImpl,
::google::protobuf::Message::GetNewImpl<Enum>(), ::google::protobuf::Message::GetNewImpl<Enum>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Enum>(), &Enum::SharedDtor,
::google::protobuf::Message::GetClearImpl<Enum>(), &Enum::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<Enum>(), &Enum::ByteSizeLong,
&Enum::_InternalSerialize, &Enum::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -1879,13 +1882,14 @@ inline void EnumValue::SharedCtor(::_pb::Arena* arena) {
} }
EnumValue::~EnumValue() { EnumValue::~EnumValue() {
// @@protoc_insertion_point(destructor:google.protobuf.EnumValue) // @@protoc_insertion_point(destructor:google.protobuf.EnumValue)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void EnumValue::SharedDtor() { inline void EnumValue::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); EnumValue& this_ = static_cast<EnumValue&>(self);
_impl_.name_.Destroy(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
_impl_.~Impl_(); ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.name_.Destroy();
this_._impl_.~Impl_();
} }
inline void* EnumValue::PlacementNew_(const void*, void* mem, inline void* EnumValue::PlacementNew_(const void*, void* mem,
@ -1918,7 +1922,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&EnumValue::MergeImpl, &EnumValue::MergeImpl,
::google::protobuf::Message::GetNewImpl<EnumValue>(), ::google::protobuf::Message::GetNewImpl<EnumValue>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<EnumValue>(), &EnumValue::SharedDtor,
::google::protobuf::Message::GetClearImpl<EnumValue>(), &EnumValue::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<EnumValue>(), &EnumValue::ByteSizeLong,
&EnumValue::_InternalSerialize, &EnumValue::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -2190,14 +2194,15 @@ inline void Option::SharedCtor(::_pb::Arena* arena) {
} }
Option::~Option() { Option::~Option() {
// @@protoc_insertion_point(destructor:google.protobuf.Option) // @@protoc_insertion_point(destructor:google.protobuf.Option)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void Option::SharedDtor() { inline void Option::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); Option& this_ = static_cast<Option&>(self);
_impl_.name_.Destroy(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
delete _impl_.value_; ABSL_DCHECK(this_.GetArena() == nullptr);
_impl_.~Impl_(); this_._impl_.name_.Destroy();
delete this_._impl_.value_;
this_._impl_.~Impl_();
} }
inline void* Option::PlacementNew_(const void*, void* mem, inline void* Option::PlacementNew_(const void*, void* mem,
@ -2219,7 +2224,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&Option::MergeImpl, &Option::MergeImpl,
::google::protobuf::Message::GetNewImpl<Option>(), ::google::protobuf::Message::GetNewImpl<Option>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Option>(), &Option::SharedDtor,
::google::protobuf::Message::GetClearImpl<Option>(), &Option::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<Option>(), &Option::ByteSizeLong,
&Option::_InternalSerialize, &Option::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE

@ -206,6 +206,14 @@ class PROTOBUF_EXPORT Option final
public: public:
inline Option() : Option(nullptr) {} inline Option() : Option(nullptr) {}
~Option() PROTOBUF_FINAL; ~Option() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Option* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Option));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR Option( explicit PROTOBUF_CONSTEXPR Option(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -312,7 +320,7 @@ class PROTOBUF_EXPORT Option final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(Option* other); void InternalSwap(Option* other);
private: private:
template <typename T> template <typename T>
@ -414,6 +422,14 @@ class PROTOBUF_EXPORT Field final
public: public:
inline Field() : Field(nullptr) {} inline Field() : Field(nullptr) {}
~Field() PROTOBUF_FINAL; ~Field() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Field* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Field));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR Field( explicit PROTOBUF_CONSTEXPR Field(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -520,7 +536,7 @@ class PROTOBUF_EXPORT Field final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(Field* other); void InternalSwap(Field* other);
private: private:
template <typename T> template <typename T>
@ -794,6 +810,14 @@ class PROTOBUF_EXPORT EnumValue final
public: public:
inline EnumValue() : EnumValue(nullptr) {} inline EnumValue() : EnumValue(nullptr) {}
~EnumValue() PROTOBUF_FINAL; ~EnumValue() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(EnumValue* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(EnumValue));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR EnumValue( explicit PROTOBUF_CONSTEXPR EnumValue(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -900,7 +924,7 @@ class PROTOBUF_EXPORT EnumValue final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(EnumValue* other); void InternalSwap(EnumValue* other);
private: private:
template <typename T> template <typename T>
@ -1015,6 +1039,14 @@ class PROTOBUF_EXPORT Type final
public: public:
inline Type() : Type(nullptr) {} inline Type() : Type(nullptr) {}
~Type() PROTOBUF_FINAL; ~Type() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Type* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Type));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR Type( explicit PROTOBUF_CONSTEXPR Type(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -1121,7 +1153,7 @@ class PROTOBUF_EXPORT Type final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(Type* other); void InternalSwap(Type* other);
private: private:
template <typename T> template <typename T>
@ -1315,6 +1347,14 @@ class PROTOBUF_EXPORT Enum final
public: public:
inline Enum() : Enum(nullptr) {} inline Enum() : Enum(nullptr) {}
~Enum() PROTOBUF_FINAL; ~Enum() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Enum* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Enum));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR Enum( explicit PROTOBUF_CONSTEXPR Enum(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -1421,7 +1461,7 @@ class PROTOBUF_EXPORT Enum final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(Enum* other); void InternalSwap(Enum* other);
private: private:
template <typename T> template <typename T>

@ -435,12 +435,13 @@ inline void DoubleValue::SharedCtor(::_pb::Arena* arena) {
} }
DoubleValue::~DoubleValue() { DoubleValue::~DoubleValue() {
// @@protoc_insertion_point(destructor:google.protobuf.DoubleValue) // @@protoc_insertion_point(destructor:google.protobuf.DoubleValue)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void DoubleValue::SharedDtor() { inline void DoubleValue::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); DoubleValue& this_ = static_cast<DoubleValue&>(self);
_impl_.~Impl_(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
} }
inline void* DoubleValue::PlacementNew_(const void*, void* mem, inline void* DoubleValue::PlacementNew_(const void*, void* mem,
@ -462,7 +463,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&DoubleValue::MergeImpl, &DoubleValue::MergeImpl,
::google::protobuf::Message::GetNewImpl<DoubleValue>(), ::google::protobuf::Message::GetNewImpl<DoubleValue>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<DoubleValue>(), &DoubleValue::SharedDtor,
::google::protobuf::Message::GetClearImpl<DoubleValue>(), &DoubleValue::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<DoubleValue>(), &DoubleValue::ByteSizeLong,
&DoubleValue::_InternalSerialize, &DoubleValue::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -640,12 +641,13 @@ inline void FloatValue::SharedCtor(::_pb::Arena* arena) {
} }
FloatValue::~FloatValue() { FloatValue::~FloatValue() {
// @@protoc_insertion_point(destructor:google.protobuf.FloatValue) // @@protoc_insertion_point(destructor:google.protobuf.FloatValue)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void FloatValue::SharedDtor() { inline void FloatValue::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); FloatValue& this_ = static_cast<FloatValue&>(self);
_impl_.~Impl_(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
} }
inline void* FloatValue::PlacementNew_(const void*, void* mem, inline void* FloatValue::PlacementNew_(const void*, void* mem,
@ -667,7 +669,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&FloatValue::MergeImpl, &FloatValue::MergeImpl,
::google::protobuf::Message::GetNewImpl<FloatValue>(), ::google::protobuf::Message::GetNewImpl<FloatValue>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<FloatValue>(), &FloatValue::SharedDtor,
::google::protobuf::Message::GetClearImpl<FloatValue>(), &FloatValue::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<FloatValue>(), &FloatValue::ByteSizeLong,
&FloatValue::_InternalSerialize, &FloatValue::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -845,12 +847,13 @@ inline void Int64Value::SharedCtor(::_pb::Arena* arena) {
} }
Int64Value::~Int64Value() { Int64Value::~Int64Value() {
// @@protoc_insertion_point(destructor:google.protobuf.Int64Value) // @@protoc_insertion_point(destructor:google.protobuf.Int64Value)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void Int64Value::SharedDtor() { inline void Int64Value::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); Int64Value& this_ = static_cast<Int64Value&>(self);
_impl_.~Impl_(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
} }
inline void* Int64Value::PlacementNew_(const void*, void* mem, inline void* Int64Value::PlacementNew_(const void*, void* mem,
@ -872,7 +875,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&Int64Value::MergeImpl, &Int64Value::MergeImpl,
::google::protobuf::Message::GetNewImpl<Int64Value>(), ::google::protobuf::Message::GetNewImpl<Int64Value>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Int64Value>(), &Int64Value::SharedDtor,
::google::protobuf::Message::GetClearImpl<Int64Value>(), &Int64Value::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<Int64Value>(), &Int64Value::ByteSizeLong,
&Int64Value::_InternalSerialize, &Int64Value::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -1051,12 +1054,13 @@ inline void UInt64Value::SharedCtor(::_pb::Arena* arena) {
} }
UInt64Value::~UInt64Value() { UInt64Value::~UInt64Value() {
// @@protoc_insertion_point(destructor:google.protobuf.UInt64Value) // @@protoc_insertion_point(destructor:google.protobuf.UInt64Value)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void UInt64Value::SharedDtor() { inline void UInt64Value::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); UInt64Value& this_ = static_cast<UInt64Value&>(self);
_impl_.~Impl_(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
} }
inline void* UInt64Value::PlacementNew_(const void*, void* mem, inline void* UInt64Value::PlacementNew_(const void*, void* mem,
@ -1078,7 +1082,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&UInt64Value::MergeImpl, &UInt64Value::MergeImpl,
::google::protobuf::Message::GetNewImpl<UInt64Value>(), ::google::protobuf::Message::GetNewImpl<UInt64Value>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<UInt64Value>(), &UInt64Value::SharedDtor,
::google::protobuf::Message::GetClearImpl<UInt64Value>(), &UInt64Value::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<UInt64Value>(), &UInt64Value::ByteSizeLong,
&UInt64Value::_InternalSerialize, &UInt64Value::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -1257,12 +1261,13 @@ inline void Int32Value::SharedCtor(::_pb::Arena* arena) {
} }
Int32Value::~Int32Value() { Int32Value::~Int32Value() {
// @@protoc_insertion_point(destructor:google.protobuf.Int32Value) // @@protoc_insertion_point(destructor:google.protobuf.Int32Value)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void Int32Value::SharedDtor() { inline void Int32Value::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); Int32Value& this_ = static_cast<Int32Value&>(self);
_impl_.~Impl_(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
} }
inline void* Int32Value::PlacementNew_(const void*, void* mem, inline void* Int32Value::PlacementNew_(const void*, void* mem,
@ -1284,7 +1289,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&Int32Value::MergeImpl, &Int32Value::MergeImpl,
::google::protobuf::Message::GetNewImpl<Int32Value>(), ::google::protobuf::Message::GetNewImpl<Int32Value>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Int32Value>(), &Int32Value::SharedDtor,
::google::protobuf::Message::GetClearImpl<Int32Value>(), &Int32Value::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<Int32Value>(), &Int32Value::ByteSizeLong,
&Int32Value::_InternalSerialize, &Int32Value::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -1463,12 +1468,13 @@ inline void UInt32Value::SharedCtor(::_pb::Arena* arena) {
} }
UInt32Value::~UInt32Value() { UInt32Value::~UInt32Value() {
// @@protoc_insertion_point(destructor:google.protobuf.UInt32Value) // @@protoc_insertion_point(destructor:google.protobuf.UInt32Value)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void UInt32Value::SharedDtor() { inline void UInt32Value::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); UInt32Value& this_ = static_cast<UInt32Value&>(self);
_impl_.~Impl_(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
} }
inline void* UInt32Value::PlacementNew_(const void*, void* mem, inline void* UInt32Value::PlacementNew_(const void*, void* mem,
@ -1490,7 +1496,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&UInt32Value::MergeImpl, &UInt32Value::MergeImpl,
::google::protobuf::Message::GetNewImpl<UInt32Value>(), ::google::protobuf::Message::GetNewImpl<UInt32Value>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<UInt32Value>(), &UInt32Value::SharedDtor,
::google::protobuf::Message::GetClearImpl<UInt32Value>(), &UInt32Value::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<UInt32Value>(), &UInt32Value::ByteSizeLong,
&UInt32Value::_InternalSerialize, &UInt32Value::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -1669,12 +1675,13 @@ inline void BoolValue::SharedCtor(::_pb::Arena* arena) {
} }
BoolValue::~BoolValue() { BoolValue::~BoolValue() {
// @@protoc_insertion_point(destructor:google.protobuf.BoolValue) // @@protoc_insertion_point(destructor:google.protobuf.BoolValue)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void BoolValue::SharedDtor() { inline void BoolValue::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); BoolValue& this_ = static_cast<BoolValue&>(self);
_impl_.~Impl_(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
} }
inline void* BoolValue::PlacementNew_(const void*, void* mem, inline void* BoolValue::PlacementNew_(const void*, void* mem,
@ -1696,7 +1703,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&BoolValue::MergeImpl, &BoolValue::MergeImpl,
::google::protobuf::Message::GetNewImpl<BoolValue>(), ::google::protobuf::Message::GetNewImpl<BoolValue>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<BoolValue>(), &BoolValue::SharedDtor,
::google::protobuf::Message::GetClearImpl<BoolValue>(), &BoolValue::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<BoolValue>(), &BoolValue::ByteSizeLong,
&BoolValue::_InternalSerialize, &BoolValue::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -1891,13 +1898,14 @@ inline void StringValue::SharedCtor(::_pb::Arena* arena) {
} }
StringValue::~StringValue() { StringValue::~StringValue() {
// @@protoc_insertion_point(destructor:google.protobuf.StringValue) // @@protoc_insertion_point(destructor:google.protobuf.StringValue)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void StringValue::SharedDtor() { inline void StringValue::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); StringValue& this_ = static_cast<StringValue&>(self);
_impl_.value_.Destroy(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
_impl_.~Impl_(); ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.value_.Destroy();
this_._impl_.~Impl_();
} }
inline void* StringValue::PlacementNew_(const void*, void* mem, inline void* StringValue::PlacementNew_(const void*, void* mem,
@ -1919,7 +1927,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&StringValue::MergeImpl, &StringValue::MergeImpl,
::google::protobuf::Message::GetNewImpl<StringValue>(), ::google::protobuf::Message::GetNewImpl<StringValue>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<StringValue>(), &StringValue::SharedDtor,
::google::protobuf::Message::GetClearImpl<StringValue>(), &StringValue::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<StringValue>(), &StringValue::ByteSizeLong,
&StringValue::_InternalSerialize, &StringValue::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
@ -2121,13 +2129,14 @@ inline void BytesValue::SharedCtor(::_pb::Arena* arena) {
} }
BytesValue::~BytesValue() { BytesValue::~BytesValue() {
// @@protoc_insertion_point(destructor:google.protobuf.BytesValue) // @@protoc_insertion_point(destructor:google.protobuf.BytesValue)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(*this);
SharedDtor();
} }
inline void BytesValue::SharedDtor() { inline void BytesValue::SharedDtor(MessageLite& self) {
ABSL_DCHECK(GetArena() == nullptr); BytesValue& this_ = static_cast<BytesValue&>(self);
_impl_.value_.Destroy(); this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
_impl_.~Impl_(); ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.value_.Destroy();
this_._impl_.~Impl_();
} }
inline void* BytesValue::PlacementNew_(const void*, void* mem, inline void* BytesValue::PlacementNew_(const void*, void* mem,
@ -2149,7 +2158,7 @@ const ::google::protobuf::MessageLite::ClassDataFull
&BytesValue::MergeImpl, &BytesValue::MergeImpl,
::google::protobuf::Message::GetNewImpl<BytesValue>(), ::google::protobuf::Message::GetNewImpl<BytesValue>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<BytesValue>(), &BytesValue::SharedDtor,
::google::protobuf::Message::GetClearImpl<BytesValue>(), &BytesValue::ByteSizeLong, ::google::protobuf::Message::GetClearImpl<BytesValue>(), &BytesValue::ByteSizeLong,
&BytesValue::_InternalSerialize, &BytesValue::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE

@ -96,6 +96,14 @@ class PROTOBUF_EXPORT UInt64Value final
public: public:
inline UInt64Value() : UInt64Value(nullptr) {} inline UInt64Value() : UInt64Value(nullptr) {}
~UInt64Value() PROTOBUF_FINAL; ~UInt64Value() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(UInt64Value* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(UInt64Value));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR UInt64Value( explicit PROTOBUF_CONSTEXPR UInt64Value(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -202,7 +210,7 @@ class PROTOBUF_EXPORT UInt64Value final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(UInt64Value* other); void InternalSwap(UInt64Value* other);
private: private:
template <typename T> template <typename T>
@ -280,6 +288,14 @@ class PROTOBUF_EXPORT UInt32Value final
public: public:
inline UInt32Value() : UInt32Value(nullptr) {} inline UInt32Value() : UInt32Value(nullptr) {}
~UInt32Value() PROTOBUF_FINAL; ~UInt32Value() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(UInt32Value* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(UInt32Value));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR UInt32Value( explicit PROTOBUF_CONSTEXPR UInt32Value(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -386,7 +402,7 @@ class PROTOBUF_EXPORT UInt32Value final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(UInt32Value* other); void InternalSwap(UInt32Value* other);
private: private:
template <typename T> template <typename T>
@ -464,6 +480,14 @@ class PROTOBUF_EXPORT StringValue final
public: public:
inline StringValue() : StringValue(nullptr) {} inline StringValue() : StringValue(nullptr) {}
~StringValue() PROTOBUF_FINAL; ~StringValue() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(StringValue* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(StringValue));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR StringValue( explicit PROTOBUF_CONSTEXPR StringValue(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -570,7 +594,7 @@ class PROTOBUF_EXPORT StringValue final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(StringValue* other); void InternalSwap(StringValue* other);
private: private:
template <typename T> template <typename T>
@ -654,6 +678,14 @@ class PROTOBUF_EXPORT Int64Value final
public: public:
inline Int64Value() : Int64Value(nullptr) {} inline Int64Value() : Int64Value(nullptr) {}
~Int64Value() PROTOBUF_FINAL; ~Int64Value() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Int64Value* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Int64Value));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR Int64Value( explicit PROTOBUF_CONSTEXPR Int64Value(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -760,7 +792,7 @@ class PROTOBUF_EXPORT Int64Value final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(Int64Value* other); void InternalSwap(Int64Value* other);
private: private:
template <typename T> template <typename T>
@ -838,6 +870,14 @@ class PROTOBUF_EXPORT Int32Value final
public: public:
inline Int32Value() : Int32Value(nullptr) {} inline Int32Value() : Int32Value(nullptr) {}
~Int32Value() PROTOBUF_FINAL; ~Int32Value() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Int32Value* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Int32Value));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR Int32Value( explicit PROTOBUF_CONSTEXPR Int32Value(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -944,7 +984,7 @@ class PROTOBUF_EXPORT Int32Value final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(Int32Value* other); void InternalSwap(Int32Value* other);
private: private:
template <typename T> template <typename T>
@ -1022,6 +1062,14 @@ class PROTOBUF_EXPORT FloatValue final
public: public:
inline FloatValue() : FloatValue(nullptr) {} inline FloatValue() : FloatValue(nullptr) {}
~FloatValue() PROTOBUF_FINAL; ~FloatValue() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(FloatValue* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(FloatValue));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR FloatValue( explicit PROTOBUF_CONSTEXPR FloatValue(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -1128,7 +1176,7 @@ class PROTOBUF_EXPORT FloatValue final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(FloatValue* other); void InternalSwap(FloatValue* other);
private: private:
template <typename T> template <typename T>
@ -1206,6 +1254,14 @@ class PROTOBUF_EXPORT DoubleValue final
public: public:
inline DoubleValue() : DoubleValue(nullptr) {} inline DoubleValue() : DoubleValue(nullptr) {}
~DoubleValue() PROTOBUF_FINAL; ~DoubleValue() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(DoubleValue* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(DoubleValue));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR DoubleValue( explicit PROTOBUF_CONSTEXPR DoubleValue(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -1312,7 +1368,7 @@ class PROTOBUF_EXPORT DoubleValue final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(DoubleValue* other); void InternalSwap(DoubleValue* other);
private: private:
template <typename T> template <typename T>
@ -1390,6 +1446,14 @@ class PROTOBUF_EXPORT BytesValue final
public: public:
inline BytesValue() : BytesValue(nullptr) {} inline BytesValue() : BytesValue(nullptr) {}
~BytesValue() PROTOBUF_FINAL; ~BytesValue() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(BytesValue* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(BytesValue));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR BytesValue( explicit PROTOBUF_CONSTEXPR BytesValue(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -1496,7 +1560,7 @@ class PROTOBUF_EXPORT BytesValue final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(BytesValue* other); void InternalSwap(BytesValue* other);
private: private:
template <typename T> template <typename T>
@ -1580,6 +1644,14 @@ class PROTOBUF_EXPORT BoolValue final
public: public:
inline BoolValue() : BoolValue(nullptr) {} inline BoolValue() : BoolValue(nullptr) {}
~BoolValue() PROTOBUF_FINAL; ~BoolValue() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(BoolValue* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(BoolValue));
}
#endif
template <typename = void> template <typename = void>
explicit PROTOBUF_CONSTEXPR BoolValue( explicit PROTOBUF_CONSTEXPR BoolValue(
::google::protobuf::internal::ConstantInitialized); ::google::protobuf::internal::ConstantInitialized);
@ -1686,7 +1758,7 @@ class PROTOBUF_EXPORT BoolValue final
private: private:
void SharedCtor(::google::protobuf::Arena* arena); void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor(); static void SharedDtor(MessageLite& self);
void InternalSwap(BoolValue* other); void InternalSwap(BoolValue* other);
private: private:
template <typename T> template <typename T>

Loading…
Cancel
Save