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

@ -72,6 +72,14 @@ class PROTOBUF_EXPORT Any final
public:
inline Any() : Any(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR Any(
::google::protobuf::internal::ConstantInitialized);
@ -234,7 +242,7 @@ class PROTOBUF_EXPORT Any final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(Any* other);
private:
template <typename T>

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

@ -80,6 +80,14 @@ class PROTOBUF_EXPORT Mixin final
public:
inline Mixin() : Mixin(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR Mixin(
::google::protobuf::internal::ConstantInitialized);
@ -186,7 +194,7 @@ class PROTOBUF_EXPORT Mixin final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(Mixin* other);
private:
template <typename T>
@ -288,6 +296,14 @@ class PROTOBUF_EXPORT Method final
public:
inline Method() : Method(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR Method(
::google::protobuf::internal::ConstantInitialized);
@ -394,7 +410,7 @@ class PROTOBUF_EXPORT Method final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(Method* other);
private:
template <typename T>
@ -569,6 +585,14 @@ class PROTOBUF_EXPORT Api final
public:
inline Api() : Api(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR Api(
::google::protobuf::internal::ConstantInitialized);
@ -675,7 +699,7 @@ class PROTOBUF_EXPORT Api final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(Api* other);
private:
template <typename T>

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

@ -72,6 +72,14 @@ class PROTOBUF_EXPORT Duration final
public:
inline Duration() : Duration(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR Duration(
::google::protobuf::internal::ConstantInitialized);
@ -178,7 +186,7 @@ class PROTOBUF_EXPORT Duration final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(Duration* other);
private:
template <typename T>

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

@ -72,6 +72,14 @@ class PROTOBUF_EXPORT Empty final
/* @@protoc_insertion_point(class_definition:google.protobuf.Empty) */ {
public:
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>
explicit PROTOBUF_CONSTEXPR Empty(
::google::protobuf::internal::ConstantInitialized);

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

@ -72,6 +72,14 @@ class PROTOBUF_EXPORT FieldMask final
public:
inline FieldMask() : FieldMask(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR FieldMask(
::google::protobuf::internal::ConstantInitialized);
@ -178,7 +186,7 @@ class PROTOBUF_EXPORT FieldMask final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(FieldMask* other);
private:
template <typename T>

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

@ -72,6 +72,14 @@ class PROTOBUF_EXPORT SourceContext final
public:
inline SourceContext() : SourceContext(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR SourceContext(
::google::protobuf::internal::ConstantInitialized);
@ -178,7 +186,7 @@ class PROTOBUF_EXPORT SourceContext final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(SourceContext* other);
private:
template <typename T>

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

@ -117,6 +117,14 @@ class PROTOBUF_EXPORT ListValue final
public:
inline ListValue() : ListValue(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR ListValue(
::google::protobuf::internal::ConstantInitialized);
@ -223,7 +231,7 @@ class PROTOBUF_EXPORT ListValue final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(ListValue* other);
private:
template <typename T>
@ -308,6 +316,14 @@ class PROTOBUF_EXPORT Struct final
public:
inline Struct() : Struct(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR Struct(
::google::protobuf::internal::ConstantInitialized);
@ -414,7 +430,7 @@ class PROTOBUF_EXPORT Struct final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(Struct* other);
private:
template <typename T>
@ -539,6 +555,14 @@ class PROTOBUF_EXPORT Value final
public:
inline Value() : Value(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR Value(
::google::protobuf::internal::ConstantInitialized);
@ -654,7 +678,7 @@ class PROTOBUF_EXPORT Value final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(Value* other);
private:
template <typename T>

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

@ -72,6 +72,14 @@ class PROTOBUF_EXPORT Timestamp final
public:
inline Timestamp() : Timestamp(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR Timestamp(
::google::protobuf::internal::ConstantInitialized);
@ -178,7 +186,7 @@ class PROTOBUF_EXPORT Timestamp final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(Timestamp* other);
private:
template <typename T>

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

@ -206,6 +206,14 @@ class PROTOBUF_EXPORT Option final
public:
inline Option() : Option(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR Option(
::google::protobuf::internal::ConstantInitialized);
@ -312,7 +320,7 @@ class PROTOBUF_EXPORT Option final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(Option* other);
private:
template <typename T>
@ -414,6 +422,14 @@ class PROTOBUF_EXPORT Field final
public:
inline Field() : Field(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR Field(
::google::protobuf::internal::ConstantInitialized);
@ -520,7 +536,7 @@ class PROTOBUF_EXPORT Field final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(Field* other);
private:
template <typename T>
@ -794,6 +810,14 @@ class PROTOBUF_EXPORT EnumValue final
public:
inline EnumValue() : EnumValue(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR EnumValue(
::google::protobuf::internal::ConstantInitialized);
@ -900,7 +924,7 @@ class PROTOBUF_EXPORT EnumValue final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(EnumValue* other);
private:
template <typename T>
@ -1015,6 +1039,14 @@ class PROTOBUF_EXPORT Type final
public:
inline Type() : Type(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR Type(
::google::protobuf::internal::ConstantInitialized);
@ -1121,7 +1153,7 @@ class PROTOBUF_EXPORT Type final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(Type* other);
private:
template <typename T>
@ -1315,6 +1347,14 @@ class PROTOBUF_EXPORT Enum final
public:
inline Enum() : Enum(nullptr) {}
~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>
explicit PROTOBUF_CONSTEXPR Enum(
::google::protobuf::internal::ConstantInitialized);
@ -1421,7 +1461,7 @@ class PROTOBUF_EXPORT Enum final
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
static void SharedDtor(MessageLite& self);
void InternalSwap(Enum* other);
private:
template <typename T>

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

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

Loading…
Cancel
Save