From 33ba998e06a460f64ad82ba8a65ebba307cc685e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 13 Sep 2022 10:17:34 -0700 Subject: WhatsApp: compilation fix --- protocols/WhatsAppWeb/src/pmsg.pb.h | 21807 +++++++++++++++++++--------------- 1 file changed, 12009 insertions(+), 9798 deletions(-) (limited to 'protocols/WhatsAppWeb/src/pmsg.pb.h') diff --git a/protocols/WhatsAppWeb/src/pmsg.pb.h b/protocols/WhatsAppWeb/src/pmsg.pb.h index 5e17139e71..cfe8da76fc 100644 --- a/protocols/WhatsAppWeb/src/pmsg.pb.h +++ b/protocols/WhatsAppWeb/src/pmsg.pb.h @@ -8,12 +8,12 @@ #include #include -#if PROTOBUF_VERSION < 3018000 +#if PROTOBUF_VERSION < 3021000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 3018000 < PROTOBUF_MIN_PROTOC_VERSION +#if 3021004 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include @@ -43,15 +42,7 @@ PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_pmsg_2eproto { - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[79] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; - static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; - static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; + static const uint32_t offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_pmsg_2eproto; namespace proto { @@ -1121,7 +1112,7 @@ class PaymentMoney final : public: inline PaymentMoney() : PaymentMoney(nullptr) {} ~PaymentMoney() override; - explicit constexpr PaymentMoney(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR PaymentMoney(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PaymentMoney(const PaymentMoney& from); PaymentMoney(PaymentMoney&& from) noexcept @@ -1178,7 +1169,12 @@ class PaymentMoney final : } inline void Swap(PaymentMoney* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -1192,34 +1188,34 @@ class PaymentMoney final : // implements Message ---------------------------------------------- - inline PaymentMoney* New() const final { - return new PaymentMoney(); - } - - PaymentMoney* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + PaymentMoney* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const PaymentMoney& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const PaymentMoney& from); + void MergeFrom( const PaymentMoney& from) { + PaymentMoney::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(PaymentMoney* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.PaymentMoney"; @@ -1227,9 +1223,6 @@ class PaymentMoney final : protected: explicit PaymentMoney(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -1256,7 +1249,7 @@ class PaymentMoney final : template void set_currencycode(ArgT0&& arg0, ArgT... args); std::string* mutable_currencycode(); - PROTOBUF_MUST_USE_RESULT std::string* release_currencycode(); + PROTOBUF_NODISCARD std::string* release_currencycode(); void set_allocated_currencycode(std::string* currencycode); private: const std::string& _internal_currencycode() const; @@ -1270,11 +1263,11 @@ class PaymentMoney final : bool _internal_has_value() const; public: void clear_value(); - ::PROTOBUF_NAMESPACE_ID::int64 value() const; - void set_value(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t value() const; + void set_value(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_value() const; - void _internal_set_value(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_value() const; + void _internal_set_value(int64_t value); public: // optional uint32 offset = 2; @@ -1283,11 +1276,11 @@ class PaymentMoney final : bool _internal_has_offset() const; public: void clear_offset(); - ::PROTOBUF_NAMESPACE_ID::uint32 offset() const; - void set_offset(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t offset() const; + void set_offset(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_offset() const; - void _internal_set_offset(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_offset() const; + void _internal_set_offset(uint32_t value); public: // @@protoc_insertion_point(class_scope:proto.PaymentMoney) @@ -1297,11 +1290,14 @@ class PaymentMoney final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycode_; - ::PROTOBUF_NAMESPACE_ID::int64 value_; - ::PROTOBUF_NAMESPACE_ID::uint32 offset_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycode_; + int64_t value_; + uint32_t offset_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -1311,7 +1307,7 @@ class HydratedQuickReplyButton final : public: inline HydratedQuickReplyButton() : HydratedQuickReplyButton(nullptr) {} ~HydratedQuickReplyButton() override; - explicit constexpr HydratedQuickReplyButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR HydratedQuickReplyButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); HydratedQuickReplyButton(const HydratedQuickReplyButton& from); HydratedQuickReplyButton(HydratedQuickReplyButton&& from) noexcept @@ -1368,7 +1364,12 @@ class HydratedQuickReplyButton final : } inline void Swap(HydratedQuickReplyButton* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -1382,34 +1383,34 @@ class HydratedQuickReplyButton final : // implements Message ---------------------------------------------- - inline HydratedQuickReplyButton* New() const final { - return new HydratedQuickReplyButton(); - } - - HydratedQuickReplyButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + HydratedQuickReplyButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const HydratedQuickReplyButton& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const HydratedQuickReplyButton& from); + void MergeFrom( const HydratedQuickReplyButton& from) { + HydratedQuickReplyButton::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(HydratedQuickReplyButton* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.HydratedQuickReplyButton"; @@ -1417,9 +1418,6 @@ class HydratedQuickReplyButton final : protected: explicit HydratedQuickReplyButton(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -1445,7 +1443,7 @@ class HydratedQuickReplyButton final : template void set_displaytext(ArgT0&& arg0, ArgT... args); std::string* mutable_displaytext(); - PROTOBUF_MUST_USE_RESULT std::string* release_displaytext(); + PROTOBUF_NODISCARD std::string* release_displaytext(); void set_allocated_displaytext(std::string* displaytext); private: const std::string& _internal_displaytext() const; @@ -1463,7 +1461,7 @@ class HydratedQuickReplyButton final : template void set_id(ArgT0&& arg0, ArgT... args); std::string* mutable_id(); - PROTOBUF_MUST_USE_RESULT std::string* release_id(); + PROTOBUF_NODISCARD std::string* release_id(); void set_allocated_id(std::string* id); private: const std::string& _internal_id() const; @@ -1478,10 +1476,13 @@ class HydratedQuickReplyButton final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -1491,7 +1492,7 @@ class HydratedURLButton final : public: inline HydratedURLButton() : HydratedURLButton(nullptr) {} ~HydratedURLButton() override; - explicit constexpr HydratedURLButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR HydratedURLButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); HydratedURLButton(const HydratedURLButton& from); HydratedURLButton(HydratedURLButton&& from) noexcept @@ -1548,7 +1549,12 @@ class HydratedURLButton final : } inline void Swap(HydratedURLButton* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -1562,34 +1568,34 @@ class HydratedURLButton final : // implements Message ---------------------------------------------- - inline HydratedURLButton* New() const final { - return new HydratedURLButton(); - } - - HydratedURLButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + HydratedURLButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const HydratedURLButton& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const HydratedURLButton& from); + void MergeFrom( const HydratedURLButton& from) { + HydratedURLButton::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(HydratedURLButton* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.HydratedURLButton"; @@ -1597,9 +1603,6 @@ class HydratedURLButton final : protected: explicit HydratedURLButton(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -1625,7 +1628,7 @@ class HydratedURLButton final : template void set_displaytext(ArgT0&& arg0, ArgT... args); std::string* mutable_displaytext(); - PROTOBUF_MUST_USE_RESULT std::string* release_displaytext(); + PROTOBUF_NODISCARD std::string* release_displaytext(); void set_allocated_displaytext(std::string* displaytext); private: const std::string& _internal_displaytext() const; @@ -1643,7 +1646,7 @@ class HydratedURLButton final : template void set_url(ArgT0&& arg0, ArgT... args); std::string* mutable_url(); - PROTOBUF_MUST_USE_RESULT std::string* release_url(); + PROTOBUF_NODISCARD std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; @@ -1658,10 +1661,13 @@ class HydratedURLButton final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -1671,7 +1677,7 @@ class HydratedCallButton final : public: inline HydratedCallButton() : HydratedCallButton(nullptr) {} ~HydratedCallButton() override; - explicit constexpr HydratedCallButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR HydratedCallButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); HydratedCallButton(const HydratedCallButton& from); HydratedCallButton(HydratedCallButton&& from) noexcept @@ -1728,7 +1734,12 @@ class HydratedCallButton final : } inline void Swap(HydratedCallButton* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -1742,34 +1753,34 @@ class HydratedCallButton final : // implements Message ---------------------------------------------- - inline HydratedCallButton* New() const final { - return new HydratedCallButton(); - } - - HydratedCallButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + HydratedCallButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const HydratedCallButton& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const HydratedCallButton& from); + void MergeFrom( const HydratedCallButton& from) { + HydratedCallButton::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(HydratedCallButton* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.HydratedCallButton"; @@ -1777,9 +1788,6 @@ class HydratedCallButton final : protected: explicit HydratedCallButton(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -1805,7 +1813,7 @@ class HydratedCallButton final : template void set_displaytext(ArgT0&& arg0, ArgT... args); std::string* mutable_displaytext(); - PROTOBUF_MUST_USE_RESULT std::string* release_displaytext(); + PROTOBUF_NODISCARD std::string* release_displaytext(); void set_allocated_displaytext(std::string* displaytext); private: const std::string& _internal_displaytext() const; @@ -1823,7 +1831,7 @@ class HydratedCallButton final : template void set_phonenumber(ArgT0&& arg0, ArgT... args); std::string* mutable_phonenumber(); - PROTOBUF_MUST_USE_RESULT std::string* release_phonenumber(); + PROTOBUF_NODISCARD std::string* release_phonenumber(); void set_allocated_phonenumber(std::string* phonenumber); private: const std::string& _internal_phonenumber() const; @@ -1838,10 +1846,13 @@ class HydratedCallButton final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr phonenumber_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr phonenumber_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -1851,7 +1862,7 @@ class HydratedTemplateButton final : public: inline HydratedTemplateButton() : HydratedTemplateButton(nullptr) {} ~HydratedTemplateButton() override; - explicit constexpr HydratedTemplateButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR HydratedTemplateButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); HydratedTemplateButton(const HydratedTemplateButton& from); HydratedTemplateButton(HydratedTemplateButton&& from) noexcept @@ -1915,7 +1926,12 @@ class HydratedTemplateButton final : } inline void Swap(HydratedTemplateButton* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -1929,34 +1945,34 @@ class HydratedTemplateButton final : // implements Message ---------------------------------------------- - inline HydratedTemplateButton* New() const final { - return new HydratedTemplateButton(); - } - - HydratedTemplateButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + HydratedTemplateButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const HydratedTemplateButton& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const HydratedTemplateButton& from); + void MergeFrom( const HydratedTemplateButton& from) { + HydratedTemplateButton::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(HydratedTemplateButton* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.HydratedTemplateButton"; @@ -1964,9 +1980,6 @@ class HydratedTemplateButton final : protected: explicit HydratedTemplateButton(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -1990,11 +2003,11 @@ class HydratedTemplateButton final : bool _internal_has_index() const; public: void clear_index(); - ::PROTOBUF_NAMESPACE_ID::uint32 index() const; - void set_index(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t index() const; + void set_index(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_index() const; - void _internal_set_index(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_index() const; + void _internal_set_index(uint32_t value); public: // .proto.HydratedQuickReplyButton quickReplyButton = 1; @@ -2004,7 +2017,7 @@ class HydratedTemplateButton final : public: void clear_quickreplybutton(); const ::proto::HydratedQuickReplyButton& quickreplybutton() const; - PROTOBUF_MUST_USE_RESULT ::proto::HydratedQuickReplyButton* release_quickreplybutton(); + PROTOBUF_NODISCARD ::proto::HydratedQuickReplyButton* release_quickreplybutton(); ::proto::HydratedQuickReplyButton* mutable_quickreplybutton(); void set_allocated_quickreplybutton(::proto::HydratedQuickReplyButton* quickreplybutton); private: @@ -2022,7 +2035,7 @@ class HydratedTemplateButton final : public: void clear_urlbutton(); const ::proto::HydratedURLButton& urlbutton() const; - PROTOBUF_MUST_USE_RESULT ::proto::HydratedURLButton* release_urlbutton(); + PROTOBUF_NODISCARD ::proto::HydratedURLButton* release_urlbutton(); ::proto::HydratedURLButton* mutable_urlbutton(); void set_allocated_urlbutton(::proto::HydratedURLButton* urlbutton); private: @@ -2040,7 +2053,7 @@ class HydratedTemplateButton final : public: void clear_callbutton(); const ::proto::HydratedCallButton& callbutton() const; - PROTOBUF_MUST_USE_RESULT ::proto::HydratedCallButton* release_callbutton(); + PROTOBUF_NODISCARD ::proto::HydratedCallButton* release_callbutton(); ::proto::HydratedCallButton* mutable_callbutton(); void set_allocated_callbutton(::proto::HydratedCallButton* callbutton); private: @@ -2066,18 +2079,21 @@ class HydratedTemplateButton final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 index_; - union HydratedButtonUnion { - constexpr HydratedButtonUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::proto::HydratedQuickReplyButton* quickreplybutton_; - ::proto::HydratedURLButton* urlbutton_; - ::proto::HydratedCallButton* callbutton_; - } hydratedButton_; - ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t index_; + union HydratedButtonUnion { + constexpr HydratedButtonUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + ::proto::HydratedQuickReplyButton* quickreplybutton_; + ::proto::HydratedURLButton* urlbutton_; + ::proto::HydratedCallButton* callbutton_; + } hydratedButton_; + uint32_t _oneof_case_[1]; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -2087,7 +2103,7 @@ class QuickReplyButton final : public: inline QuickReplyButton() : QuickReplyButton(nullptr) {} ~QuickReplyButton() override; - explicit constexpr QuickReplyButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR QuickReplyButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); QuickReplyButton(const QuickReplyButton& from); QuickReplyButton(QuickReplyButton&& from) noexcept @@ -2144,7 +2160,12 @@ class QuickReplyButton final : } inline void Swap(QuickReplyButton* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -2158,34 +2179,34 @@ class QuickReplyButton final : // implements Message ---------------------------------------------- - inline QuickReplyButton* New() const final { - return new QuickReplyButton(); - } - - QuickReplyButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + QuickReplyButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const QuickReplyButton& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const QuickReplyButton& from); + void MergeFrom( const QuickReplyButton& from) { + QuickReplyButton::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(QuickReplyButton* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.QuickReplyButton"; @@ -2193,9 +2214,6 @@ class QuickReplyButton final : protected: explicit QuickReplyButton(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -2221,7 +2239,7 @@ class QuickReplyButton final : template void set_id(ArgT0&& arg0, ArgT... args); std::string* mutable_id(); - PROTOBUF_MUST_USE_RESULT std::string* release_id(); + PROTOBUF_NODISCARD std::string* release_id(); void set_allocated_id(std::string* id); private: const std::string& _internal_id() const; @@ -2236,7 +2254,7 @@ class QuickReplyButton final : public: void clear_displaytext(); const ::proto::HighlyStructuredMessage& displaytext() const; - PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_displaytext(); + PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_displaytext(); ::proto::HighlyStructuredMessage* mutable_displaytext(); void set_allocated_displaytext(::proto::HighlyStructuredMessage* displaytext); private: @@ -2254,10 +2272,13 @@ class QuickReplyButton final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - ::proto::HighlyStructuredMessage* displaytext_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + ::proto::HighlyStructuredMessage* displaytext_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -2267,7 +2288,7 @@ class URLButton final : public: inline URLButton() : URLButton(nullptr) {} ~URLButton() override; - explicit constexpr URLButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR URLButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); URLButton(const URLButton& from); URLButton(URLButton&& from) noexcept @@ -2324,7 +2345,12 @@ class URLButton final : } inline void Swap(URLButton* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -2338,34 +2364,34 @@ class URLButton final : // implements Message ---------------------------------------------- - inline URLButton* New() const final { - return new URLButton(); - } - - URLButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + URLButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const URLButton& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const URLButton& from); + void MergeFrom( const URLButton& from) { + URLButton::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(URLButton* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.URLButton"; @@ -2373,9 +2399,6 @@ class URLButton final : protected: explicit URLButton(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -2398,7 +2421,7 @@ class URLButton final : public: void clear_displaytext(); const ::proto::HighlyStructuredMessage& displaytext() const; - PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_displaytext(); + PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_displaytext(); ::proto::HighlyStructuredMessage* mutable_displaytext(); void set_allocated_displaytext(::proto::HighlyStructuredMessage* displaytext); private: @@ -2416,7 +2439,7 @@ class URLButton final : public: void clear_url(); const ::proto::HighlyStructuredMessage& url() const; - PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_url(); + PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_url(); ::proto::HighlyStructuredMessage* mutable_url(); void set_allocated_url(::proto::HighlyStructuredMessage* url); private: @@ -2434,10 +2457,13 @@ class URLButton final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::proto::HighlyStructuredMessage* displaytext_; - ::proto::HighlyStructuredMessage* url_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::proto::HighlyStructuredMessage* displaytext_; + ::proto::HighlyStructuredMessage* url_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -2447,7 +2473,7 @@ class CallButton final : public: inline CallButton() : CallButton(nullptr) {} ~CallButton() override; - explicit constexpr CallButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR CallButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CallButton(const CallButton& from); CallButton(CallButton&& from) noexcept @@ -2504,7 +2530,12 @@ class CallButton final : } inline void Swap(CallButton* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -2518,34 +2549,34 @@ class CallButton final : // implements Message ---------------------------------------------- - inline CallButton* New() const final { - return new CallButton(); - } - - CallButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + CallButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const CallButton& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const CallButton& from); + void MergeFrom( const CallButton& from) { + CallButton::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(CallButton* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.CallButton"; @@ -2553,9 +2584,6 @@ class CallButton final : protected: explicit CallButton(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -2578,7 +2606,7 @@ class CallButton final : public: void clear_displaytext(); const ::proto::HighlyStructuredMessage& displaytext() const; - PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_displaytext(); + PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_displaytext(); ::proto::HighlyStructuredMessage* mutable_displaytext(); void set_allocated_displaytext(::proto::HighlyStructuredMessage* displaytext); private: @@ -2596,7 +2624,7 @@ class CallButton final : public: void clear_phonenumber(); const ::proto::HighlyStructuredMessage& phonenumber() const; - PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_phonenumber(); + PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_phonenumber(); ::proto::HighlyStructuredMessage* mutable_phonenumber(); void set_allocated_phonenumber(::proto::HighlyStructuredMessage* phonenumber); private: @@ -2614,10 +2642,13 @@ class CallButton final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::proto::HighlyStructuredMessage* displaytext_; - ::proto::HighlyStructuredMessage* phonenumber_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::proto::HighlyStructuredMessage* displaytext_; + ::proto::HighlyStructuredMessage* phonenumber_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -2627,7 +2658,7 @@ class TemplateButton final : public: inline TemplateButton() : TemplateButton(nullptr) {} ~TemplateButton() override; - explicit constexpr TemplateButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR TemplateButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); TemplateButton(const TemplateButton& from); TemplateButton(TemplateButton&& from) noexcept @@ -2691,7 +2722,12 @@ class TemplateButton final : } inline void Swap(TemplateButton* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -2705,34 +2741,34 @@ class TemplateButton final : // implements Message ---------------------------------------------- - inline TemplateButton* New() const final { - return new TemplateButton(); - } - - TemplateButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + TemplateButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const TemplateButton& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const TemplateButton& from); + void MergeFrom( const TemplateButton& from) { + TemplateButton::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(TemplateButton* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.TemplateButton"; @@ -2740,9 +2776,6 @@ class TemplateButton final : protected: explicit TemplateButton(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -2766,11 +2799,11 @@ class TemplateButton final : bool _internal_has_index() const; public: void clear_index(); - ::PROTOBUF_NAMESPACE_ID::uint32 index() const; - void set_index(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t index() const; + void set_index(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_index() const; - void _internal_set_index(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_index() const; + void _internal_set_index(uint32_t value); public: // .proto.QuickReplyButton quickReplyButton = 1; @@ -2780,7 +2813,7 @@ class TemplateButton final : public: void clear_quickreplybutton(); const ::proto::QuickReplyButton& quickreplybutton() const; - PROTOBUF_MUST_USE_RESULT ::proto::QuickReplyButton* release_quickreplybutton(); + PROTOBUF_NODISCARD ::proto::QuickReplyButton* release_quickreplybutton(); ::proto::QuickReplyButton* mutable_quickreplybutton(); void set_allocated_quickreplybutton(::proto::QuickReplyButton* quickreplybutton); private: @@ -2798,7 +2831,7 @@ class TemplateButton final : public: void clear_urlbutton(); const ::proto::URLButton& urlbutton() const; - PROTOBUF_MUST_USE_RESULT ::proto::URLButton* release_urlbutton(); + PROTOBUF_NODISCARD ::proto::URLButton* release_urlbutton(); ::proto::URLButton* mutable_urlbutton(); void set_allocated_urlbutton(::proto::URLButton* urlbutton); private: @@ -2816,7 +2849,7 @@ class TemplateButton final : public: void clear_callbutton(); const ::proto::CallButton& callbutton() const; - PROTOBUF_MUST_USE_RESULT ::proto::CallButton* release_callbutton(); + PROTOBUF_NODISCARD ::proto::CallButton* release_callbutton(); ::proto::CallButton* mutable_callbutton(); void set_allocated_callbutton(::proto::CallButton* callbutton); private: @@ -2842,18 +2875,21 @@ class TemplateButton final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 index_; - union ButtonUnion { - constexpr ButtonUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::proto::QuickReplyButton* quickreplybutton_; - ::proto::URLButton* urlbutton_; - ::proto::CallButton* callbutton_; - } button_; - ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t index_; + union ButtonUnion { + constexpr ButtonUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + ::proto::QuickReplyButton* quickreplybutton_; + ::proto::URLButton* urlbutton_; + ::proto::CallButton* callbutton_; + } button_; + uint32_t _oneof_case_[1]; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -2863,7 +2899,7 @@ class Location final : public: inline Location() : Location(nullptr) {} ~Location() override; - explicit constexpr Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Location(const Location& from); Location(Location&& from) noexcept @@ -2920,7 +2956,12 @@ class Location final : } inline void Swap(Location* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -2934,34 +2975,34 @@ class Location final : // implements Message ---------------------------------------------- - inline Location* New() const final { - return new Location(); - } - - Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const Location& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const Location& from); + void MergeFrom( const Location& from) { + Location::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Location* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.Location"; @@ -2969,9 +3010,6 @@ class Location final : protected: explicit Location(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -2998,7 +3036,7 @@ class Location final : template void set_name(ArgT0&& arg0, ArgT... args); std::string* mutable_name(); - PROTOBUF_MUST_USE_RESULT std::string* release_name(); + PROTOBUF_NODISCARD std::string* release_name(); void set_allocated_name(std::string* name); private: const std::string& _internal_name() const; @@ -3039,11 +3077,14 @@ class Location final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - double degreeslatitude_; - double degreeslongitude_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + double degreeslatitude_; + double degreeslongitude_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -3053,7 +3094,7 @@ class Point final : public: inline Point() : Point(nullptr) {} ~Point() override; - explicit constexpr Point(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR Point(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Point(const Point& from); Point(Point&& from) noexcept @@ -3110,7 +3151,12 @@ class Point final : } inline void Swap(Point* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -3124,34 +3170,34 @@ class Point final : // implements Message ---------------------------------------------- - inline Point* New() const final { - return new Point(); - } - - Point* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + Point* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const Point& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const Point& from); + void MergeFrom( const Point& from) { + Point::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Point* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.Point"; @@ -3159,9 +3205,6 @@ class Point final : protected: explicit Point(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -3185,11 +3228,11 @@ class Point final : bool _internal_has_xdeprecated() const; public: void clear_xdeprecated(); - ::PROTOBUF_NAMESPACE_ID::int32 xdeprecated() const; - void set_xdeprecated(::PROTOBUF_NAMESPACE_ID::int32 value); + int32_t xdeprecated() const; + void set_xdeprecated(int32_t value); private: - ::PROTOBUF_NAMESPACE_ID::int32 _internal_xdeprecated() const; - void _internal_set_xdeprecated(::PROTOBUF_NAMESPACE_ID::int32 value); + int32_t _internal_xdeprecated() const; + void _internal_set_xdeprecated(int32_t value); public: // optional int32 yDeprecated = 2; @@ -3198,11 +3241,11 @@ class Point final : bool _internal_has_ydeprecated() const; public: void clear_ydeprecated(); - ::PROTOBUF_NAMESPACE_ID::int32 ydeprecated() const; - void set_ydeprecated(::PROTOBUF_NAMESPACE_ID::int32 value); + int32_t ydeprecated() const; + void set_ydeprecated(int32_t value); private: - ::PROTOBUF_NAMESPACE_ID::int32 _internal_ydeprecated() const; - void _internal_set_ydeprecated(::PROTOBUF_NAMESPACE_ID::int32 value); + int32_t _internal_ydeprecated() const; + void _internal_set_ydeprecated(int32_t value); public: // optional double x = 3; @@ -3238,12 +3281,15 @@ class Point final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::int32 xdeprecated_; - ::PROTOBUF_NAMESPACE_ID::int32 ydeprecated_; - double x_; - double y_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t xdeprecated_; + int32_t ydeprecated_; + double x_; + double y_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -3253,7 +3299,7 @@ class InteractiveAnnotation final : public: inline InteractiveAnnotation() : InteractiveAnnotation(nullptr) {} ~InteractiveAnnotation() override; - explicit constexpr InteractiveAnnotation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR InteractiveAnnotation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); InteractiveAnnotation(const InteractiveAnnotation& from); InteractiveAnnotation(InteractiveAnnotation&& from) noexcept @@ -3315,7 +3361,12 @@ class InteractiveAnnotation final : } inline void Swap(InteractiveAnnotation* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -3329,34 +3380,34 @@ class InteractiveAnnotation final : // implements Message ---------------------------------------------- - inline InteractiveAnnotation* New() const final { - return new InteractiveAnnotation(); - } - - InteractiveAnnotation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + InteractiveAnnotation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const InteractiveAnnotation& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const InteractiveAnnotation& from); + void MergeFrom( const InteractiveAnnotation& from) { + InteractiveAnnotation::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(InteractiveAnnotation* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.InteractiveAnnotation"; @@ -3364,9 +3415,6 @@ class InteractiveAnnotation final : protected: explicit InteractiveAnnotation(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -3407,7 +3455,7 @@ class InteractiveAnnotation final : public: void clear_location(); const ::proto::Location& location() const; - PROTOBUF_MUST_USE_RESULT ::proto::Location* release_location(); + PROTOBUF_NODISCARD ::proto::Location* release_location(); ::proto::Location* mutable_location(); void set_allocated_location(::proto::Location* location); private: @@ -3431,15 +3479,18 @@ class InteractiveAnnotation final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Point > polygonvertices_; - union ActionUnion { - constexpr ActionUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::proto::Location* location_; - } action_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Point > polygonvertices_; + union ActionUnion { + constexpr ActionUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + ::proto::Location* location_; + } action_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t _oneof_case_[1]; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -3449,7 +3500,7 @@ class DeviceListMetadata final : public: inline DeviceListMetadata() : DeviceListMetadata(nullptr) {} ~DeviceListMetadata() override; - explicit constexpr DeviceListMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR DeviceListMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); DeviceListMetadata(const DeviceListMetadata& from); DeviceListMetadata(DeviceListMetadata&& from) noexcept @@ -3506,7 +3557,12 @@ class DeviceListMetadata final : } inline void Swap(DeviceListMetadata* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -3520,34 +3576,34 @@ class DeviceListMetadata final : // implements Message ---------------------------------------------- - inline DeviceListMetadata* New() const final { - return new DeviceListMetadata(); - } - - DeviceListMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + DeviceListMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const DeviceListMetadata& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DeviceListMetadata& from); + void MergeFrom( const DeviceListMetadata& from) { + DeviceListMetadata::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(DeviceListMetadata* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.DeviceListMetadata"; @@ -3555,9 +3611,6 @@ class DeviceListMetadata final : protected: explicit DeviceListMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -3585,7 +3638,7 @@ class DeviceListMetadata final : template void set_senderkeyhash(ArgT0&& arg0, ArgT... args); std::string* mutable_senderkeyhash(); - PROTOBUF_MUST_USE_RESULT std::string* release_senderkeyhash(); + PROTOBUF_NODISCARD std::string* release_senderkeyhash(); void set_allocated_senderkeyhash(std::string* senderkeyhash); private: const std::string& _internal_senderkeyhash() const; @@ -3603,7 +3656,7 @@ class DeviceListMetadata final : template void set_recipientkeyhash(ArgT0&& arg0, ArgT... args); std::string* mutable_recipientkeyhash(); - PROTOBUF_MUST_USE_RESULT std::string* release_recipientkeyhash(); + PROTOBUF_NODISCARD std::string* release_recipientkeyhash(); void set_allocated_recipientkeyhash(std::string* recipientkeyhash); private: const std::string& _internal_recipientkeyhash() const; @@ -3617,11 +3670,11 @@ class DeviceListMetadata final : bool _internal_has_sendertimestamp() const; public: void clear_sendertimestamp(); - ::PROTOBUF_NAMESPACE_ID::uint64 sendertimestamp() const; - void set_sendertimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t sendertimestamp() const; + void set_sendertimestamp(uint64_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint64 _internal_sendertimestamp() const; - void _internal_set_sendertimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t _internal_sendertimestamp() const; + void _internal_set_sendertimestamp(uint64_t value); public: // optional uint64 recipientTimestamp = 9; @@ -3630,11 +3683,11 @@ class DeviceListMetadata final : bool _internal_has_recipienttimestamp() const; public: void clear_recipienttimestamp(); - ::PROTOBUF_NAMESPACE_ID::uint64 recipienttimestamp() const; - void set_recipienttimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t recipienttimestamp() const; + void set_recipienttimestamp(uint64_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint64 _internal_recipienttimestamp() const; - void _internal_set_recipienttimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t _internal_recipienttimestamp() const; + void _internal_set_recipienttimestamp(uint64_t value); public: // @@protoc_insertion_point(class_scope:proto.DeviceListMetadata) @@ -3644,12 +3697,15 @@ class DeviceListMetadata final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr senderkeyhash_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr recipientkeyhash_; - ::PROTOBUF_NAMESPACE_ID::uint64 sendertimestamp_; - ::PROTOBUF_NAMESPACE_ID::uint64 recipienttimestamp_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr senderkeyhash_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr recipientkeyhash_; + uint64_t sendertimestamp_; + uint64_t recipienttimestamp_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -3659,7 +3715,7 @@ class MessageContextInfo final : public: inline MessageContextInfo() : MessageContextInfo(nullptr) {} ~MessageContextInfo() override; - explicit constexpr MessageContextInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR MessageContextInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); MessageContextInfo(const MessageContextInfo& from); MessageContextInfo(MessageContextInfo&& from) noexcept @@ -3716,7 +3772,12 @@ class MessageContextInfo final : } inline void Swap(MessageContextInfo* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -3730,34 +3791,34 @@ class MessageContextInfo final : // implements Message ---------------------------------------------- - inline MessageContextInfo* New() const final { - return new MessageContextInfo(); - } - - MessageContextInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + MessageContextInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const MessageContextInfo& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const MessageContextInfo& from); + void MergeFrom( const MessageContextInfo& from) { + MessageContextInfo::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(MessageContextInfo* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.MessageContextInfo"; @@ -3765,9 +3826,6 @@ class MessageContextInfo final : protected: explicit MessageContextInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -3789,7 +3847,7 @@ class MessageContextInfo final : public: void clear_devicelistmetadata(); const ::proto::DeviceListMetadata& devicelistmetadata() const; - PROTOBUF_MUST_USE_RESULT ::proto::DeviceListMetadata* release_devicelistmetadata(); + PROTOBUF_NODISCARD ::proto::DeviceListMetadata* release_devicelistmetadata(); ::proto::DeviceListMetadata* mutable_devicelistmetadata(); void set_allocated_devicelistmetadata(::proto::DeviceListMetadata* devicelistmetadata); private: @@ -3807,9 +3865,12 @@ class MessageContextInfo final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::proto::DeviceListMetadata* devicelistmetadata_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::proto::DeviceListMetadata* devicelistmetadata_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -3819,7 +3880,7 @@ class AdReplyInfo final : public: inline AdReplyInfo() : AdReplyInfo(nullptr) {} ~AdReplyInfo() override; - explicit constexpr AdReplyInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR AdReplyInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AdReplyInfo(const AdReplyInfo& from); AdReplyInfo(AdReplyInfo&& from) noexcept @@ -3876,7 +3937,12 @@ class AdReplyInfo final : } inline void Swap(AdReplyInfo* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -3890,34 +3956,34 @@ class AdReplyInfo final : // implements Message ---------------------------------------------- - inline AdReplyInfo* New() const final { - return new AdReplyInfo(); - } - - AdReplyInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AdReplyInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const AdReplyInfo& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AdReplyInfo& from); + void MergeFrom( const AdReplyInfo& from) { + AdReplyInfo::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(AdReplyInfo* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.AdReplyInfo"; @@ -3925,9 +3991,6 @@ class AdReplyInfo final : protected: explicit AdReplyInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -3987,7 +4050,7 @@ class AdReplyInfo final : template void set_advertisername(ArgT0&& arg0, ArgT... args); std::string* mutable_advertisername(); - PROTOBUF_MUST_USE_RESULT std::string* release_advertisername(); + PROTOBUF_NODISCARD std::string* release_advertisername(); void set_allocated_advertisername(std::string* advertisername); private: const std::string& _internal_advertisername() const; @@ -4005,7 +4068,7 @@ class AdReplyInfo final : template void set_jpegthumbnail(ArgT0&& arg0, ArgT... args); std::string* mutable_jpegthumbnail(); - PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail(); + PROTOBUF_NODISCARD std::string* release_jpegthumbnail(); void set_allocated_jpegthumbnail(std::string* jpegthumbnail); private: const std::string& _internal_jpegthumbnail() const; @@ -4023,7 +4086,7 @@ class AdReplyInfo final : template void set_caption(ArgT0&& arg0, ArgT... args); std::string* mutable_caption(); - PROTOBUF_MUST_USE_RESULT std::string* release_caption(); + PROTOBUF_NODISCARD std::string* release_caption(); void set_allocated_caption(std::string* caption); private: const std::string& _internal_caption() const; @@ -4051,12 +4114,15 @@ class AdReplyInfo final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr advertisername_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_; - int mediatype_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr advertisername_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_; + int mediatype_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -4066,7 +4132,7 @@ class ExternalAdReplyInfo final : public: inline ExternalAdReplyInfo() : ExternalAdReplyInfo(nullptr) {} ~ExternalAdReplyInfo() override; - explicit constexpr ExternalAdReplyInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR ExternalAdReplyInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ExternalAdReplyInfo(const ExternalAdReplyInfo& from); ExternalAdReplyInfo(ExternalAdReplyInfo&& from) noexcept @@ -4123,7 +4189,12 @@ class ExternalAdReplyInfo final : } inline void Swap(ExternalAdReplyInfo* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -4137,34 +4208,34 @@ class ExternalAdReplyInfo final : // implements Message ---------------------------------------------- - inline ExternalAdReplyInfo* New() const final { - return new ExternalAdReplyInfo(); - } - - ExternalAdReplyInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ExternalAdReplyInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const ExternalAdReplyInfo& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ExternalAdReplyInfo& from); + void MergeFrom( const ExternalAdReplyInfo& from) { + ExternalAdReplyInfo::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(ExternalAdReplyInfo* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.ExternalAdReplyInfo"; @@ -4172,9 +4243,6 @@ class ExternalAdReplyInfo final : protected: explicit ExternalAdReplyInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -4239,7 +4307,7 @@ class ExternalAdReplyInfo final : template void set_title(ArgT0&& arg0, ArgT... args); std::string* mutable_title(); - PROTOBUF_MUST_USE_RESULT std::string* release_title(); + PROTOBUF_NODISCARD std::string* release_title(); void set_allocated_title(std::string* title); private: const std::string& _internal_title() const; @@ -4257,7 +4325,7 @@ class ExternalAdReplyInfo final : template void set_body(ArgT0&& arg0, ArgT... args); std::string* mutable_body(); - PROTOBUF_MUST_USE_RESULT std::string* release_body(); + PROTOBUF_NODISCARD std::string* release_body(); void set_allocated_body(std::string* body); private: const std::string& _internal_body() const; @@ -4275,7 +4343,7 @@ class ExternalAdReplyInfo final : template void set_thumbnailurl(ArgT0&& arg0, ArgT... args); std::string* mutable_thumbnailurl(); - PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailurl(); + PROTOBUF_NODISCARD std::string* release_thumbnailurl(); void set_allocated_thumbnailurl(std::string* thumbnailurl); private: const std::string& _internal_thumbnailurl() const; @@ -4293,7 +4361,7 @@ class ExternalAdReplyInfo final : template void set_mediaurl(ArgT0&& arg0, ArgT... args); std::string* mutable_mediaurl(); - PROTOBUF_MUST_USE_RESULT std::string* release_mediaurl(); + PROTOBUF_NODISCARD std::string* release_mediaurl(); void set_allocated_mediaurl(std::string* mediaurl); private: const std::string& _internal_mediaurl() const; @@ -4311,7 +4379,7 @@ class ExternalAdReplyInfo final : template void set_thumbnail(ArgT0&& arg0, ArgT... args); std::string* mutable_thumbnail(); - PROTOBUF_MUST_USE_RESULT std::string* release_thumbnail(); + PROTOBUF_NODISCARD std::string* release_thumbnail(); void set_allocated_thumbnail(std::string* thumbnail); private: const std::string& _internal_thumbnail() const; @@ -4329,7 +4397,7 @@ class ExternalAdReplyInfo final : template void set_sourcetype(ArgT0&& arg0, ArgT... args); std::string* mutable_sourcetype(); - PROTOBUF_MUST_USE_RESULT std::string* release_sourcetype(); + PROTOBUF_NODISCARD std::string* release_sourcetype(); void set_allocated_sourcetype(std::string* sourcetype); private: const std::string& _internal_sourcetype() const; @@ -4347,7 +4415,7 @@ class ExternalAdReplyInfo final : template void set_sourceid(ArgT0&& arg0, ArgT... args); std::string* mutable_sourceid(); - PROTOBUF_MUST_USE_RESULT std::string* release_sourceid(); + PROTOBUF_NODISCARD std::string* release_sourceid(); void set_allocated_sourceid(std::string* sourceid); private: const std::string& _internal_sourceid() const; @@ -4365,7 +4433,7 @@ class ExternalAdReplyInfo final : template void set_sourceurl(ArgT0&& arg0, ArgT... args); std::string* mutable_sourceurl(); - PROTOBUF_MUST_USE_RESULT std::string* release_sourceurl(); + PROTOBUF_NODISCARD std::string* release_sourceurl(); void set_allocated_sourceurl(std::string* sourceurl); private: const std::string& _internal_sourceurl() const; @@ -4393,17 +4461,20 @@ class ExternalAdReplyInfo final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr body_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailurl_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediaurl_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnail_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sourcetype_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sourceid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sourceurl_; - int mediatype_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr body_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailurl_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediaurl_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnail_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sourcetype_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sourceid_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sourceurl_; + int mediatype_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -4413,7 +4484,7 @@ class ContextInfo final : public: inline ContextInfo() : ContextInfo(nullptr) {} ~ContextInfo() override; - explicit constexpr ContextInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR ContextInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ContextInfo(const ContextInfo& from); ContextInfo(ContextInfo&& from) noexcept @@ -4470,7 +4541,12 @@ class ContextInfo final : } inline void Swap(ContextInfo* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -4484,34 +4560,34 @@ class ContextInfo final : // implements Message ---------------------------------------------- - inline ContextInfo* New() const final { - return new ContextInfo(); - } - - ContextInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ContextInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const ContextInfo& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ContextInfo& from); + void MergeFrom( const ContextInfo& from) { + ContextInfo::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(ContextInfo* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.ContextInfo"; @@ -4519,9 +4595,6 @@ class ContextInfo final : protected: explicit ContextInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -4585,7 +4658,7 @@ class ContextInfo final : template void set_stanzaid(ArgT0&& arg0, ArgT... args); std::string* mutable_stanzaid(); - PROTOBUF_MUST_USE_RESULT std::string* release_stanzaid(); + PROTOBUF_NODISCARD std::string* release_stanzaid(); void set_allocated_stanzaid(std::string* stanzaid); private: const std::string& _internal_stanzaid() const; @@ -4603,7 +4676,7 @@ class ContextInfo final : template void set_participant(ArgT0&& arg0, ArgT... args); std::string* mutable_participant(); - PROTOBUF_MUST_USE_RESULT std::string* release_participant(); + PROTOBUF_NODISCARD std::string* release_participant(); void set_allocated_participant(std::string* participant); private: const std::string& _internal_participant() const; @@ -4621,7 +4694,7 @@ class ContextInfo final : template void set_remotejid(ArgT0&& arg0, ArgT... args); std::string* mutable_remotejid(); - PROTOBUF_MUST_USE_RESULT std::string* release_remotejid(); + PROTOBUF_NODISCARD std::string* release_remotejid(); void set_allocated_remotejid(std::string* remotejid); private: const std::string& _internal_remotejid() const; @@ -4639,7 +4712,7 @@ class ContextInfo final : template void set_conversionsource(ArgT0&& arg0, ArgT... args); std::string* mutable_conversionsource(); - PROTOBUF_MUST_USE_RESULT std::string* release_conversionsource(); + PROTOBUF_NODISCARD std::string* release_conversionsource(); void set_allocated_conversionsource(std::string* conversionsource); private: const std::string& _internal_conversionsource() const; @@ -4657,7 +4730,7 @@ class ContextInfo final : template void set_conversiondata(ArgT0&& arg0, ArgT... args); std::string* mutable_conversiondata(); - PROTOBUF_MUST_USE_RESULT std::string* release_conversiondata(); + PROTOBUF_NODISCARD std::string* release_conversiondata(); void set_allocated_conversiondata(std::string* conversiondata); private: const std::string& _internal_conversiondata() const; @@ -4675,7 +4748,7 @@ class ContextInfo final : template void set_ephemeralsharedsecret(ArgT0&& arg0, ArgT... args); std::string* mutable_ephemeralsharedsecret(); - PROTOBUF_MUST_USE_RESULT std::string* release_ephemeralsharedsecret(); + PROTOBUF_NODISCARD std::string* release_ephemeralsharedsecret(); void set_allocated_ephemeralsharedsecret(std::string* ephemeralsharedsecret); private: const std::string& _internal_ephemeralsharedsecret() const; @@ -4690,7 +4763,7 @@ class ContextInfo final : public: void clear_quotedmessage(); const ::proto::Message& quotedmessage() const; - PROTOBUF_MUST_USE_RESULT ::proto::Message* release_quotedmessage(); + PROTOBUF_NODISCARD ::proto::Message* release_quotedmessage(); ::proto::Message* mutable_quotedmessage(); void set_allocated_quotedmessage(::proto::Message* quotedmessage); private: @@ -4708,7 +4781,7 @@ class ContextInfo final : public: void clear_quotedad(); const ::proto::AdReplyInfo& quotedad() const; - PROTOBUF_MUST_USE_RESULT ::proto::AdReplyInfo* release_quotedad(); + PROTOBUF_NODISCARD ::proto::AdReplyInfo* release_quotedad(); ::proto::AdReplyInfo* mutable_quotedad(); void set_allocated_quotedad(::proto::AdReplyInfo* quotedad); private: @@ -4726,7 +4799,7 @@ class ContextInfo final : public: void clear_placeholderkey(); const ::proto::MessageKey& placeholderkey() const; - PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_placeholderkey(); + PROTOBUF_NODISCARD ::proto::MessageKey* release_placeholderkey(); ::proto::MessageKey* mutable_placeholderkey(); void set_allocated_placeholderkey(::proto::MessageKey* placeholderkey); private: @@ -4744,7 +4817,7 @@ class ContextInfo final : public: void clear_externaladreply(); const ::proto::ExternalAdReplyInfo& externaladreply() const; - PROTOBUF_MUST_USE_RESULT ::proto::ExternalAdReplyInfo* release_externaladreply(); + PROTOBUF_NODISCARD ::proto::ExternalAdReplyInfo* release_externaladreply(); ::proto::ExternalAdReplyInfo* mutable_externaladreply(); void set_allocated_externaladreply(::proto::ExternalAdReplyInfo* externaladreply); private: @@ -4761,11 +4834,11 @@ class ContextInfo final : bool _internal_has_conversiondelayseconds() const; public: void clear_conversiondelayseconds(); - ::PROTOBUF_NAMESPACE_ID::uint32 conversiondelayseconds() const; - void set_conversiondelayseconds(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t conversiondelayseconds() const; + void set_conversiondelayseconds(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_conversiondelayseconds() const; - void _internal_set_conversiondelayseconds(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_conversiondelayseconds() const; + void _internal_set_conversiondelayseconds(uint32_t value); public: // optional uint32 forwardingScore = 21; @@ -4774,11 +4847,11 @@ class ContextInfo final : bool _internal_has_forwardingscore() const; public: void clear_forwardingscore(); - ::PROTOBUF_NAMESPACE_ID::uint32 forwardingscore() const; - void set_forwardingscore(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t forwardingscore() const; + void set_forwardingscore(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_forwardingscore() const; - void _internal_set_forwardingscore(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_forwardingscore() const; + void _internal_set_forwardingscore(uint32_t value); public: // optional bool isForwarded = 22; @@ -4800,11 +4873,11 @@ class ContextInfo final : bool _internal_has_expiration() const; public: void clear_expiration(); - ::PROTOBUF_NAMESPACE_ID::uint32 expiration() const; - void set_expiration(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t expiration() const; + void set_expiration(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_expiration() const; - void _internal_set_expiration(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_expiration() const; + void _internal_set_expiration(uint32_t value); public: // optional int64 ephemeralSettingTimestamp = 26; @@ -4813,11 +4886,11 @@ class ContextInfo final : bool _internal_has_ephemeralsettingtimestamp() const; public: void clear_ephemeralsettingtimestamp(); - ::PROTOBUF_NAMESPACE_ID::int64 ephemeralsettingtimestamp() const; - void set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t ephemeralsettingtimestamp() const; + void set_ephemeralsettingtimestamp(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_ephemeralsettingtimestamp() const; - void _internal_set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_ephemeralsettingtimestamp() const; + void _internal_set_ephemeralsettingtimestamp(int64_t value); public: // @@protoc_insertion_point(class_scope:proto.ContextInfo) @@ -4827,24 +4900,27 @@ class ContextInfo final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField mentionedjid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stanzaid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr participant_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remotejid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr conversionsource_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr conversiondata_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ephemeralsharedsecret_; - ::proto::Message* quotedmessage_; - ::proto::AdReplyInfo* quotedad_; - ::proto::MessageKey* placeholderkey_; - ::proto::ExternalAdReplyInfo* externaladreply_; - ::PROTOBUF_NAMESPACE_ID::uint32 conversiondelayseconds_; - ::PROTOBUF_NAMESPACE_ID::uint32 forwardingscore_; - bool isforwarded_; - ::PROTOBUF_NAMESPACE_ID::uint32 expiration_; - ::PROTOBUF_NAMESPACE_ID::int64 ephemeralsettingtimestamp_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField mentionedjid_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stanzaid_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr participant_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remotejid_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr conversionsource_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr conversiondata_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ephemeralsharedsecret_; + ::proto::Message* quotedmessage_; + ::proto::AdReplyInfo* quotedad_; + ::proto::MessageKey* placeholderkey_; + ::proto::ExternalAdReplyInfo* externaladreply_; + uint32_t conversiondelayseconds_; + uint32_t forwardingscore_; + bool isforwarded_; + uint32_t expiration_; + int64_t ephemeralsettingtimestamp_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -4854,7 +4930,7 @@ class SenderKeyDistributionMessage final : public: inline SenderKeyDistributionMessage() : SenderKeyDistributionMessage(nullptr) {} ~SenderKeyDistributionMessage() override; - explicit constexpr SenderKeyDistributionMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR SenderKeyDistributionMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SenderKeyDistributionMessage(const SenderKeyDistributionMessage& from); SenderKeyDistributionMessage(SenderKeyDistributionMessage&& from) noexcept @@ -4911,7 +4987,12 @@ class SenderKeyDistributionMessage final : } inline void Swap(SenderKeyDistributionMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -4925,34 +5006,34 @@ class SenderKeyDistributionMessage final : // implements Message ---------------------------------------------- - inline SenderKeyDistributionMessage* New() const final { - return new SenderKeyDistributionMessage(); - } - - SenderKeyDistributionMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + SenderKeyDistributionMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const SenderKeyDistributionMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const SenderKeyDistributionMessage& from); + void MergeFrom( const SenderKeyDistributionMessage& from) { + SenderKeyDistributionMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(SenderKeyDistributionMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.SenderKeyDistributionMessage"; @@ -4960,9 +5041,6 @@ class SenderKeyDistributionMessage final : protected: explicit SenderKeyDistributionMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -4988,7 +5066,7 @@ class SenderKeyDistributionMessage final : template void set_groupid(ArgT0&& arg0, ArgT... args); std::string* mutable_groupid(); - PROTOBUF_MUST_USE_RESULT std::string* release_groupid(); + PROTOBUF_NODISCARD std::string* release_groupid(); void set_allocated_groupid(std::string* groupid); private: const std::string& _internal_groupid() const; @@ -5006,7 +5084,7 @@ class SenderKeyDistributionMessage final : template void set_axolotlsenderkeydistributionmessage(ArgT0&& arg0, ArgT... args); std::string* mutable_axolotlsenderkeydistributionmessage(); - PROTOBUF_MUST_USE_RESULT std::string* release_axolotlsenderkeydistributionmessage(); + PROTOBUF_NODISCARD std::string* release_axolotlsenderkeydistributionmessage(); void set_allocated_axolotlsenderkeydistributionmessage(std::string* axolotlsenderkeydistributionmessage); private: const std::string& _internal_axolotlsenderkeydistributionmessage() const; @@ -5021,10 +5099,13 @@ class SenderKeyDistributionMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr groupid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr axolotlsenderkeydistributionmessage_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr groupid_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr axolotlsenderkeydistributionmessage_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -5034,7 +5115,7 @@ class ImageMessage final : public: inline ImageMessage() : ImageMessage(nullptr) {} ~ImageMessage() override; - explicit constexpr ImageMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR ImageMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ImageMessage(const ImageMessage& from); ImageMessage(ImageMessage&& from) noexcept @@ -5091,7 +5172,12 @@ class ImageMessage final : } inline void Swap(ImageMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -5105,34 +5191,34 @@ class ImageMessage final : // implements Message ---------------------------------------------- - inline ImageMessage* New() const final { - return new ImageMessage(); - } - - ImageMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ImageMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const ImageMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ImageMessage& from); + void MergeFrom( const ImageMessage& from) { + ImageMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(ImageMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.ImageMessage"; @@ -5140,9 +5226,6 @@ class ImageMessage final : protected: explicit ImageMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -5206,19 +5289,19 @@ class ImageMessage final : public: void clear_scanlengths(); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_scanlengths(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t _internal_scanlengths(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& _internal_scanlengths() const; - void _internal_add_scanlengths(::PROTOBUF_NAMESPACE_ID::uint32 value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + void _internal_add_scanlengths(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* _internal_mutable_scanlengths(); public: - ::PROTOBUF_NAMESPACE_ID::uint32 scanlengths(int index) const; - void set_scanlengths(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value); - void add_scanlengths(::PROTOBUF_NAMESPACE_ID::uint32 value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t scanlengths(int index) const; + void set_scanlengths(int index, uint32_t value); + void add_scanlengths(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& scanlengths() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* mutable_scanlengths(); // optional string url = 1; @@ -5231,7 +5314,7 @@ class ImageMessage final : template void set_url(ArgT0&& arg0, ArgT... args); std::string* mutable_url(); - PROTOBUF_MUST_USE_RESULT std::string* release_url(); + PROTOBUF_NODISCARD std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; @@ -5249,7 +5332,7 @@ class ImageMessage final : template void set_mimetype(ArgT0&& arg0, ArgT... args); std::string* mutable_mimetype(); - PROTOBUF_MUST_USE_RESULT std::string* release_mimetype(); + PROTOBUF_NODISCARD std::string* release_mimetype(); void set_allocated_mimetype(std::string* mimetype); private: const std::string& _internal_mimetype() const; @@ -5267,7 +5350,7 @@ class ImageMessage final : template void set_caption(ArgT0&& arg0, ArgT... args); std::string* mutable_caption(); - PROTOBUF_MUST_USE_RESULT std::string* release_caption(); + PROTOBUF_NODISCARD std::string* release_caption(); void set_allocated_caption(std::string* caption); private: const std::string& _internal_caption() const; @@ -5285,7 +5368,7 @@ class ImageMessage final : template void set_filesha256(ArgT0&& arg0, ArgT... args); std::string* mutable_filesha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_filesha256(); + PROTOBUF_NODISCARD std::string* release_filesha256(); void set_allocated_filesha256(std::string* filesha256); private: const std::string& _internal_filesha256() const; @@ -5303,7 +5386,7 @@ class ImageMessage final : template void set_mediakey(ArgT0&& arg0, ArgT... args); std::string* mutable_mediakey(); - PROTOBUF_MUST_USE_RESULT std::string* release_mediakey(); + PROTOBUF_NODISCARD std::string* release_mediakey(); void set_allocated_mediakey(std::string* mediakey); private: const std::string& _internal_mediakey() const; @@ -5321,7 +5404,7 @@ class ImageMessage final : template void set_fileencsha256(ArgT0&& arg0, ArgT... args); std::string* mutable_fileencsha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256(); + PROTOBUF_NODISCARD std::string* release_fileencsha256(); void set_allocated_fileencsha256(std::string* fileencsha256); private: const std::string& _internal_fileencsha256() const; @@ -5339,7 +5422,7 @@ class ImageMessage final : template void set_directpath(ArgT0&& arg0, ArgT... args); std::string* mutable_directpath(); - PROTOBUF_MUST_USE_RESULT std::string* release_directpath(); + PROTOBUF_NODISCARD std::string* release_directpath(); void set_allocated_directpath(std::string* directpath); private: const std::string& _internal_directpath() const; @@ -5357,7 +5440,7 @@ class ImageMessage final : template void set_jpegthumbnail(ArgT0&& arg0, ArgT... args); std::string* mutable_jpegthumbnail(); - PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail(); + PROTOBUF_NODISCARD std::string* release_jpegthumbnail(); void set_allocated_jpegthumbnail(std::string* jpegthumbnail); private: const std::string& _internal_jpegthumbnail() const; @@ -5375,7 +5458,7 @@ class ImageMessage final : template void set_firstscansidecar(ArgT0&& arg0, ArgT... args); std::string* mutable_firstscansidecar(); - PROTOBUF_MUST_USE_RESULT std::string* release_firstscansidecar(); + PROTOBUF_NODISCARD std::string* release_firstscansidecar(); void set_allocated_firstscansidecar(std::string* firstscansidecar); private: const std::string& _internal_firstscansidecar() const; @@ -5393,7 +5476,7 @@ class ImageMessage final : template void set_scanssidecar(ArgT0&& arg0, ArgT... args); std::string* mutable_scanssidecar(); - PROTOBUF_MUST_USE_RESULT std::string* release_scanssidecar(); + PROTOBUF_NODISCARD std::string* release_scanssidecar(); void set_allocated_scanssidecar(std::string* scanssidecar); private: const std::string& _internal_scanssidecar() const; @@ -5411,7 +5494,7 @@ class ImageMessage final : template void set_midqualityfilesha256(ArgT0&& arg0, ArgT... args); std::string* mutable_midqualityfilesha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_midqualityfilesha256(); + PROTOBUF_NODISCARD std::string* release_midqualityfilesha256(); void set_allocated_midqualityfilesha256(std::string* midqualityfilesha256); private: const std::string& _internal_midqualityfilesha256() const; @@ -5429,7 +5512,7 @@ class ImageMessage final : template void set_midqualityfileencsha256(ArgT0&& arg0, ArgT... args); std::string* mutable_midqualityfileencsha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_midqualityfileencsha256(); + PROTOBUF_NODISCARD std::string* release_midqualityfileencsha256(); void set_allocated_midqualityfileencsha256(std::string* midqualityfileencsha256); private: const std::string& _internal_midqualityfileencsha256() const; @@ -5447,7 +5530,7 @@ class ImageMessage final : template void set_thumbnaildirectpath(ArgT0&& arg0, ArgT... args); std::string* mutable_thumbnaildirectpath(); - PROTOBUF_MUST_USE_RESULT std::string* release_thumbnaildirectpath(); + PROTOBUF_NODISCARD std::string* release_thumbnaildirectpath(); void set_allocated_thumbnaildirectpath(std::string* thumbnaildirectpath); private: const std::string& _internal_thumbnaildirectpath() const; @@ -5465,7 +5548,7 @@ class ImageMessage final : template void set_thumbnailsha256(ArgT0&& arg0, ArgT... args); std::string* mutable_thumbnailsha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailsha256(); + PROTOBUF_NODISCARD std::string* release_thumbnailsha256(); void set_allocated_thumbnailsha256(std::string* thumbnailsha256); private: const std::string& _internal_thumbnailsha256() const; @@ -5483,7 +5566,7 @@ class ImageMessage final : template void set_thumbnailencsha256(ArgT0&& arg0, ArgT... args); std::string* mutable_thumbnailencsha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailencsha256(); + PROTOBUF_NODISCARD std::string* release_thumbnailencsha256(); void set_allocated_thumbnailencsha256(std::string* thumbnailencsha256); private: const std::string& _internal_thumbnailencsha256() const; @@ -5498,7 +5581,7 @@ class ImageMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -5515,11 +5598,11 @@ class ImageMessage final : bool _internal_has_filelength() const; public: void clear_filelength(); - ::PROTOBUF_NAMESPACE_ID::uint64 filelength() const; - void set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t filelength() const; + void set_filelength(uint64_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint64 _internal_filelength() const; - void _internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t _internal_filelength() const; + void _internal_set_filelength(uint64_t value); public: // optional uint32 height = 6; @@ -5528,11 +5611,11 @@ class ImageMessage final : bool _internal_has_height() const; public: void clear_height(); - ::PROTOBUF_NAMESPACE_ID::uint32 height() const; - void set_height(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t height() const; + void set_height(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_height() const; - void _internal_set_height(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_height() const; + void _internal_set_height(uint32_t value); public: // optional uint32 width = 7; @@ -5541,11 +5624,11 @@ class ImageMessage final : bool _internal_has_width() const; public: void clear_width(); - ::PROTOBUF_NAMESPACE_ID::uint32 width() const; - void set_width(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t width() const; + void set_width(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_width() const; - void _internal_set_width(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_width() const; + void _internal_set_width(uint32_t value); public: // optional int64 mediaKeyTimestamp = 12; @@ -5554,11 +5637,11 @@ class ImageMessage final : bool _internal_has_mediakeytimestamp() const; public: void clear_mediakeytimestamp(); - ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp() const; - void set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t mediakeytimestamp() const; + void set_mediakeytimestamp(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_mediakeytimestamp() const; - void _internal_set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_mediakeytimestamp() const; + void _internal_set_mediakeytimestamp(int64_t value); public: // optional uint32 firstScanLength = 19; @@ -5567,11 +5650,11 @@ class ImageMessage final : bool _internal_has_firstscanlength() const; public: void clear_firstscanlength(); - ::PROTOBUF_NAMESPACE_ID::uint32 firstscanlength() const; - void set_firstscanlength(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t firstscanlength() const; + void set_firstscanlength(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_firstscanlength() const; - void _internal_set_firstscanlength(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_firstscanlength() const; + void _internal_set_firstscanlength(uint32_t value); public: // optional uint32 experimentGroupId = 20; @@ -5580,11 +5663,11 @@ class ImageMessage final : bool _internal_has_experimentgroupid() const; public: void clear_experimentgroupid(); - ::PROTOBUF_NAMESPACE_ID::uint32 experimentgroupid() const; - void set_experimentgroupid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t experimentgroupid() const; + void set_experimentgroupid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_experimentgroupid() const; - void _internal_set_experimentgroupid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_experimentgroupid() const; + void _internal_set_experimentgroupid(uint32_t value); public: // optional bool viewOnce = 25; @@ -5607,33 +5690,36 @@ class ImageMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::InteractiveAnnotation > interactiveannotations_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > scanlengths_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr firstscansidecar_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr scanssidecar_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr midqualityfilesha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr midqualityfileencsha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnaildirectpath_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailsha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailencsha256_; - ::proto::ContextInfo* contextinfo_; - ::PROTOBUF_NAMESPACE_ID::uint64 filelength_; - ::PROTOBUF_NAMESPACE_ID::uint32 height_; - ::PROTOBUF_NAMESPACE_ID::uint32 width_; - ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp_; - ::PROTOBUF_NAMESPACE_ID::uint32 firstscanlength_; - ::PROTOBUF_NAMESPACE_ID::uint32 experimentgroupid_; - bool viewonce_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::InteractiveAnnotation > interactiveannotations_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > scanlengths_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr firstscansidecar_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr scanssidecar_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr midqualityfilesha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr midqualityfileencsha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnaildirectpath_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailsha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailencsha256_; + ::proto::ContextInfo* contextinfo_; + uint64_t filelength_; + uint32_t height_; + uint32_t width_; + int64_t mediakeytimestamp_; + uint32_t firstscanlength_; + uint32_t experimentgroupid_; + bool viewonce_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -5643,7 +5729,7 @@ class InvoiceMessage final : public: inline InvoiceMessage() : InvoiceMessage(nullptr) {} ~InvoiceMessage() override; - explicit constexpr InvoiceMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR InvoiceMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); InvoiceMessage(const InvoiceMessage& from); InvoiceMessage(InvoiceMessage&& from) noexcept @@ -5700,7 +5786,12 @@ class InvoiceMessage final : } inline void Swap(InvoiceMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -5714,34 +5805,34 @@ class InvoiceMessage final : // implements Message ---------------------------------------------- - inline InvoiceMessage* New() const final { - return new InvoiceMessage(); - } - - InvoiceMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + InvoiceMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const InvoiceMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const InvoiceMessage& from); + void MergeFrom( const InvoiceMessage& from) { + InvoiceMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(InvoiceMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.InvoiceMessage"; @@ -5749,9 +5840,6 @@ class InvoiceMessage final : protected: explicit InvoiceMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -5815,7 +5903,7 @@ class InvoiceMessage final : template void set_note(ArgT0&& arg0, ArgT... args); std::string* mutable_note(); - PROTOBUF_MUST_USE_RESULT std::string* release_note(); + PROTOBUF_NODISCARD std::string* release_note(); void set_allocated_note(std::string* note); private: const std::string& _internal_note() const; @@ -5833,7 +5921,7 @@ class InvoiceMessage final : template void set_token(ArgT0&& arg0, ArgT... args); std::string* mutable_token(); - PROTOBUF_MUST_USE_RESULT std::string* release_token(); + PROTOBUF_NODISCARD std::string* release_token(); void set_allocated_token(std::string* token); private: const std::string& _internal_token() const; @@ -5851,7 +5939,7 @@ class InvoiceMessage final : template void set_attachmentmimetype(ArgT0&& arg0, ArgT... args); std::string* mutable_attachmentmimetype(); - PROTOBUF_MUST_USE_RESULT std::string* release_attachmentmimetype(); + PROTOBUF_NODISCARD std::string* release_attachmentmimetype(); void set_allocated_attachmentmimetype(std::string* attachmentmimetype); private: const std::string& _internal_attachmentmimetype() const; @@ -5869,7 +5957,7 @@ class InvoiceMessage final : template void set_attachmentmediakey(ArgT0&& arg0, ArgT... args); std::string* mutable_attachmentmediakey(); - PROTOBUF_MUST_USE_RESULT std::string* release_attachmentmediakey(); + PROTOBUF_NODISCARD std::string* release_attachmentmediakey(); void set_allocated_attachmentmediakey(std::string* attachmentmediakey); private: const std::string& _internal_attachmentmediakey() const; @@ -5887,7 +5975,7 @@ class InvoiceMessage final : template void set_attachmentfilesha256(ArgT0&& arg0, ArgT... args); std::string* mutable_attachmentfilesha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_attachmentfilesha256(); + PROTOBUF_NODISCARD std::string* release_attachmentfilesha256(); void set_allocated_attachmentfilesha256(std::string* attachmentfilesha256); private: const std::string& _internal_attachmentfilesha256() const; @@ -5905,7 +5993,7 @@ class InvoiceMessage final : template void set_attachmentfileencsha256(ArgT0&& arg0, ArgT... args); std::string* mutable_attachmentfileencsha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_attachmentfileencsha256(); + PROTOBUF_NODISCARD std::string* release_attachmentfileencsha256(); void set_allocated_attachmentfileencsha256(std::string* attachmentfileencsha256); private: const std::string& _internal_attachmentfileencsha256() const; @@ -5923,7 +6011,7 @@ class InvoiceMessage final : template void set_attachmentdirectpath(ArgT0&& arg0, ArgT... args); std::string* mutable_attachmentdirectpath(); - PROTOBUF_MUST_USE_RESULT std::string* release_attachmentdirectpath(); + PROTOBUF_NODISCARD std::string* release_attachmentdirectpath(); void set_allocated_attachmentdirectpath(std::string* attachmentdirectpath); private: const std::string& _internal_attachmentdirectpath() const; @@ -5941,7 +6029,7 @@ class InvoiceMessage final : template void set_attachmentjpegthumbnail(ArgT0&& arg0, ArgT... args); std::string* mutable_attachmentjpegthumbnail(); - PROTOBUF_MUST_USE_RESULT std::string* release_attachmentjpegthumbnail(); + PROTOBUF_NODISCARD std::string* release_attachmentjpegthumbnail(); void set_allocated_attachmentjpegthumbnail(std::string* attachmentjpegthumbnail); private: const std::string& _internal_attachmentjpegthumbnail() const; @@ -5955,11 +6043,11 @@ class InvoiceMessage final : bool _internal_has_attachmentmediakeytimestamp() const; public: void clear_attachmentmediakeytimestamp(); - ::PROTOBUF_NAMESPACE_ID::int64 attachmentmediakeytimestamp() const; - void set_attachmentmediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t attachmentmediakeytimestamp() const; + void set_attachmentmediakeytimestamp(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_attachmentmediakeytimestamp() const; - void _internal_set_attachmentmediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_attachmentmediakeytimestamp() const; + void _internal_set_attachmentmediakeytimestamp(int64_t value); public: // optional .proto.InvoiceMessage.InvoiceMessageAttachmentType attachmentType = 3; @@ -5982,18 +6070,21 @@ class InvoiceMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr note_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentmimetype_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentmediakey_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentfilesha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentfileencsha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentdirectpath_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentjpegthumbnail_; - ::PROTOBUF_NAMESPACE_ID::int64 attachmentmediakeytimestamp_; - int attachmenttype_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr note_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentmimetype_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentmediakey_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentfilesha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentfileencsha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentdirectpath_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentjpegthumbnail_; + int64_t attachmentmediakeytimestamp_; + int attachmenttype_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -6003,7 +6094,7 @@ class ContactMessage final : public: inline ContactMessage() : ContactMessage(nullptr) {} ~ContactMessage() override; - explicit constexpr ContactMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR ContactMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ContactMessage(const ContactMessage& from); ContactMessage(ContactMessage&& from) noexcept @@ -6060,7 +6151,12 @@ class ContactMessage final : } inline void Swap(ContactMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -6074,34 +6170,34 @@ class ContactMessage final : // implements Message ---------------------------------------------- - inline ContactMessage* New() const final { - return new ContactMessage(); - } - - ContactMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ContactMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const ContactMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ContactMessage& from); + void MergeFrom( const ContactMessage& from) { + ContactMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(ContactMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.ContactMessage"; @@ -6109,9 +6205,6 @@ class ContactMessage final : protected: explicit ContactMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -6138,7 +6231,7 @@ class ContactMessage final : template void set_displayname(ArgT0&& arg0, ArgT... args); std::string* mutable_displayname(); - PROTOBUF_MUST_USE_RESULT std::string* release_displayname(); + PROTOBUF_NODISCARD std::string* release_displayname(); void set_allocated_displayname(std::string* displayname); private: const std::string& _internal_displayname() const; @@ -6156,7 +6249,7 @@ class ContactMessage final : template void set_vcard(ArgT0&& arg0, ArgT... args); std::string* mutable_vcard(); - PROTOBUF_MUST_USE_RESULT std::string* release_vcard(); + PROTOBUF_NODISCARD std::string* release_vcard(); void set_allocated_vcard(std::string* vcard); private: const std::string& _internal_vcard() const; @@ -6171,7 +6264,7 @@ class ContactMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -6189,11 +6282,14 @@ class ContactMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displayname_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr vcard_; - ::proto::ContextInfo* contextinfo_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displayname_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr vcard_; + ::proto::ContextInfo* contextinfo_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -6203,7 +6299,7 @@ class LocationMessage final : public: inline LocationMessage() : LocationMessage(nullptr) {} ~LocationMessage() override; - explicit constexpr LocationMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR LocationMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); LocationMessage(const LocationMessage& from); LocationMessage(LocationMessage&& from) noexcept @@ -6260,7 +6356,12 @@ class LocationMessage final : } inline void Swap(LocationMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -6274,34 +6375,34 @@ class LocationMessage final : // implements Message ---------------------------------------------- - inline LocationMessage* New() const final { - return new LocationMessage(); - } - - LocationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + LocationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const LocationMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const LocationMessage& from); + void MergeFrom( const LocationMessage& from) { + LocationMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(LocationMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.LocationMessage"; @@ -6309,9 +6410,6 @@ class LocationMessage final : protected: explicit LocationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -6347,7 +6445,7 @@ class LocationMessage final : template void set_name(ArgT0&& arg0, ArgT... args); std::string* mutable_name(); - PROTOBUF_MUST_USE_RESULT std::string* release_name(); + PROTOBUF_NODISCARD std::string* release_name(); void set_allocated_name(std::string* name); private: const std::string& _internal_name() const; @@ -6365,7 +6463,7 @@ class LocationMessage final : template void set_address(ArgT0&& arg0, ArgT... args); std::string* mutable_address(); - PROTOBUF_MUST_USE_RESULT std::string* release_address(); + PROTOBUF_NODISCARD std::string* release_address(); void set_allocated_address(std::string* address); private: const std::string& _internal_address() const; @@ -6383,7 +6481,7 @@ class LocationMessage final : template void set_url(ArgT0&& arg0, ArgT... args); std::string* mutable_url(); - PROTOBUF_MUST_USE_RESULT std::string* release_url(); + PROTOBUF_NODISCARD std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; @@ -6401,7 +6499,7 @@ class LocationMessage final : template void set_comment(ArgT0&& arg0, ArgT... args); std::string* mutable_comment(); - PROTOBUF_MUST_USE_RESULT std::string* release_comment(); + PROTOBUF_NODISCARD std::string* release_comment(); void set_allocated_comment(std::string* comment); private: const std::string& _internal_comment() const; @@ -6419,7 +6517,7 @@ class LocationMessage final : template void set_jpegthumbnail(ArgT0&& arg0, ArgT... args); std::string* mutable_jpegthumbnail(); - PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail(); + PROTOBUF_NODISCARD std::string* release_jpegthumbnail(); void set_allocated_jpegthumbnail(std::string* jpegthumbnail); private: const std::string& _internal_jpegthumbnail() const; @@ -6434,7 +6532,7 @@ class LocationMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -6490,11 +6588,11 @@ class LocationMessage final : bool _internal_has_accuracyinmeters() const; public: void clear_accuracyinmeters(); - ::PROTOBUF_NAMESPACE_ID::uint32 accuracyinmeters() const; - void set_accuracyinmeters(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t accuracyinmeters() const; + void set_accuracyinmeters(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_accuracyinmeters() const; - void _internal_set_accuracyinmeters(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_accuracyinmeters() const; + void _internal_set_accuracyinmeters(uint32_t value); public: // optional float speedInMps = 8; @@ -6516,11 +6614,11 @@ class LocationMessage final : bool _internal_has_degreesclockwisefrommagneticnorth() const; public: void clear_degreesclockwisefrommagneticnorth(); - ::PROTOBUF_NAMESPACE_ID::uint32 degreesclockwisefrommagneticnorth() const; - void set_degreesclockwisefrommagneticnorth(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t degreesclockwisefrommagneticnorth() const; + void set_degreesclockwisefrommagneticnorth(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_degreesclockwisefrommagneticnorth() const; - void _internal_set_degreesclockwisefrommagneticnorth(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_degreesclockwisefrommagneticnorth() const; + void _internal_set_degreesclockwisefrommagneticnorth(uint32_t value); public: // @@protoc_insertion_point(class_scope:proto.LocationMessage) @@ -6530,20 +6628,23 @@ class LocationMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr address_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; - ::proto::ContextInfo* contextinfo_; - double degreeslatitude_; - double degreeslongitude_; - bool islive_; - ::PROTOBUF_NAMESPACE_ID::uint32 accuracyinmeters_; - float speedinmps_; - ::PROTOBUF_NAMESPACE_ID::uint32 degreesclockwisefrommagneticnorth_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr address_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; + ::proto::ContextInfo* contextinfo_; + double degreeslatitude_; + double degreeslongitude_; + bool islive_; + uint32_t accuracyinmeters_; + float speedinmps_; + uint32_t degreesclockwisefrommagneticnorth_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -6553,7 +6654,7 @@ class ExtendedTextMessage final : public: inline ExtendedTextMessage() : ExtendedTextMessage(nullptr) {} ~ExtendedTextMessage() override; - explicit constexpr ExtendedTextMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR ExtendedTextMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ExtendedTextMessage(const ExtendedTextMessage& from); ExtendedTextMessage(ExtendedTextMessage&& from) noexcept @@ -6610,7 +6711,12 @@ class ExtendedTextMessage final : } inline void Swap(ExtendedTextMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -6624,34 +6730,34 @@ class ExtendedTextMessage final : // implements Message ---------------------------------------------- - inline ExtendedTextMessage* New() const final { - return new ExtendedTextMessage(); - } - - ExtendedTextMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ExtendedTextMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const ExtendedTextMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ExtendedTextMessage& from); + void MergeFrom( const ExtendedTextMessage& from) { + ExtendedTextMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(ExtendedTextMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.ExtendedTextMessage"; @@ -6659,9 +6765,6 @@ class ExtendedTextMessage final : protected: explicit ExtendedTextMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -6765,7 +6868,7 @@ class ExtendedTextMessage final : template void set_text(ArgT0&& arg0, ArgT... args); std::string* mutable_text(); - PROTOBUF_MUST_USE_RESULT std::string* release_text(); + PROTOBUF_NODISCARD std::string* release_text(); void set_allocated_text(std::string* text); private: const std::string& _internal_text() const; @@ -6783,7 +6886,7 @@ class ExtendedTextMessage final : template void set_matchedtext(ArgT0&& arg0, ArgT... args); std::string* mutable_matchedtext(); - PROTOBUF_MUST_USE_RESULT std::string* release_matchedtext(); + PROTOBUF_NODISCARD std::string* release_matchedtext(); void set_allocated_matchedtext(std::string* matchedtext); private: const std::string& _internal_matchedtext() const; @@ -6801,7 +6904,7 @@ class ExtendedTextMessage final : template void set_canonicalurl(ArgT0&& arg0, ArgT... args); std::string* mutable_canonicalurl(); - PROTOBUF_MUST_USE_RESULT std::string* release_canonicalurl(); + PROTOBUF_NODISCARD std::string* release_canonicalurl(); void set_allocated_canonicalurl(std::string* canonicalurl); private: const std::string& _internal_canonicalurl() const; @@ -6819,7 +6922,7 @@ class ExtendedTextMessage final : template void set_description(ArgT0&& arg0, ArgT... args); std::string* mutable_description(); - PROTOBUF_MUST_USE_RESULT std::string* release_description(); + PROTOBUF_NODISCARD std::string* release_description(); void set_allocated_description(std::string* description); private: const std::string& _internal_description() const; @@ -6837,7 +6940,7 @@ class ExtendedTextMessage final : template void set_title(ArgT0&& arg0, ArgT... args); std::string* mutable_title(); - PROTOBUF_MUST_USE_RESULT std::string* release_title(); + PROTOBUF_NODISCARD std::string* release_title(); void set_allocated_title(std::string* title); private: const std::string& _internal_title() const; @@ -6855,7 +6958,7 @@ class ExtendedTextMessage final : template void set_jpegthumbnail(ArgT0&& arg0, ArgT... args); std::string* mutable_jpegthumbnail(); - PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail(); + PROTOBUF_NODISCARD std::string* release_jpegthumbnail(); void set_allocated_jpegthumbnail(std::string* jpegthumbnail); private: const std::string& _internal_jpegthumbnail() const; @@ -6870,7 +6973,7 @@ class ExtendedTextMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -6887,11 +6990,11 @@ class ExtendedTextMessage final : bool _internal_has_textargb() const; public: void clear_textargb(); - ::PROTOBUF_NAMESPACE_ID::uint32 textargb() const; - void set_textargb(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t textargb() const; + void set_textargb(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_textargb() const; - void _internal_set_textargb(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_textargb() const; + void _internal_set_textargb(uint32_t value); public: // optional fixed32 backgroundArgb = 8; @@ -6900,11 +7003,11 @@ class ExtendedTextMessage final : bool _internal_has_backgroundargb() const; public: void clear_backgroundargb(); - ::PROTOBUF_NAMESPACE_ID::uint32 backgroundargb() const; - void set_backgroundargb(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t backgroundargb() const; + void set_backgroundargb(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_backgroundargb() const; - void _internal_set_backgroundargb(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_backgroundargb() const; + void _internal_set_backgroundargb(uint32_t value); public: // optional .proto.ExtendedTextMessage.ExtendedTextMessageFontType font = 9; @@ -6953,20 +7056,23 @@ class ExtendedTextMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr matchedtext_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr canonicalurl_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; - ::proto::ContextInfo* contextinfo_; - ::PROTOBUF_NAMESPACE_ID::uint32 textargb_; - ::PROTOBUF_NAMESPACE_ID::uint32 backgroundargb_; - int font_; - int previewtype_; - bool donotplayinline_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr matchedtext_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr canonicalurl_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; + ::proto::ContextInfo* contextinfo_; + uint32_t textargb_; + uint32_t backgroundargb_; + int font_; + int previewtype_; + bool donotplayinline_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -6976,7 +7082,7 @@ class DocumentMessage final : public: inline DocumentMessage() : DocumentMessage(nullptr) {} ~DocumentMessage() override; - explicit constexpr DocumentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR DocumentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); DocumentMessage(const DocumentMessage& from); DocumentMessage(DocumentMessage&& from) noexcept @@ -7033,7 +7139,12 @@ class DocumentMessage final : } inline void Swap(DocumentMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -7047,34 +7158,34 @@ class DocumentMessage final : // implements Message ---------------------------------------------- - inline DocumentMessage* New() const final { - return new DocumentMessage(); - } - - DocumentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + DocumentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const DocumentMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DocumentMessage& from); + void MergeFrom( const DocumentMessage& from) { + DocumentMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(DocumentMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.DocumentMessage"; @@ -7082,9 +7193,6 @@ class DocumentMessage final : protected: explicit DocumentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -7127,7 +7235,7 @@ class DocumentMessage final : template void set_url(ArgT0&& arg0, ArgT... args); std::string* mutable_url(); - PROTOBUF_MUST_USE_RESULT std::string* release_url(); + PROTOBUF_NODISCARD std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; @@ -7145,7 +7253,7 @@ class DocumentMessage final : template void set_mimetype(ArgT0&& arg0, ArgT... args); std::string* mutable_mimetype(); - PROTOBUF_MUST_USE_RESULT std::string* release_mimetype(); + PROTOBUF_NODISCARD std::string* release_mimetype(); void set_allocated_mimetype(std::string* mimetype); private: const std::string& _internal_mimetype() const; @@ -7163,7 +7271,7 @@ class DocumentMessage final : template void set_title(ArgT0&& arg0, ArgT... args); std::string* mutable_title(); - PROTOBUF_MUST_USE_RESULT std::string* release_title(); + PROTOBUF_NODISCARD std::string* release_title(); void set_allocated_title(std::string* title); private: const std::string& _internal_title() const; @@ -7181,7 +7289,7 @@ class DocumentMessage final : template void set_filesha256(ArgT0&& arg0, ArgT... args); std::string* mutable_filesha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_filesha256(); + PROTOBUF_NODISCARD std::string* release_filesha256(); void set_allocated_filesha256(std::string* filesha256); private: const std::string& _internal_filesha256() const; @@ -7199,7 +7307,7 @@ class DocumentMessage final : template void set_mediakey(ArgT0&& arg0, ArgT... args); std::string* mutable_mediakey(); - PROTOBUF_MUST_USE_RESULT std::string* release_mediakey(); + PROTOBUF_NODISCARD std::string* release_mediakey(); void set_allocated_mediakey(std::string* mediakey); private: const std::string& _internal_mediakey() const; @@ -7217,7 +7325,7 @@ class DocumentMessage final : template void set_filename(ArgT0&& arg0, ArgT... args); std::string* mutable_filename(); - PROTOBUF_MUST_USE_RESULT std::string* release_filename(); + PROTOBUF_NODISCARD std::string* release_filename(); void set_allocated_filename(std::string* filename); private: const std::string& _internal_filename() const; @@ -7235,7 +7343,7 @@ class DocumentMessage final : template void set_fileencsha256(ArgT0&& arg0, ArgT... args); std::string* mutable_fileencsha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256(); + PROTOBUF_NODISCARD std::string* release_fileencsha256(); void set_allocated_fileencsha256(std::string* fileencsha256); private: const std::string& _internal_fileencsha256() const; @@ -7253,7 +7361,7 @@ class DocumentMessage final : template void set_directpath(ArgT0&& arg0, ArgT... args); std::string* mutable_directpath(); - PROTOBUF_MUST_USE_RESULT std::string* release_directpath(); + PROTOBUF_NODISCARD std::string* release_directpath(); void set_allocated_directpath(std::string* directpath); private: const std::string& _internal_directpath() const; @@ -7271,7 +7379,7 @@ class DocumentMessage final : template void set_thumbnaildirectpath(ArgT0&& arg0, ArgT... args); std::string* mutable_thumbnaildirectpath(); - PROTOBUF_MUST_USE_RESULT std::string* release_thumbnaildirectpath(); + PROTOBUF_NODISCARD std::string* release_thumbnaildirectpath(); void set_allocated_thumbnaildirectpath(std::string* thumbnaildirectpath); private: const std::string& _internal_thumbnaildirectpath() const; @@ -7289,7 +7397,7 @@ class DocumentMessage final : template void set_thumbnailsha256(ArgT0&& arg0, ArgT... args); std::string* mutable_thumbnailsha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailsha256(); + PROTOBUF_NODISCARD std::string* release_thumbnailsha256(); void set_allocated_thumbnailsha256(std::string* thumbnailsha256); private: const std::string& _internal_thumbnailsha256() const; @@ -7307,7 +7415,7 @@ class DocumentMessage final : template void set_thumbnailencsha256(ArgT0&& arg0, ArgT... args); std::string* mutable_thumbnailencsha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailencsha256(); + PROTOBUF_NODISCARD std::string* release_thumbnailencsha256(); void set_allocated_thumbnailencsha256(std::string* thumbnailencsha256); private: const std::string& _internal_thumbnailencsha256() const; @@ -7325,7 +7433,7 @@ class DocumentMessage final : template void set_jpegthumbnail(ArgT0&& arg0, ArgT... args); std::string* mutable_jpegthumbnail(); - PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail(); + PROTOBUF_NODISCARD std::string* release_jpegthumbnail(); void set_allocated_jpegthumbnail(std::string* jpegthumbnail); private: const std::string& _internal_jpegthumbnail() const; @@ -7340,7 +7448,7 @@ class DocumentMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -7357,11 +7465,11 @@ class DocumentMessage final : bool _internal_has_filelength() const; public: void clear_filelength(); - ::PROTOBUF_NAMESPACE_ID::uint64 filelength() const; - void set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t filelength() const; + void set_filelength(uint64_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint64 _internal_filelength() const; - void _internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t _internal_filelength() const; + void _internal_set_filelength(uint64_t value); public: // optional uint32 pageCount = 6; @@ -7370,11 +7478,11 @@ class DocumentMessage final : bool _internal_has_pagecount() const; public: void clear_pagecount(); - ::PROTOBUF_NAMESPACE_ID::uint32 pagecount() const; - void set_pagecount(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t pagecount() const; + void set_pagecount(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_pagecount() const; - void _internal_set_pagecount(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_pagecount() const; + void _internal_set_pagecount(uint32_t value); public: // optional bool contactVcard = 12; @@ -7396,11 +7504,11 @@ class DocumentMessage final : bool _internal_has_mediakeytimestamp() const; public: void clear_mediakeytimestamp(); - ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp() const; - void set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t mediakeytimestamp() const; + void set_mediakeytimestamp(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_mediakeytimestamp() const; - void _internal_set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_mediakeytimestamp() const; + void _internal_set_mediakeytimestamp(int64_t value); public: // optional uint32 thumbnailHeight = 18; @@ -7409,11 +7517,11 @@ class DocumentMessage final : bool _internal_has_thumbnailheight() const; public: void clear_thumbnailheight(); - ::PROTOBUF_NAMESPACE_ID::uint32 thumbnailheight() const; - void set_thumbnailheight(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t thumbnailheight() const; + void set_thumbnailheight(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_thumbnailheight() const; - void _internal_set_thumbnailheight(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_thumbnailheight() const; + void _internal_set_thumbnailheight(uint32_t value); public: // optional uint32 thumbnailWidth = 19; @@ -7422,11 +7530,11 @@ class DocumentMessage final : bool _internal_has_thumbnailwidth() const; public: void clear_thumbnailwidth(); - ::PROTOBUF_NAMESPACE_ID::uint32 thumbnailwidth() const; - void set_thumbnailwidth(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t thumbnailwidth() const; + void set_thumbnailwidth(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_thumbnailwidth() const; - void _internal_set_thumbnailwidth(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_thumbnailwidth() const; + void _internal_set_thumbnailwidth(uint32_t value); public: // @@protoc_insertion_point(class_scope:proto.DocumentMessage) @@ -7436,27 +7544,30 @@ class DocumentMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnaildirectpath_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailsha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailencsha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; - ::proto::ContextInfo* contextinfo_; - ::PROTOBUF_NAMESPACE_ID::uint64 filelength_; - ::PROTOBUF_NAMESPACE_ID::uint32 pagecount_; - bool contactvcard_; - ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp_; - ::PROTOBUF_NAMESPACE_ID::uint32 thumbnailheight_; - ::PROTOBUF_NAMESPACE_ID::uint32 thumbnailwidth_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnaildirectpath_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailsha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailencsha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; + ::proto::ContextInfo* contextinfo_; + uint64_t filelength_; + uint32_t pagecount_; + bool contactvcard_; + int64_t mediakeytimestamp_; + uint32_t thumbnailheight_; + uint32_t thumbnailwidth_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -7466,7 +7577,7 @@ class AudioMessage final : public: inline AudioMessage() : AudioMessage(nullptr) {} ~AudioMessage() override; - explicit constexpr AudioMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR AudioMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AudioMessage(const AudioMessage& from); AudioMessage(AudioMessage&& from) noexcept @@ -7523,7 +7634,12 @@ class AudioMessage final : } inline void Swap(AudioMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -7537,34 +7653,34 @@ class AudioMessage final : // implements Message ---------------------------------------------- - inline AudioMessage* New() const final { - return new AudioMessage(); - } - - AudioMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AudioMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const AudioMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AudioMessage& from); + void MergeFrom( const AudioMessage& from) { + AudioMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(AudioMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.AudioMessage"; @@ -7572,9 +7688,6 @@ class AudioMessage final : protected: explicit AudioMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -7610,7 +7723,7 @@ class AudioMessage final : template void set_url(ArgT0&& arg0, ArgT... args); std::string* mutable_url(); - PROTOBUF_MUST_USE_RESULT std::string* release_url(); + PROTOBUF_NODISCARD std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; @@ -7628,7 +7741,7 @@ class AudioMessage final : template void set_mimetype(ArgT0&& arg0, ArgT... args); std::string* mutable_mimetype(); - PROTOBUF_MUST_USE_RESULT std::string* release_mimetype(); + PROTOBUF_NODISCARD std::string* release_mimetype(); void set_allocated_mimetype(std::string* mimetype); private: const std::string& _internal_mimetype() const; @@ -7646,7 +7759,7 @@ class AudioMessage final : template void set_filesha256(ArgT0&& arg0, ArgT... args); std::string* mutable_filesha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_filesha256(); + PROTOBUF_NODISCARD std::string* release_filesha256(); void set_allocated_filesha256(std::string* filesha256); private: const std::string& _internal_filesha256() const; @@ -7664,7 +7777,7 @@ class AudioMessage final : template void set_mediakey(ArgT0&& arg0, ArgT... args); std::string* mutable_mediakey(); - PROTOBUF_MUST_USE_RESULT std::string* release_mediakey(); + PROTOBUF_NODISCARD std::string* release_mediakey(); void set_allocated_mediakey(std::string* mediakey); private: const std::string& _internal_mediakey() const; @@ -7682,7 +7795,7 @@ class AudioMessage final : template void set_fileencsha256(ArgT0&& arg0, ArgT... args); std::string* mutable_fileencsha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256(); + PROTOBUF_NODISCARD std::string* release_fileencsha256(); void set_allocated_fileencsha256(std::string* fileencsha256); private: const std::string& _internal_fileencsha256() const; @@ -7700,7 +7813,7 @@ class AudioMessage final : template void set_directpath(ArgT0&& arg0, ArgT... args); std::string* mutable_directpath(); - PROTOBUF_MUST_USE_RESULT std::string* release_directpath(); + PROTOBUF_NODISCARD std::string* release_directpath(); void set_allocated_directpath(std::string* directpath); private: const std::string& _internal_directpath() const; @@ -7718,7 +7831,7 @@ class AudioMessage final : template void set_streamingsidecar(ArgT0&& arg0, ArgT... args); std::string* mutable_streamingsidecar(); - PROTOBUF_MUST_USE_RESULT std::string* release_streamingsidecar(); + PROTOBUF_NODISCARD std::string* release_streamingsidecar(); void set_allocated_streamingsidecar(std::string* streamingsidecar); private: const std::string& _internal_streamingsidecar() const; @@ -7733,7 +7846,7 @@ class AudioMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -7750,11 +7863,11 @@ class AudioMessage final : bool _internal_has_filelength() const; public: void clear_filelength(); - ::PROTOBUF_NAMESPACE_ID::uint64 filelength() const; - void set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t filelength() const; + void set_filelength(uint64_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint64 _internal_filelength() const; - void _internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t _internal_filelength() const; + void _internal_set_filelength(uint64_t value); public: // optional uint32 seconds = 5; @@ -7763,11 +7876,11 @@ class AudioMessage final : bool _internal_has_seconds() const; public: void clear_seconds(); - ::PROTOBUF_NAMESPACE_ID::uint32 seconds() const; - void set_seconds(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t seconds() const; + void set_seconds(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_seconds() const; - void _internal_set_seconds(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_seconds() const; + void _internal_set_seconds(uint32_t value); public: // optional bool ptt = 6; @@ -7789,11 +7902,11 @@ class AudioMessage final : bool _internal_has_mediakeytimestamp() const; public: void clear_mediakeytimestamp(); - ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp() const; - void set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t mediakeytimestamp() const; + void set_mediakeytimestamp(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_mediakeytimestamp() const; - void _internal_set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_mediakeytimestamp() const; + void _internal_set_mediakeytimestamp(int64_t value); public: // @@protoc_insertion_point(class_scope:proto.AudioMessage) @@ -7803,20 +7916,23 @@ class AudioMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamingsidecar_; - ::proto::ContextInfo* contextinfo_; - ::PROTOBUF_NAMESPACE_ID::uint64 filelength_; - ::PROTOBUF_NAMESPACE_ID::uint32 seconds_; - bool ptt_; - ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamingsidecar_; + ::proto::ContextInfo* contextinfo_; + uint64_t filelength_; + uint32_t seconds_; + bool ptt_; + int64_t mediakeytimestamp_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -7826,7 +7942,7 @@ class VideoMessage final : public: inline VideoMessage() : VideoMessage(nullptr) {} ~VideoMessage() override; - explicit constexpr VideoMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR VideoMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); VideoMessage(const VideoMessage& from); VideoMessage(VideoMessage&& from) noexcept @@ -7883,7 +7999,12 @@ class VideoMessage final : } inline void Swap(VideoMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -7897,34 +8018,34 @@ class VideoMessage final : // implements Message ---------------------------------------------- - inline VideoMessage* New() const final { - return new VideoMessage(); - } - - VideoMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + VideoMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const VideoMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const VideoMessage& from); + void MergeFrom( const VideoMessage& from) { + VideoMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(VideoMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.VideoMessage"; @@ -7932,9 +8053,6 @@ class VideoMessage final : protected: explicit VideoMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -8030,7 +8148,7 @@ class VideoMessage final : template void set_url(ArgT0&& arg0, ArgT... args); std::string* mutable_url(); - PROTOBUF_MUST_USE_RESULT std::string* release_url(); + PROTOBUF_NODISCARD std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; @@ -8048,7 +8166,7 @@ class VideoMessage final : template void set_mimetype(ArgT0&& arg0, ArgT... args); std::string* mutable_mimetype(); - PROTOBUF_MUST_USE_RESULT std::string* release_mimetype(); + PROTOBUF_NODISCARD std::string* release_mimetype(); void set_allocated_mimetype(std::string* mimetype); private: const std::string& _internal_mimetype() const; @@ -8066,7 +8184,7 @@ class VideoMessage final : template void set_filesha256(ArgT0&& arg0, ArgT... args); std::string* mutable_filesha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_filesha256(); + PROTOBUF_NODISCARD std::string* release_filesha256(); void set_allocated_filesha256(std::string* filesha256); private: const std::string& _internal_filesha256() const; @@ -8084,7 +8202,7 @@ class VideoMessage final : template void set_mediakey(ArgT0&& arg0, ArgT... args); std::string* mutable_mediakey(); - PROTOBUF_MUST_USE_RESULT std::string* release_mediakey(); + PROTOBUF_NODISCARD std::string* release_mediakey(); void set_allocated_mediakey(std::string* mediakey); private: const std::string& _internal_mediakey() const; @@ -8102,7 +8220,7 @@ class VideoMessage final : template void set_caption(ArgT0&& arg0, ArgT... args); std::string* mutable_caption(); - PROTOBUF_MUST_USE_RESULT std::string* release_caption(); + PROTOBUF_NODISCARD std::string* release_caption(); void set_allocated_caption(std::string* caption); private: const std::string& _internal_caption() const; @@ -8120,7 +8238,7 @@ class VideoMessage final : template void set_fileencsha256(ArgT0&& arg0, ArgT... args); std::string* mutable_fileencsha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256(); + PROTOBUF_NODISCARD std::string* release_fileencsha256(); void set_allocated_fileencsha256(std::string* fileencsha256); private: const std::string& _internal_fileencsha256() const; @@ -8138,7 +8256,7 @@ class VideoMessage final : template void set_directpath(ArgT0&& arg0, ArgT... args); std::string* mutable_directpath(); - PROTOBUF_MUST_USE_RESULT std::string* release_directpath(); + PROTOBUF_NODISCARD std::string* release_directpath(); void set_allocated_directpath(std::string* directpath); private: const std::string& _internal_directpath() const; @@ -8156,7 +8274,7 @@ class VideoMessage final : template void set_jpegthumbnail(ArgT0&& arg0, ArgT... args); std::string* mutable_jpegthumbnail(); - PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail(); + PROTOBUF_NODISCARD std::string* release_jpegthumbnail(); void set_allocated_jpegthumbnail(std::string* jpegthumbnail); private: const std::string& _internal_jpegthumbnail() const; @@ -8174,7 +8292,7 @@ class VideoMessage final : template void set_streamingsidecar(ArgT0&& arg0, ArgT... args); std::string* mutable_streamingsidecar(); - PROTOBUF_MUST_USE_RESULT std::string* release_streamingsidecar(); + PROTOBUF_NODISCARD std::string* release_streamingsidecar(); void set_allocated_streamingsidecar(std::string* streamingsidecar); private: const std::string& _internal_streamingsidecar() const; @@ -8192,7 +8310,7 @@ class VideoMessage final : template void set_thumbnaildirectpath(ArgT0&& arg0, ArgT... args); std::string* mutable_thumbnaildirectpath(); - PROTOBUF_MUST_USE_RESULT std::string* release_thumbnaildirectpath(); + PROTOBUF_NODISCARD std::string* release_thumbnaildirectpath(); void set_allocated_thumbnaildirectpath(std::string* thumbnaildirectpath); private: const std::string& _internal_thumbnaildirectpath() const; @@ -8210,7 +8328,7 @@ class VideoMessage final : template void set_thumbnailsha256(ArgT0&& arg0, ArgT... args); std::string* mutable_thumbnailsha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailsha256(); + PROTOBUF_NODISCARD std::string* release_thumbnailsha256(); void set_allocated_thumbnailsha256(std::string* thumbnailsha256); private: const std::string& _internal_thumbnailsha256() const; @@ -8228,7 +8346,7 @@ class VideoMessage final : template void set_thumbnailencsha256(ArgT0&& arg0, ArgT... args); std::string* mutable_thumbnailencsha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailencsha256(); + PROTOBUF_NODISCARD std::string* release_thumbnailencsha256(); void set_allocated_thumbnailencsha256(std::string* thumbnailencsha256); private: const std::string& _internal_thumbnailencsha256() const; @@ -8243,7 +8361,7 @@ class VideoMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -8260,11 +8378,11 @@ class VideoMessage final : bool _internal_has_filelength() const; public: void clear_filelength(); - ::PROTOBUF_NAMESPACE_ID::uint64 filelength() const; - void set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t filelength() const; + void set_filelength(uint64_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint64 _internal_filelength() const; - void _internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t _internal_filelength() const; + void _internal_set_filelength(uint64_t value); public: // optional uint32 seconds = 5; @@ -8273,11 +8391,11 @@ class VideoMessage final : bool _internal_has_seconds() const; public: void clear_seconds(); - ::PROTOBUF_NAMESPACE_ID::uint32 seconds() const; - void set_seconds(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t seconds() const; + void set_seconds(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_seconds() const; - void _internal_set_seconds(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_seconds() const; + void _internal_set_seconds(uint32_t value); public: // optional uint32 height = 9; @@ -8286,11 +8404,11 @@ class VideoMessage final : bool _internal_has_height() const; public: void clear_height(); - ::PROTOBUF_NAMESPACE_ID::uint32 height() const; - void set_height(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t height() const; + void set_height(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_height() const; - void _internal_set_height(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_height() const; + void _internal_set_height(uint32_t value); public: // optional uint32 width = 10; @@ -8299,11 +8417,11 @@ class VideoMessage final : bool _internal_has_width() const; public: void clear_width(); - ::PROTOBUF_NAMESPACE_ID::uint32 width() const; - void set_width(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t width() const; + void set_width(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_width() const; - void _internal_set_width(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_width() const; + void _internal_set_width(uint32_t value); public: // optional bool gifPlayback = 8; @@ -8338,11 +8456,11 @@ class VideoMessage final : bool _internal_has_mediakeytimestamp() const; public: void clear_mediakeytimestamp(); - ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp() const; - void set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t mediakeytimestamp() const; + void set_mediakeytimestamp(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_mediakeytimestamp() const; - void _internal_set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_mediakeytimestamp() const; + void _internal_set_mediakeytimestamp(int64_t value); public: // optional .proto.VideoMessage.VideoMessageAttribution gifAttribution = 19; @@ -8365,30 +8483,33 @@ class VideoMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::InteractiveAnnotation > interactiveannotations_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamingsidecar_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnaildirectpath_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailsha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailencsha256_; - ::proto::ContextInfo* contextinfo_; - ::PROTOBUF_NAMESPACE_ID::uint64 filelength_; - ::PROTOBUF_NAMESPACE_ID::uint32 seconds_; - ::PROTOBUF_NAMESPACE_ID::uint32 height_; - ::PROTOBUF_NAMESPACE_ID::uint32 width_; - bool gifplayback_; - bool viewonce_; - ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp_; - int gifattribution_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::InteractiveAnnotation > interactiveannotations_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamingsidecar_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnaildirectpath_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailsha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailencsha256_; + ::proto::ContextInfo* contextinfo_; + uint64_t filelength_; + uint32_t seconds_; + uint32_t height_; + uint32_t width_; + bool gifplayback_; + bool viewonce_; + int64_t mediakeytimestamp_; + int gifattribution_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -8398,7 +8519,7 @@ class Call final : public: inline Call() : Call(nullptr) {} ~Call() override; - explicit constexpr Call(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR Call(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Call(const Call& from); Call(Call&& from) noexcept @@ -8455,7 +8576,12 @@ class Call final : } inline void Swap(Call* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -8469,34 +8595,34 @@ class Call final : // implements Message ---------------------------------------------- - inline Call* New() const final { - return new Call(); - } - - Call* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + Call* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const Call& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const Call& from); + void MergeFrom( const Call& from) { + Call::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Call* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.Call"; @@ -8504,9 +8630,6 @@ class Call final : protected: explicit Call(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -8531,7 +8654,7 @@ class Call final : template void set_callkey(ArgT0&& arg0, ArgT... args); std::string* mutable_callkey(); - PROTOBUF_MUST_USE_RESULT std::string* release_callkey(); + PROTOBUF_NODISCARD std::string* release_callkey(); void set_allocated_callkey(std::string* callkey); private: const std::string& _internal_callkey() const; @@ -8546,9 +8669,12 @@ class Call final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr callkey_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr callkey_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -8558,7 +8684,7 @@ class Chat final : public: inline Chat() : Chat(nullptr) {} ~Chat() override; - explicit constexpr Chat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR Chat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Chat(const Chat& from); Chat(Chat&& from) noexcept @@ -8615,7 +8741,12 @@ class Chat final : } inline void Swap(Chat* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -8629,34 +8760,34 @@ class Chat final : // implements Message ---------------------------------------------- - inline Chat* New() const final { - return new Chat(); - } - - Chat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + Chat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const Chat& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const Chat& from); + void MergeFrom( const Chat& from) { + Chat::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Chat* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.Chat"; @@ -8664,9 +8795,6 @@ class Chat final : protected: explicit Chat(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -8692,7 +8820,7 @@ class Chat final : template void set_displayname(ArgT0&& arg0, ArgT... args); std::string* mutable_displayname(); - PROTOBUF_MUST_USE_RESULT std::string* release_displayname(); + PROTOBUF_NODISCARD std::string* release_displayname(); void set_allocated_displayname(std::string* displayname); private: const std::string& _internal_displayname() const; @@ -8710,7 +8838,7 @@ class Chat final : template void set_id(ArgT0&& arg0, ArgT... args); std::string* mutable_id(); - PROTOBUF_MUST_USE_RESULT std::string* release_id(); + PROTOBUF_NODISCARD std::string* release_id(); void set_allocated_id(std::string* id); private: const std::string& _internal_id() const; @@ -8725,10 +8853,13 @@ class Chat final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displayname_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displayname_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -8738,7 +8869,7 @@ class ProtocolMessage final : public: inline ProtocolMessage() : ProtocolMessage(nullptr) {} ~ProtocolMessage() override; - explicit constexpr ProtocolMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR ProtocolMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ProtocolMessage(const ProtocolMessage& from); ProtocolMessage(ProtocolMessage&& from) noexcept @@ -8795,7 +8926,12 @@ class ProtocolMessage final : } inline void Swap(ProtocolMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -8809,34 +8945,34 @@ class ProtocolMessage final : // implements Message ---------------------------------------------- - inline ProtocolMessage* New() const final { - return new ProtocolMessage(); - } - - ProtocolMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ProtocolMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const ProtocolMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ProtocolMessage& from); + void MergeFrom( const ProtocolMessage& from) { + ProtocolMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(ProtocolMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.ProtocolMessage"; @@ -8844,9 +8980,6 @@ class ProtocolMessage final : protected: explicit ProtocolMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -8920,7 +9053,7 @@ class ProtocolMessage final : public: void clear_key(); const ::proto::MessageKey& key() const; - PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_key(); + PROTOBUF_NODISCARD ::proto::MessageKey* release_key(); ::proto::MessageKey* mutable_key(); void set_allocated_key(::proto::MessageKey* key); private: @@ -8938,7 +9071,7 @@ class ProtocolMessage final : public: void clear_historysyncnotification(); const ::proto::HistorySyncNotification& historysyncnotification() const; - PROTOBUF_MUST_USE_RESULT ::proto::HistorySyncNotification* release_historysyncnotification(); + PROTOBUF_NODISCARD ::proto::HistorySyncNotification* release_historysyncnotification(); ::proto::HistorySyncNotification* mutable_historysyncnotification(); void set_allocated_historysyncnotification(::proto::HistorySyncNotification* historysyncnotification); private: @@ -8956,7 +9089,7 @@ class ProtocolMessage final : public: void clear_appstatesynckeyshare(); const ::proto::AppStateSyncKeyShare& appstatesynckeyshare() const; - PROTOBUF_MUST_USE_RESULT ::proto::AppStateSyncKeyShare* release_appstatesynckeyshare(); + PROTOBUF_NODISCARD ::proto::AppStateSyncKeyShare* release_appstatesynckeyshare(); ::proto::AppStateSyncKeyShare* mutable_appstatesynckeyshare(); void set_allocated_appstatesynckeyshare(::proto::AppStateSyncKeyShare* appstatesynckeyshare); private: @@ -8974,7 +9107,7 @@ class ProtocolMessage final : public: void clear_appstatesynckeyrequest(); const ::proto::AppStateSyncKeyRequest& appstatesynckeyrequest() const; - PROTOBUF_MUST_USE_RESULT ::proto::AppStateSyncKeyRequest* release_appstatesynckeyrequest(); + PROTOBUF_NODISCARD ::proto::AppStateSyncKeyRequest* release_appstatesynckeyrequest(); ::proto::AppStateSyncKeyRequest* mutable_appstatesynckeyrequest(); void set_allocated_appstatesynckeyrequest(::proto::AppStateSyncKeyRequest* appstatesynckeyrequest); private: @@ -8992,7 +9125,7 @@ class ProtocolMessage final : public: void clear_initialsecuritynotificationsettingsync(); const ::proto::InitialSecurityNotificationSettingSync& initialsecuritynotificationsettingsync() const; - PROTOBUF_MUST_USE_RESULT ::proto::InitialSecurityNotificationSettingSync* release_initialsecuritynotificationsettingsync(); + PROTOBUF_NODISCARD ::proto::InitialSecurityNotificationSettingSync* release_initialsecuritynotificationsettingsync(); ::proto::InitialSecurityNotificationSettingSync* mutable_initialsecuritynotificationsettingsync(); void set_allocated_initialsecuritynotificationsettingsync(::proto::InitialSecurityNotificationSettingSync* initialsecuritynotificationsettingsync); private: @@ -9010,7 +9143,7 @@ class ProtocolMessage final : public: void clear_appstatefatalexceptionnotification(); const ::proto::AppStateFatalExceptionNotification& appstatefatalexceptionnotification() const; - PROTOBUF_MUST_USE_RESULT ::proto::AppStateFatalExceptionNotification* release_appstatefatalexceptionnotification(); + PROTOBUF_NODISCARD ::proto::AppStateFatalExceptionNotification* release_appstatefatalexceptionnotification(); ::proto::AppStateFatalExceptionNotification* mutable_appstatefatalexceptionnotification(); void set_allocated_appstatefatalexceptionnotification(::proto::AppStateFatalExceptionNotification* appstatefatalexceptionnotification); private: @@ -9040,11 +9173,11 @@ class ProtocolMessage final : bool _internal_has_ephemeralexpiration() const; public: void clear_ephemeralexpiration(); - ::PROTOBUF_NAMESPACE_ID::uint32 ephemeralexpiration() const; - void set_ephemeralexpiration(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t ephemeralexpiration() const; + void set_ephemeralexpiration(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_ephemeralexpiration() const; - void _internal_set_ephemeralexpiration(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_ephemeralexpiration() const; + void _internal_set_ephemeralexpiration(uint32_t value); public: // optional int64 ephemeralSettingTimestamp = 5; @@ -9053,11 +9186,11 @@ class ProtocolMessage final : bool _internal_has_ephemeralsettingtimestamp() const; public: void clear_ephemeralsettingtimestamp(); - ::PROTOBUF_NAMESPACE_ID::int64 ephemeralsettingtimestamp() const; - void set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t ephemeralsettingtimestamp() const; + void set_ephemeralsettingtimestamp(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_ephemeralsettingtimestamp() const; - void _internal_set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_ephemeralsettingtimestamp() const; + void _internal_set_ephemeralsettingtimestamp(int64_t value); public: // @@protoc_insertion_point(class_scope:proto.ProtocolMessage) @@ -9067,17 +9200,20 @@ class ProtocolMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::proto::MessageKey* key_; - ::proto::HistorySyncNotification* historysyncnotification_; - ::proto::AppStateSyncKeyShare* appstatesynckeyshare_; - ::proto::AppStateSyncKeyRequest* appstatesynckeyrequest_; - ::proto::InitialSecurityNotificationSettingSync* initialsecuritynotificationsettingsync_; - ::proto::AppStateFatalExceptionNotification* appstatefatalexceptionnotification_; - int type_; - ::PROTOBUF_NAMESPACE_ID::uint32 ephemeralexpiration_; - ::PROTOBUF_NAMESPACE_ID::int64 ephemeralsettingtimestamp_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::proto::MessageKey* key_; + ::proto::HistorySyncNotification* historysyncnotification_; + ::proto::AppStateSyncKeyShare* appstatesynckeyshare_; + ::proto::AppStateSyncKeyRequest* appstatesynckeyrequest_; + ::proto::InitialSecurityNotificationSettingSync* initialsecuritynotificationsettingsync_; + ::proto::AppStateFatalExceptionNotification* appstatefatalexceptionnotification_; + int type_; + uint32_t ephemeralexpiration_; + int64_t ephemeralsettingtimestamp_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -9087,7 +9223,7 @@ class HistorySyncNotification final : public: inline HistorySyncNotification() : HistorySyncNotification(nullptr) {} ~HistorySyncNotification() override; - explicit constexpr HistorySyncNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR HistorySyncNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); HistorySyncNotification(const HistorySyncNotification& from); HistorySyncNotification(HistorySyncNotification&& from) noexcept @@ -9144,7 +9280,12 @@ class HistorySyncNotification final : } inline void Swap(HistorySyncNotification* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -9158,34 +9299,34 @@ class HistorySyncNotification final : // implements Message ---------------------------------------------- - inline HistorySyncNotification* New() const final { - return new HistorySyncNotification(); - } - - HistorySyncNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + HistorySyncNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const HistorySyncNotification& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const HistorySyncNotification& from); + void MergeFrom( const HistorySyncNotification& from) { + HistorySyncNotification::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(HistorySyncNotification* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.HistorySyncNotification"; @@ -9193,9 +9334,6 @@ class HistorySyncNotification final : protected: explicit HistorySyncNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -9263,7 +9401,7 @@ class HistorySyncNotification final : template void set_filesha256(ArgT0&& arg0, ArgT... args); std::string* mutable_filesha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_filesha256(); + PROTOBUF_NODISCARD std::string* release_filesha256(); void set_allocated_filesha256(std::string* filesha256); private: const std::string& _internal_filesha256() const; @@ -9281,7 +9419,7 @@ class HistorySyncNotification final : template void set_mediakey(ArgT0&& arg0, ArgT... args); std::string* mutable_mediakey(); - PROTOBUF_MUST_USE_RESULT std::string* release_mediakey(); + PROTOBUF_NODISCARD std::string* release_mediakey(); void set_allocated_mediakey(std::string* mediakey); private: const std::string& _internal_mediakey() const; @@ -9299,7 +9437,7 @@ class HistorySyncNotification final : template void set_fileencsha256(ArgT0&& arg0, ArgT... args); std::string* mutable_fileencsha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256(); + PROTOBUF_NODISCARD std::string* release_fileencsha256(); void set_allocated_fileencsha256(std::string* fileencsha256); private: const std::string& _internal_fileencsha256() const; @@ -9317,7 +9455,7 @@ class HistorySyncNotification final : template void set_directpath(ArgT0&& arg0, ArgT... args); std::string* mutable_directpath(); - PROTOBUF_MUST_USE_RESULT std::string* release_directpath(); + PROTOBUF_NODISCARD std::string* release_directpath(); void set_allocated_directpath(std::string* directpath); private: const std::string& _internal_directpath() const; @@ -9335,7 +9473,7 @@ class HistorySyncNotification final : template void set_originalmessageid(ArgT0&& arg0, ArgT... args); std::string* mutable_originalmessageid(); - PROTOBUF_MUST_USE_RESULT std::string* release_originalmessageid(); + PROTOBUF_NODISCARD std::string* release_originalmessageid(); void set_allocated_originalmessageid(std::string* originalmessageid); private: const std::string& _internal_originalmessageid() const; @@ -9349,11 +9487,11 @@ class HistorySyncNotification final : bool _internal_has_filelength() const; public: void clear_filelength(); - ::PROTOBUF_NAMESPACE_ID::uint64 filelength() const; - void set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t filelength() const; + void set_filelength(uint64_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint64 _internal_filelength() const; - void _internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t _internal_filelength() const; + void _internal_set_filelength(uint64_t value); public: // optional .proto.HistorySyncNotification.HistorySyncNotificationHistorySyncType syncType = 6; @@ -9375,11 +9513,11 @@ class HistorySyncNotification final : bool _internal_has_chunkorder() const; public: void clear_chunkorder(); - ::PROTOBUF_NAMESPACE_ID::uint32 chunkorder() const; - void set_chunkorder(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t chunkorder() const; + void set_chunkorder(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_chunkorder() const; - void _internal_set_chunkorder(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_chunkorder() const; + void _internal_set_chunkorder(uint32_t value); public: // @@protoc_insertion_point(class_scope:proto.HistorySyncNotification) @@ -9389,16 +9527,19 @@ class HistorySyncNotification final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr originalmessageid_; - ::PROTOBUF_NAMESPACE_ID::uint64 filelength_; - int synctype_; - ::PROTOBUF_NAMESPACE_ID::uint32 chunkorder_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr originalmessageid_; + uint64_t filelength_; + int synctype_; + uint32_t chunkorder_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -9408,7 +9549,7 @@ class AppStateSyncKey final : public: inline AppStateSyncKey() : AppStateSyncKey(nullptr) {} ~AppStateSyncKey() override; - explicit constexpr AppStateSyncKey(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR AppStateSyncKey(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AppStateSyncKey(const AppStateSyncKey& from); AppStateSyncKey(AppStateSyncKey&& from) noexcept @@ -9465,7 +9606,12 @@ class AppStateSyncKey final : } inline void Swap(AppStateSyncKey* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -9479,34 +9625,34 @@ class AppStateSyncKey final : // implements Message ---------------------------------------------- - inline AppStateSyncKey* New() const final { - return new AppStateSyncKey(); - } - - AppStateSyncKey* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AppStateSyncKey* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const AppStateSyncKey& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AppStateSyncKey& from); + void MergeFrom( const AppStateSyncKey& from) { + AppStateSyncKey::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(AppStateSyncKey* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.AppStateSyncKey"; @@ -9514,9 +9660,6 @@ class AppStateSyncKey final : protected: explicit AppStateSyncKey(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -9539,7 +9682,7 @@ class AppStateSyncKey final : public: void clear_keyid(); const ::proto::AppStateSyncKeyId& keyid() const; - PROTOBUF_MUST_USE_RESULT ::proto::AppStateSyncKeyId* release_keyid(); + PROTOBUF_NODISCARD ::proto::AppStateSyncKeyId* release_keyid(); ::proto::AppStateSyncKeyId* mutable_keyid(); void set_allocated_keyid(::proto::AppStateSyncKeyId* keyid); private: @@ -9557,7 +9700,7 @@ class AppStateSyncKey final : public: void clear_keydata(); const ::proto::AppStateSyncKeyData& keydata() const; - PROTOBUF_MUST_USE_RESULT ::proto::AppStateSyncKeyData* release_keydata(); + PROTOBUF_NODISCARD ::proto::AppStateSyncKeyData* release_keydata(); ::proto::AppStateSyncKeyData* mutable_keydata(); void set_allocated_keydata(::proto::AppStateSyncKeyData* keydata); private: @@ -9575,10 +9718,13 @@ class AppStateSyncKey final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::proto::AppStateSyncKeyId* keyid_; - ::proto::AppStateSyncKeyData* keydata_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::proto::AppStateSyncKeyId* keyid_; + ::proto::AppStateSyncKeyData* keydata_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -9588,7 +9734,7 @@ class AppStateSyncKeyId final : public: inline AppStateSyncKeyId() : AppStateSyncKeyId(nullptr) {} ~AppStateSyncKeyId() override; - explicit constexpr AppStateSyncKeyId(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR AppStateSyncKeyId(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AppStateSyncKeyId(const AppStateSyncKeyId& from); AppStateSyncKeyId(AppStateSyncKeyId&& from) noexcept @@ -9645,7 +9791,12 @@ class AppStateSyncKeyId final : } inline void Swap(AppStateSyncKeyId* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -9659,34 +9810,34 @@ class AppStateSyncKeyId final : // implements Message ---------------------------------------------- - inline AppStateSyncKeyId* New() const final { - return new AppStateSyncKeyId(); - } - - AppStateSyncKeyId* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AppStateSyncKeyId* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const AppStateSyncKeyId& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AppStateSyncKeyId& from); + void MergeFrom( const AppStateSyncKeyId& from) { + AppStateSyncKeyId::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(AppStateSyncKeyId* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.AppStateSyncKeyId"; @@ -9694,9 +9845,6 @@ class AppStateSyncKeyId final : protected: explicit AppStateSyncKeyId(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -9721,7 +9869,7 @@ class AppStateSyncKeyId final : template void set_keyid(ArgT0&& arg0, ArgT... args); std::string* mutable_keyid(); - PROTOBUF_MUST_USE_RESULT std::string* release_keyid(); + PROTOBUF_NODISCARD std::string* release_keyid(); void set_allocated_keyid(std::string* keyid); private: const std::string& _internal_keyid() const; @@ -9736,9 +9884,12 @@ class AppStateSyncKeyId final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr keyid_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr keyid_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -9748,7 +9899,7 @@ class AppStateSyncKeyFingerprint final : public: inline AppStateSyncKeyFingerprint() : AppStateSyncKeyFingerprint(nullptr) {} ~AppStateSyncKeyFingerprint() override; - explicit constexpr AppStateSyncKeyFingerprint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR AppStateSyncKeyFingerprint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AppStateSyncKeyFingerprint(const AppStateSyncKeyFingerprint& from); AppStateSyncKeyFingerprint(AppStateSyncKeyFingerprint&& from) noexcept @@ -9805,7 +9956,12 @@ class AppStateSyncKeyFingerprint final : } inline void Swap(AppStateSyncKeyFingerprint* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -9819,34 +9975,34 @@ class AppStateSyncKeyFingerprint final : // implements Message ---------------------------------------------- - inline AppStateSyncKeyFingerprint* New() const final { - return new AppStateSyncKeyFingerprint(); - } - - AppStateSyncKeyFingerprint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AppStateSyncKeyFingerprint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const AppStateSyncKeyFingerprint& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AppStateSyncKeyFingerprint& from); + void MergeFrom( const AppStateSyncKeyFingerprint& from) { + AppStateSyncKeyFingerprint::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(AppStateSyncKeyFingerprint* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.AppStateSyncKeyFingerprint"; @@ -9854,9 +10010,6 @@ class AppStateSyncKeyFingerprint final : protected: explicit AppStateSyncKeyFingerprint(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -9880,19 +10033,19 @@ class AppStateSyncKeyFingerprint final : public: void clear_deviceindexes(); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_deviceindexes(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t _internal_deviceindexes(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& _internal_deviceindexes() const; - void _internal_add_deviceindexes(::PROTOBUF_NAMESPACE_ID::uint32 value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + void _internal_add_deviceindexes(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* _internal_mutable_deviceindexes(); public: - ::PROTOBUF_NAMESPACE_ID::uint32 deviceindexes(int index) const; - void set_deviceindexes(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value); - void add_deviceindexes(::PROTOBUF_NAMESPACE_ID::uint32 value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t deviceindexes(int index) const; + void set_deviceindexes(int index, uint32_t value); + void add_deviceindexes(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& deviceindexes() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* mutable_deviceindexes(); // optional uint32 rawId = 1; @@ -9901,11 +10054,11 @@ class AppStateSyncKeyFingerprint final : bool _internal_has_rawid() const; public: void clear_rawid(); - ::PROTOBUF_NAMESPACE_ID::uint32 rawid() const; - void set_rawid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t rawid() const; + void set_rawid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_rawid() const; - void _internal_set_rawid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_rawid() const; + void _internal_set_rawid(uint32_t value); public: // optional uint32 currentIndex = 2; @@ -9914,11 +10067,11 @@ class AppStateSyncKeyFingerprint final : bool _internal_has_currentindex() const; public: void clear_currentindex(); - ::PROTOBUF_NAMESPACE_ID::uint32 currentindex() const; - void set_currentindex(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t currentindex() const; + void set_currentindex(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_currentindex() const; - void _internal_set_currentindex(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_currentindex() const; + void _internal_set_currentindex(uint32_t value); public: // @@protoc_insertion_point(class_scope:proto.AppStateSyncKeyFingerprint) @@ -9928,12 +10081,15 @@ class AppStateSyncKeyFingerprint final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > deviceindexes_; - mutable std::atomic _deviceindexes_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 rawid_; - ::PROTOBUF_NAMESPACE_ID::uint32 currentindex_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > deviceindexes_; + mutable std::atomic _deviceindexes_cached_byte_size_; + uint32_t rawid_; + uint32_t currentindex_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -9943,7 +10099,7 @@ class AppStateSyncKeyData final : public: inline AppStateSyncKeyData() : AppStateSyncKeyData(nullptr) {} ~AppStateSyncKeyData() override; - explicit constexpr AppStateSyncKeyData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR AppStateSyncKeyData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AppStateSyncKeyData(const AppStateSyncKeyData& from); AppStateSyncKeyData(AppStateSyncKeyData&& from) noexcept @@ -10000,7 +10156,12 @@ class AppStateSyncKeyData final : } inline void Swap(AppStateSyncKeyData* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -10014,34 +10175,34 @@ class AppStateSyncKeyData final : // implements Message ---------------------------------------------- - inline AppStateSyncKeyData* New() const final { - return new AppStateSyncKeyData(); - } - - AppStateSyncKeyData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AppStateSyncKeyData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const AppStateSyncKeyData& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AppStateSyncKeyData& from); + void MergeFrom( const AppStateSyncKeyData& from) { + AppStateSyncKeyData::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(AppStateSyncKeyData* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.AppStateSyncKeyData"; @@ -10049,9 +10210,6 @@ class AppStateSyncKeyData final : protected: explicit AppStateSyncKeyData(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -10078,7 +10236,7 @@ class AppStateSyncKeyData final : template void set_keydata(ArgT0&& arg0, ArgT... args); std::string* mutable_keydata(); - PROTOBUF_MUST_USE_RESULT std::string* release_keydata(); + PROTOBUF_NODISCARD std::string* release_keydata(); void set_allocated_keydata(std::string* keydata); private: const std::string& _internal_keydata() const; @@ -10093,7 +10251,7 @@ class AppStateSyncKeyData final : public: void clear_fingerprint(); const ::proto::AppStateSyncKeyFingerprint& fingerprint() const; - PROTOBUF_MUST_USE_RESULT ::proto::AppStateSyncKeyFingerprint* release_fingerprint(); + PROTOBUF_NODISCARD ::proto::AppStateSyncKeyFingerprint* release_fingerprint(); ::proto::AppStateSyncKeyFingerprint* mutable_fingerprint(); void set_allocated_fingerprint(::proto::AppStateSyncKeyFingerprint* fingerprint); private: @@ -10110,11 +10268,11 @@ class AppStateSyncKeyData final : bool _internal_has_timestamp() const; public: void clear_timestamp(); - ::PROTOBUF_NAMESPACE_ID::int64 timestamp() const; - void set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t timestamp() const; + void set_timestamp(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_timestamp() const; - void _internal_set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_timestamp() const; + void _internal_set_timestamp(int64_t value); public: // @@protoc_insertion_point(class_scope:proto.AppStateSyncKeyData) @@ -10124,11 +10282,14 @@ class AppStateSyncKeyData final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr keydata_; - ::proto::AppStateSyncKeyFingerprint* fingerprint_; - ::PROTOBUF_NAMESPACE_ID::int64 timestamp_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr keydata_; + ::proto::AppStateSyncKeyFingerprint* fingerprint_; + int64_t timestamp_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -10138,7 +10299,7 @@ class AppStateSyncKeyShare final : public: inline AppStateSyncKeyShare() : AppStateSyncKeyShare(nullptr) {} ~AppStateSyncKeyShare() override; - explicit constexpr AppStateSyncKeyShare(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR AppStateSyncKeyShare(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AppStateSyncKeyShare(const AppStateSyncKeyShare& from); AppStateSyncKeyShare(AppStateSyncKeyShare&& from) noexcept @@ -10195,7 +10356,12 @@ class AppStateSyncKeyShare final : } inline void Swap(AppStateSyncKeyShare* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -10209,34 +10375,34 @@ class AppStateSyncKeyShare final : // implements Message ---------------------------------------------- - inline AppStateSyncKeyShare* New() const final { - return new AppStateSyncKeyShare(); - } - - AppStateSyncKeyShare* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AppStateSyncKeyShare* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const AppStateSyncKeyShare& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AppStateSyncKeyShare& from); + void MergeFrom( const AppStateSyncKeyShare& from) { + AppStateSyncKeyShare::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(AppStateSyncKeyShare* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.AppStateSyncKeyShare"; @@ -10244,9 +10410,6 @@ class AppStateSyncKeyShare final : protected: explicit AppStateSyncKeyShare(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -10286,8 +10449,11 @@ class AppStateSyncKeyShare final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::AppStateSyncKey > keys_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::AppStateSyncKey > keys_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -10297,7 +10463,7 @@ class AppStateSyncKeyRequest final : public: inline AppStateSyncKeyRequest() : AppStateSyncKeyRequest(nullptr) {} ~AppStateSyncKeyRequest() override; - explicit constexpr AppStateSyncKeyRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR AppStateSyncKeyRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AppStateSyncKeyRequest(const AppStateSyncKeyRequest& from); AppStateSyncKeyRequest(AppStateSyncKeyRequest&& from) noexcept @@ -10354,7 +10520,12 @@ class AppStateSyncKeyRequest final : } inline void Swap(AppStateSyncKeyRequest* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -10368,34 +10539,34 @@ class AppStateSyncKeyRequest final : // implements Message ---------------------------------------------- - inline AppStateSyncKeyRequest* New() const final { - return new AppStateSyncKeyRequest(); - } - - AppStateSyncKeyRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AppStateSyncKeyRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const AppStateSyncKeyRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AppStateSyncKeyRequest& from); + void MergeFrom( const AppStateSyncKeyRequest& from) { + AppStateSyncKeyRequest::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(AppStateSyncKeyRequest* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.AppStateSyncKeyRequest"; @@ -10403,9 +10574,6 @@ class AppStateSyncKeyRequest final : protected: explicit AppStateSyncKeyRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -10445,8 +10613,11 @@ class AppStateSyncKeyRequest final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::AppStateSyncKeyId > keyids_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::AppStateSyncKeyId > keyids_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -10456,7 +10627,7 @@ class AppStateFatalExceptionNotification final : public: inline AppStateFatalExceptionNotification() : AppStateFatalExceptionNotification(nullptr) {} ~AppStateFatalExceptionNotification() override; - explicit constexpr AppStateFatalExceptionNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR AppStateFatalExceptionNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AppStateFatalExceptionNotification(const AppStateFatalExceptionNotification& from); AppStateFatalExceptionNotification(AppStateFatalExceptionNotification&& from) noexcept @@ -10513,7 +10684,12 @@ class AppStateFatalExceptionNotification final : } inline void Swap(AppStateFatalExceptionNotification* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -10527,34 +10703,34 @@ class AppStateFatalExceptionNotification final : // implements Message ---------------------------------------------- - inline AppStateFatalExceptionNotification* New() const final { - return new AppStateFatalExceptionNotification(); - } - - AppStateFatalExceptionNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AppStateFatalExceptionNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const AppStateFatalExceptionNotification& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AppStateFatalExceptionNotification& from); + void MergeFrom( const AppStateFatalExceptionNotification& from) { + AppStateFatalExceptionNotification::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(AppStateFatalExceptionNotification* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.AppStateFatalExceptionNotification"; @@ -10562,9 +10738,6 @@ class AppStateFatalExceptionNotification final : protected: explicit AppStateFatalExceptionNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -10610,11 +10783,11 @@ class AppStateFatalExceptionNotification final : bool _internal_has_timestamp() const; public: void clear_timestamp(); - ::PROTOBUF_NAMESPACE_ID::int64 timestamp() const; - void set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t timestamp() const; + void set_timestamp(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_timestamp() const; - void _internal_set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_timestamp() const; + void _internal_set_timestamp(int64_t value); public: // @@protoc_insertion_point(class_scope:proto.AppStateFatalExceptionNotification) @@ -10624,10 +10797,13 @@ class AppStateFatalExceptionNotification final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField collectionnames_; - ::PROTOBUF_NAMESPACE_ID::int64 timestamp_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField collectionnames_; + int64_t timestamp_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -10637,7 +10813,7 @@ class InitialSecurityNotificationSettingSync final : public: inline InitialSecurityNotificationSettingSync() : InitialSecurityNotificationSettingSync(nullptr) {} ~InitialSecurityNotificationSettingSync() override; - explicit constexpr InitialSecurityNotificationSettingSync(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR InitialSecurityNotificationSettingSync(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); InitialSecurityNotificationSettingSync(const InitialSecurityNotificationSettingSync& from); InitialSecurityNotificationSettingSync(InitialSecurityNotificationSettingSync&& from) noexcept @@ -10694,7 +10870,12 @@ class InitialSecurityNotificationSettingSync final : } inline void Swap(InitialSecurityNotificationSettingSync* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -10708,34 +10889,34 @@ class InitialSecurityNotificationSettingSync final : // implements Message ---------------------------------------------- - inline InitialSecurityNotificationSettingSync* New() const final { - return new InitialSecurityNotificationSettingSync(); - } - - InitialSecurityNotificationSettingSync* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + InitialSecurityNotificationSettingSync* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const InitialSecurityNotificationSettingSync& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const InitialSecurityNotificationSettingSync& from); + void MergeFrom( const InitialSecurityNotificationSettingSync& from) { + InitialSecurityNotificationSettingSync::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(InitialSecurityNotificationSettingSync* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.InitialSecurityNotificationSettingSync"; @@ -10743,9 +10924,6 @@ class InitialSecurityNotificationSettingSync final : protected: explicit InitialSecurityNotificationSettingSync(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -10780,9 +10958,12 @@ class InitialSecurityNotificationSettingSync final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool securitynotificationenabled_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool securitynotificationenabled_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -10792,7 +10973,7 @@ class ContactsArrayMessage final : public: inline ContactsArrayMessage() : ContactsArrayMessage(nullptr) {} ~ContactsArrayMessage() override; - explicit constexpr ContactsArrayMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR ContactsArrayMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ContactsArrayMessage(const ContactsArrayMessage& from); ContactsArrayMessage(ContactsArrayMessage&& from) noexcept @@ -10849,7 +11030,12 @@ class ContactsArrayMessage final : } inline void Swap(ContactsArrayMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -10863,34 +11049,34 @@ class ContactsArrayMessage final : // implements Message ---------------------------------------------- - inline ContactsArrayMessage* New() const final { - return new ContactsArrayMessage(); - } - - ContactsArrayMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ContactsArrayMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const ContactsArrayMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ContactsArrayMessage& from); + void MergeFrom( const ContactsArrayMessage& from) { + ContactsArrayMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(ContactsArrayMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.ContactsArrayMessage"; @@ -10898,9 +11084,6 @@ class ContactsArrayMessage final : protected: explicit ContactsArrayMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -10945,7 +11128,7 @@ class ContactsArrayMessage final : template void set_displayname(ArgT0&& arg0, ArgT... args); std::string* mutable_displayname(); - PROTOBUF_MUST_USE_RESULT std::string* release_displayname(); + PROTOBUF_NODISCARD std::string* release_displayname(); void set_allocated_displayname(std::string* displayname); private: const std::string& _internal_displayname() const; @@ -10960,7 +11143,7 @@ class ContactsArrayMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -10978,11 +11161,14 @@ class ContactsArrayMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::ContactMessage > contacts_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displayname_; - ::proto::ContextInfo* contextinfo_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::ContactMessage > contacts_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displayname_; + ::proto::ContextInfo* contextinfo_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -10992,7 +11178,7 @@ class HSMCurrency final : public: inline HSMCurrency() : HSMCurrency(nullptr) {} ~HSMCurrency() override; - explicit constexpr HSMCurrency(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR HSMCurrency(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); HSMCurrency(const HSMCurrency& from); HSMCurrency(HSMCurrency&& from) noexcept @@ -11049,7 +11235,12 @@ class HSMCurrency final : } inline void Swap(HSMCurrency* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -11063,34 +11254,34 @@ class HSMCurrency final : // implements Message ---------------------------------------------- - inline HSMCurrency* New() const final { - return new HSMCurrency(); - } - - HSMCurrency* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + HSMCurrency* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const HSMCurrency& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const HSMCurrency& from); + void MergeFrom( const HSMCurrency& from) { + HSMCurrency::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(HSMCurrency* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.HSMCurrency"; @@ -11098,9 +11289,6 @@ class HSMCurrency final : protected: explicit HSMCurrency(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -11126,7 +11314,7 @@ class HSMCurrency final : template void set_currencycode(ArgT0&& arg0, ArgT... args); std::string* mutable_currencycode(); - PROTOBUF_MUST_USE_RESULT std::string* release_currencycode(); + PROTOBUF_NODISCARD std::string* release_currencycode(); void set_allocated_currencycode(std::string* currencycode); private: const std::string& _internal_currencycode() const; @@ -11140,11 +11328,11 @@ class HSMCurrency final : bool _internal_has_amount1000() const; public: void clear_amount1000(); - ::PROTOBUF_NAMESPACE_ID::int64 amount1000() const; - void set_amount1000(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t amount1000() const; + void set_amount1000(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_amount1000() const; - void _internal_set_amount1000(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_amount1000() const; + void _internal_set_amount1000(int64_t value); public: // @@protoc_insertion_point(class_scope:proto.HSMCurrency) @@ -11154,10 +11342,13 @@ class HSMCurrency final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycode_; - ::PROTOBUF_NAMESPACE_ID::int64 amount1000_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycode_; + int64_t amount1000_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -11167,7 +11358,7 @@ class HSMDateTimeComponent final : public: inline HSMDateTimeComponent() : HSMDateTimeComponent(nullptr) {} ~HSMDateTimeComponent() override; - explicit constexpr HSMDateTimeComponent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR HSMDateTimeComponent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); HSMDateTimeComponent(const HSMDateTimeComponent& from); HSMDateTimeComponent(HSMDateTimeComponent&& from) noexcept @@ -11224,7 +11415,12 @@ class HSMDateTimeComponent final : } inline void Swap(HSMDateTimeComponent* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -11238,34 +11434,34 @@ class HSMDateTimeComponent final : // implements Message ---------------------------------------------- - inline HSMDateTimeComponent* New() const final { - return new HSMDateTimeComponent(); - } - - HSMDateTimeComponent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + HSMDateTimeComponent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const HSMDateTimeComponent& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const HSMDateTimeComponent& from); + void MergeFrom( const HSMDateTimeComponent& from) { + HSMDateTimeComponent::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(HSMDateTimeComponent* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.HSMDateTimeComponent"; @@ -11273,9 +11469,6 @@ class HSMDateTimeComponent final : protected: explicit HSMDateTimeComponent(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -11372,11 +11565,11 @@ class HSMDateTimeComponent final : bool _internal_has_year() const; public: void clear_year(); - ::PROTOBUF_NAMESPACE_ID::uint32 year() const; - void set_year(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t year() const; + void set_year(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_year() const; - void _internal_set_year(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_year() const; + void _internal_set_year(uint32_t value); public: // optional uint32 month = 3; @@ -11385,11 +11578,11 @@ class HSMDateTimeComponent final : bool _internal_has_month() const; public: void clear_month(); - ::PROTOBUF_NAMESPACE_ID::uint32 month() const; - void set_month(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t month() const; + void set_month(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_month() const; - void _internal_set_month(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_month() const; + void _internal_set_month(uint32_t value); public: // optional uint32 dayOfMonth = 4; @@ -11398,11 +11591,11 @@ class HSMDateTimeComponent final : bool _internal_has_dayofmonth() const; public: void clear_dayofmonth(); - ::PROTOBUF_NAMESPACE_ID::uint32 dayofmonth() const; - void set_dayofmonth(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t dayofmonth() const; + void set_dayofmonth(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_dayofmonth() const; - void _internal_set_dayofmonth(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_dayofmonth() const; + void _internal_set_dayofmonth(uint32_t value); public: // optional uint32 hour = 5; @@ -11411,11 +11604,11 @@ class HSMDateTimeComponent final : bool _internal_has_hour() const; public: void clear_hour(); - ::PROTOBUF_NAMESPACE_ID::uint32 hour() const; - void set_hour(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t hour() const; + void set_hour(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_hour() const; - void _internal_set_hour(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_hour() const; + void _internal_set_hour(uint32_t value); public: // optional uint32 minute = 6; @@ -11424,11 +11617,11 @@ class HSMDateTimeComponent final : bool _internal_has_minute() const; public: void clear_minute(); - ::PROTOBUF_NAMESPACE_ID::uint32 minute() const; - void set_minute(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t minute() const; + void set_minute(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_minute() const; - void _internal_set_minute(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_minute() const; + void _internal_set_minute(uint32_t value); public: // optional .proto.HSMDateTimeComponent.HSMDateTimeComponentDayOfWeekType dayOfWeek = 1; @@ -11464,15 +11657,18 @@ class HSMDateTimeComponent final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 year_; - ::PROTOBUF_NAMESPACE_ID::uint32 month_; - ::PROTOBUF_NAMESPACE_ID::uint32 dayofmonth_; - ::PROTOBUF_NAMESPACE_ID::uint32 hour_; - ::PROTOBUF_NAMESPACE_ID::uint32 minute_; - int dayofweek_; - int calendar_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t year_; + uint32_t month_; + uint32_t dayofmonth_; + uint32_t hour_; + uint32_t minute_; + int dayofweek_; + int calendar_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -11482,7 +11678,7 @@ class HSMDateTimeUnixEpoch final : public: inline HSMDateTimeUnixEpoch() : HSMDateTimeUnixEpoch(nullptr) {} ~HSMDateTimeUnixEpoch() override; - explicit constexpr HSMDateTimeUnixEpoch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR HSMDateTimeUnixEpoch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); HSMDateTimeUnixEpoch(const HSMDateTimeUnixEpoch& from); HSMDateTimeUnixEpoch(HSMDateTimeUnixEpoch&& from) noexcept @@ -11539,7 +11735,12 @@ class HSMDateTimeUnixEpoch final : } inline void Swap(HSMDateTimeUnixEpoch* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -11553,34 +11754,34 @@ class HSMDateTimeUnixEpoch final : // implements Message ---------------------------------------------- - inline HSMDateTimeUnixEpoch* New() const final { - return new HSMDateTimeUnixEpoch(); - } - - HSMDateTimeUnixEpoch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + HSMDateTimeUnixEpoch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const HSMDateTimeUnixEpoch& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const HSMDateTimeUnixEpoch& from); + void MergeFrom( const HSMDateTimeUnixEpoch& from) { + HSMDateTimeUnixEpoch::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(HSMDateTimeUnixEpoch* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.HSMDateTimeUnixEpoch"; @@ -11588,9 +11789,6 @@ class HSMDateTimeUnixEpoch final : protected: explicit HSMDateTimeUnixEpoch(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -11611,11 +11809,11 @@ class HSMDateTimeUnixEpoch final : bool _internal_has_timestamp() const; public: void clear_timestamp(); - ::PROTOBUF_NAMESPACE_ID::int64 timestamp() const; - void set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t timestamp() const; + void set_timestamp(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_timestamp() const; - void _internal_set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_timestamp() const; + void _internal_set_timestamp(int64_t value); public: // @@protoc_insertion_point(class_scope:proto.HSMDateTimeUnixEpoch) @@ -11625,9 +11823,12 @@ class HSMDateTimeUnixEpoch final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::int64 timestamp_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int64_t timestamp_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -11637,7 +11838,7 @@ class HSMDateTime final : public: inline HSMDateTime() : HSMDateTime(nullptr) {} ~HSMDateTime() override; - explicit constexpr HSMDateTime(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR HSMDateTime(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); HSMDateTime(const HSMDateTime& from); HSMDateTime(HSMDateTime&& from) noexcept @@ -11700,7 +11901,12 @@ class HSMDateTime final : } inline void Swap(HSMDateTime* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -11714,34 +11920,34 @@ class HSMDateTime final : // implements Message ---------------------------------------------- - inline HSMDateTime* New() const final { - return new HSMDateTime(); - } - - HSMDateTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + HSMDateTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const HSMDateTime& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const HSMDateTime& from); + void MergeFrom( const HSMDateTime& from) { + HSMDateTime::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(HSMDateTime* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.HSMDateTime"; @@ -11749,9 +11955,6 @@ class HSMDateTime final : protected: explicit HSMDateTime(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -11774,7 +11977,7 @@ class HSMDateTime final : public: void clear_component(); const ::proto::HSMDateTimeComponent& component() const; - PROTOBUF_MUST_USE_RESULT ::proto::HSMDateTimeComponent* release_component(); + PROTOBUF_NODISCARD ::proto::HSMDateTimeComponent* release_component(); ::proto::HSMDateTimeComponent* mutable_component(); void set_allocated_component(::proto::HSMDateTimeComponent* component); private: @@ -11792,7 +11995,7 @@ class HSMDateTime final : public: void clear_unixepoch(); const ::proto::HSMDateTimeUnixEpoch& unixepoch() const; - PROTOBUF_MUST_USE_RESULT ::proto::HSMDateTimeUnixEpoch* release_unixepoch(); + PROTOBUF_NODISCARD ::proto::HSMDateTimeUnixEpoch* release_unixepoch(); ::proto::HSMDateTimeUnixEpoch* mutable_unixepoch(); void set_allocated_unixepoch(::proto::HSMDateTimeUnixEpoch* unixepoch); private: @@ -11817,15 +12020,18 @@ class HSMDateTime final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - union DatetimeOneofUnion { - constexpr DatetimeOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::proto::HSMDateTimeComponent* component_; - ::proto::HSMDateTimeUnixEpoch* unixepoch_; - } datetimeOneof_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; + struct Impl_ { + union DatetimeOneofUnion { + constexpr DatetimeOneofUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + ::proto::HSMDateTimeComponent* component_; + ::proto::HSMDateTimeUnixEpoch* unixepoch_; + } datetimeOneof_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t _oneof_case_[1]; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -11835,7 +12041,7 @@ class HSMLocalizableParameter final : public: inline HSMLocalizableParameter() : HSMLocalizableParameter(nullptr) {} ~HSMLocalizableParameter() override; - explicit constexpr HSMLocalizableParameter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR HSMLocalizableParameter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); HSMLocalizableParameter(const HSMLocalizableParameter& from); HSMLocalizableParameter(HSMLocalizableParameter&& from) noexcept @@ -11898,7 +12104,12 @@ class HSMLocalizableParameter final : } inline void Swap(HSMLocalizableParameter* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -11912,34 +12123,34 @@ class HSMLocalizableParameter final : // implements Message ---------------------------------------------- - inline HSMLocalizableParameter* New() const final { - return new HSMLocalizableParameter(); - } - - HSMLocalizableParameter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + HSMLocalizableParameter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const HSMLocalizableParameter& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const HSMLocalizableParameter& from); + void MergeFrom( const HSMLocalizableParameter& from) { + HSMLocalizableParameter::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(HSMLocalizableParameter* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.HSMLocalizableParameter"; @@ -11947,9 +12158,6 @@ class HSMLocalizableParameter final : protected: explicit HSMLocalizableParameter(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -11976,7 +12184,7 @@ class HSMLocalizableParameter final : template void set_default_(ArgT0&& arg0, ArgT... args); std::string* mutable_default_(); - PROTOBUF_MUST_USE_RESULT std::string* release_default_(); + PROTOBUF_NODISCARD std::string* release_default_(); void set_allocated_default_(std::string* default_); private: const std::string& _internal_default_() const; @@ -11991,7 +12199,7 @@ class HSMLocalizableParameter final : public: void clear_currency(); const ::proto::HSMCurrency& currency() const; - PROTOBUF_MUST_USE_RESULT ::proto::HSMCurrency* release_currency(); + PROTOBUF_NODISCARD ::proto::HSMCurrency* release_currency(); ::proto::HSMCurrency* mutable_currency(); void set_allocated_currency(::proto::HSMCurrency* currency); private: @@ -12009,7 +12217,7 @@ class HSMLocalizableParameter final : public: void clear_datetime(); const ::proto::HSMDateTime& datetime() const; - PROTOBUF_MUST_USE_RESULT ::proto::HSMDateTime* release_datetime(); + PROTOBUF_NODISCARD ::proto::HSMDateTime* release_datetime(); ::proto::HSMDateTime* mutable_datetime(); void set_allocated_datetime(::proto::HSMDateTime* datetime); private: @@ -12034,17 +12242,20 @@ class HSMLocalizableParameter final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default__; - union ParamOneofUnion { - constexpr ParamOneofUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::proto::HSMCurrency* currency_; - ::proto::HSMDateTime* datetime_; - } paramOneof_; - ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default__; + union ParamOneofUnion { + constexpr ParamOneofUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + ::proto::HSMCurrency* currency_; + ::proto::HSMDateTime* datetime_; + } paramOneof_; + uint32_t _oneof_case_[1]; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -12054,7 +12265,7 @@ class HighlyStructuredMessage final : public: inline HighlyStructuredMessage() : HighlyStructuredMessage(nullptr) {} ~HighlyStructuredMessage() override; - explicit constexpr HighlyStructuredMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR HighlyStructuredMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); HighlyStructuredMessage(const HighlyStructuredMessage& from); HighlyStructuredMessage(HighlyStructuredMessage&& from) noexcept @@ -12111,7 +12322,12 @@ class HighlyStructuredMessage final : } inline void Swap(HighlyStructuredMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -12125,34 +12341,34 @@ class HighlyStructuredMessage final : // implements Message ---------------------------------------------- - inline HighlyStructuredMessage* New() const final { - return new HighlyStructuredMessage(); - } - - HighlyStructuredMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + HighlyStructuredMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const HighlyStructuredMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const HighlyStructuredMessage& from); + void MergeFrom( const HighlyStructuredMessage& from) { + HighlyStructuredMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(HighlyStructuredMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.HighlyStructuredMessage"; @@ -12160,9 +12376,6 @@ class HighlyStructuredMessage final : protected: explicit HighlyStructuredMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -12237,7 +12450,7 @@ class HighlyStructuredMessage final : template void set_namespace_(ArgT0&& arg0, ArgT... args); std::string* mutable_namespace_(); - PROTOBUF_MUST_USE_RESULT std::string* release_namespace_(); + PROTOBUF_NODISCARD std::string* release_namespace_(); void set_allocated_namespace_(std::string* namespace_); private: const std::string& _internal_namespace_() const; @@ -12255,7 +12468,7 @@ class HighlyStructuredMessage final : template void set_elementname(ArgT0&& arg0, ArgT... args); std::string* mutable_elementname(); - PROTOBUF_MUST_USE_RESULT std::string* release_elementname(); + PROTOBUF_NODISCARD std::string* release_elementname(); void set_allocated_elementname(std::string* elementname); private: const std::string& _internal_elementname() const; @@ -12273,7 +12486,7 @@ class HighlyStructuredMessage final : template void set_fallbacklg(ArgT0&& arg0, ArgT... args); std::string* mutable_fallbacklg(); - PROTOBUF_MUST_USE_RESULT std::string* release_fallbacklg(); + PROTOBUF_NODISCARD std::string* release_fallbacklg(); void set_allocated_fallbacklg(std::string* fallbacklg); private: const std::string& _internal_fallbacklg() const; @@ -12291,7 +12504,7 @@ class HighlyStructuredMessage final : template void set_fallbacklc(ArgT0&& arg0, ArgT... args); std::string* mutable_fallbacklc(); - PROTOBUF_MUST_USE_RESULT std::string* release_fallbacklc(); + PROTOBUF_NODISCARD std::string* release_fallbacklc(); void set_allocated_fallbacklc(std::string* fallbacklc); private: const std::string& _internal_fallbacklc() const; @@ -12309,7 +12522,7 @@ class HighlyStructuredMessage final : template void set_deterministiclg(ArgT0&& arg0, ArgT... args); std::string* mutable_deterministiclg(); - PROTOBUF_MUST_USE_RESULT std::string* release_deterministiclg(); + PROTOBUF_NODISCARD std::string* release_deterministiclg(); void set_allocated_deterministiclg(std::string* deterministiclg); private: const std::string& _internal_deterministiclg() const; @@ -12327,7 +12540,7 @@ class HighlyStructuredMessage final : template void set_deterministiclc(ArgT0&& arg0, ArgT... args); std::string* mutable_deterministiclc(); - PROTOBUF_MUST_USE_RESULT std::string* release_deterministiclc(); + PROTOBUF_NODISCARD std::string* release_deterministiclc(); void set_allocated_deterministiclc(std::string* deterministiclc); private: const std::string& _internal_deterministiclc() const; @@ -12342,7 +12555,7 @@ class HighlyStructuredMessage final : public: void clear_hydratedhsm(); const ::proto::TemplateMessage& hydratedhsm() const; - PROTOBUF_MUST_USE_RESULT ::proto::TemplateMessage* release_hydratedhsm(); + PROTOBUF_NODISCARD ::proto::TemplateMessage* release_hydratedhsm(); ::proto::TemplateMessage* mutable_hydratedhsm(); void set_allocated_hydratedhsm(::proto::TemplateMessage* hydratedhsm); private: @@ -12360,17 +12573,20 @@ class HighlyStructuredMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField params_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::HSMLocalizableParameter > localizableparams_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr namespace__; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr elementname_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fallbacklg_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fallbacklc_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr deterministiclg_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr deterministiclc_; - ::proto::TemplateMessage* hydratedhsm_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField params_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::HSMLocalizableParameter > localizableparams_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr namespace__; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr elementname_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fallbacklg_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fallbacklc_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr deterministiclg_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr deterministiclc_; + ::proto::TemplateMessage* hydratedhsm_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -12380,7 +12596,7 @@ class SendPaymentMessage final : public: inline SendPaymentMessage() : SendPaymentMessage(nullptr) {} ~SendPaymentMessage() override; - explicit constexpr SendPaymentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR SendPaymentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SendPaymentMessage(const SendPaymentMessage& from); SendPaymentMessage(SendPaymentMessage&& from) noexcept @@ -12437,7 +12653,12 @@ class SendPaymentMessage final : } inline void Swap(SendPaymentMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -12451,34 +12672,34 @@ class SendPaymentMessage final : // implements Message ---------------------------------------------- - inline SendPaymentMessage* New() const final { - return new SendPaymentMessage(); - } - - SendPaymentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + SendPaymentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const SendPaymentMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const SendPaymentMessage& from); + void MergeFrom( const SendPaymentMessage& from) { + SendPaymentMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(SendPaymentMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.SendPaymentMessage"; @@ -12486,9 +12707,6 @@ class SendPaymentMessage final : protected: explicit SendPaymentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -12511,7 +12729,7 @@ class SendPaymentMessage final : public: void clear_notemessage(); const ::proto::Message& notemessage() const; - PROTOBUF_MUST_USE_RESULT ::proto::Message* release_notemessage(); + PROTOBUF_NODISCARD ::proto::Message* release_notemessage(); ::proto::Message* mutable_notemessage(); void set_allocated_notemessage(::proto::Message* notemessage); private: @@ -12529,7 +12747,7 @@ class SendPaymentMessage final : public: void clear_requestmessagekey(); const ::proto::MessageKey& requestmessagekey() const; - PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_requestmessagekey(); + PROTOBUF_NODISCARD ::proto::MessageKey* release_requestmessagekey(); ::proto::MessageKey* mutable_requestmessagekey(); void set_allocated_requestmessagekey(::proto::MessageKey* requestmessagekey); private: @@ -12547,10 +12765,13 @@ class SendPaymentMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::proto::Message* notemessage_; - ::proto::MessageKey* requestmessagekey_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::proto::Message* notemessage_; + ::proto::MessageKey* requestmessagekey_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -12560,7 +12781,7 @@ class RequestPaymentMessage final : public: inline RequestPaymentMessage() : RequestPaymentMessage(nullptr) {} ~RequestPaymentMessage() override; - explicit constexpr RequestPaymentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR RequestPaymentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); RequestPaymentMessage(const RequestPaymentMessage& from); RequestPaymentMessage(RequestPaymentMessage&& from) noexcept @@ -12617,7 +12838,12 @@ class RequestPaymentMessage final : } inline void Swap(RequestPaymentMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -12631,34 +12857,34 @@ class RequestPaymentMessage final : // implements Message ---------------------------------------------- - inline RequestPaymentMessage* New() const final { - return new RequestPaymentMessage(); - } - - RequestPaymentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + RequestPaymentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const RequestPaymentMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const RequestPaymentMessage& from); + void MergeFrom( const RequestPaymentMessage& from) { + RequestPaymentMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(RequestPaymentMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.RequestPaymentMessage"; @@ -12666,9 +12892,6 @@ class RequestPaymentMessage final : protected: explicit RequestPaymentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -12698,7 +12921,7 @@ class RequestPaymentMessage final : template void set_currencycodeiso4217(ArgT0&& arg0, ArgT... args); std::string* mutable_currencycodeiso4217(); - PROTOBUF_MUST_USE_RESULT std::string* release_currencycodeiso4217(); + PROTOBUF_NODISCARD std::string* release_currencycodeiso4217(); void set_allocated_currencycodeiso4217(std::string* currencycodeiso4217); private: const std::string& _internal_currencycodeiso4217() const; @@ -12716,7 +12939,7 @@ class RequestPaymentMessage final : template void set_requestfrom(ArgT0&& arg0, ArgT... args); std::string* mutable_requestfrom(); - PROTOBUF_MUST_USE_RESULT std::string* release_requestfrom(); + PROTOBUF_NODISCARD std::string* release_requestfrom(); void set_allocated_requestfrom(std::string* requestfrom); private: const std::string& _internal_requestfrom() const; @@ -12731,7 +12954,7 @@ class RequestPaymentMessage final : public: void clear_notemessage(); const ::proto::Message& notemessage() const; - PROTOBUF_MUST_USE_RESULT ::proto::Message* release_notemessage(); + PROTOBUF_NODISCARD ::proto::Message* release_notemessage(); ::proto::Message* mutable_notemessage(); void set_allocated_notemessage(::proto::Message* notemessage); private: @@ -12749,7 +12972,7 @@ class RequestPaymentMessage final : public: void clear_amount(); const ::proto::PaymentMoney& amount() const; - PROTOBUF_MUST_USE_RESULT ::proto::PaymentMoney* release_amount(); + PROTOBUF_NODISCARD ::proto::PaymentMoney* release_amount(); ::proto::PaymentMoney* mutable_amount(); void set_allocated_amount(::proto::PaymentMoney* amount); private: @@ -12766,11 +12989,11 @@ class RequestPaymentMessage final : bool _internal_has_amount1000() const; public: void clear_amount1000(); - ::PROTOBUF_NAMESPACE_ID::uint64 amount1000() const; - void set_amount1000(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t amount1000() const; + void set_amount1000(uint64_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint64 _internal_amount1000() const; - void _internal_set_amount1000(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t _internal_amount1000() const; + void _internal_set_amount1000(uint64_t value); public: // optional int64 expiryTimestamp = 5; @@ -12779,11 +13002,11 @@ class RequestPaymentMessage final : bool _internal_has_expirytimestamp() const; public: void clear_expirytimestamp(); - ::PROTOBUF_NAMESPACE_ID::int64 expirytimestamp() const; - void set_expirytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t expirytimestamp() const; + void set_expirytimestamp(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_expirytimestamp() const; - void _internal_set_expirytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_expirytimestamp() const; + void _internal_set_expirytimestamp(int64_t value); public: // @@protoc_insertion_point(class_scope:proto.RequestPaymentMessage) @@ -12793,14 +13016,17 @@ class RequestPaymentMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycodeiso4217_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr requestfrom_; - ::proto::Message* notemessage_; - ::proto::PaymentMoney* amount_; - ::PROTOBUF_NAMESPACE_ID::uint64 amount1000_; - ::PROTOBUF_NAMESPACE_ID::int64 expirytimestamp_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycodeiso4217_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr requestfrom_; + ::proto::Message* notemessage_; + ::proto::PaymentMoney* amount_; + uint64_t amount1000_; + int64_t expirytimestamp_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -12810,7 +13036,7 @@ class DeclinePaymentRequestMessage final : public: inline DeclinePaymentRequestMessage() : DeclinePaymentRequestMessage(nullptr) {} ~DeclinePaymentRequestMessage() override; - explicit constexpr DeclinePaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR DeclinePaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); DeclinePaymentRequestMessage(const DeclinePaymentRequestMessage& from); DeclinePaymentRequestMessage(DeclinePaymentRequestMessage&& from) noexcept @@ -12867,7 +13093,12 @@ class DeclinePaymentRequestMessage final : } inline void Swap(DeclinePaymentRequestMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -12881,34 +13112,34 @@ class DeclinePaymentRequestMessage final : // implements Message ---------------------------------------------- - inline DeclinePaymentRequestMessage* New() const final { - return new DeclinePaymentRequestMessage(); - } - - DeclinePaymentRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + DeclinePaymentRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const DeclinePaymentRequestMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DeclinePaymentRequestMessage& from); + void MergeFrom( const DeclinePaymentRequestMessage& from) { + DeclinePaymentRequestMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(DeclinePaymentRequestMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.DeclinePaymentRequestMessage"; @@ -12916,9 +13147,6 @@ class DeclinePaymentRequestMessage final : protected: explicit DeclinePaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -12940,7 +13168,7 @@ class DeclinePaymentRequestMessage final : public: void clear_key(); const ::proto::MessageKey& key() const; - PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_key(); + PROTOBUF_NODISCARD ::proto::MessageKey* release_key(); ::proto::MessageKey* mutable_key(); void set_allocated_key(::proto::MessageKey* key); private: @@ -12958,9 +13186,12 @@ class DeclinePaymentRequestMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::proto::MessageKey* key_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::proto::MessageKey* key_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -12970,7 +13201,7 @@ class CancelPaymentRequestMessage final : public: inline CancelPaymentRequestMessage() : CancelPaymentRequestMessage(nullptr) {} ~CancelPaymentRequestMessage() override; - explicit constexpr CancelPaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR CancelPaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CancelPaymentRequestMessage(const CancelPaymentRequestMessage& from); CancelPaymentRequestMessage(CancelPaymentRequestMessage&& from) noexcept @@ -13027,7 +13258,12 @@ class CancelPaymentRequestMessage final : } inline void Swap(CancelPaymentRequestMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -13041,34 +13277,34 @@ class CancelPaymentRequestMessage final : // implements Message ---------------------------------------------- - inline CancelPaymentRequestMessage* New() const final { - return new CancelPaymentRequestMessage(); - } - - CancelPaymentRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + CancelPaymentRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const CancelPaymentRequestMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const CancelPaymentRequestMessage& from); + void MergeFrom( const CancelPaymentRequestMessage& from) { + CancelPaymentRequestMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(CancelPaymentRequestMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.CancelPaymentRequestMessage"; @@ -13076,9 +13312,6 @@ class CancelPaymentRequestMessage final : protected: explicit CancelPaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -13100,7 +13333,7 @@ class CancelPaymentRequestMessage final : public: void clear_key(); const ::proto::MessageKey& key() const; - PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_key(); + PROTOBUF_NODISCARD ::proto::MessageKey* release_key(); ::proto::MessageKey* mutable_key(); void set_allocated_key(::proto::MessageKey* key); private: @@ -13118,9 +13351,12 @@ class CancelPaymentRequestMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::proto::MessageKey* key_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::proto::MessageKey* key_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -13130,7 +13366,7 @@ class LiveLocationMessage final : public: inline LiveLocationMessage() : LiveLocationMessage(nullptr) {} ~LiveLocationMessage() override; - explicit constexpr LiveLocationMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR LiveLocationMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); LiveLocationMessage(const LiveLocationMessage& from); LiveLocationMessage(LiveLocationMessage&& from) noexcept @@ -13187,7 +13423,12 @@ class LiveLocationMessage final : } inline void Swap(LiveLocationMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -13201,34 +13442,34 @@ class LiveLocationMessage final : // implements Message ---------------------------------------------- - inline LiveLocationMessage* New() const final { - return new LiveLocationMessage(); - } - - LiveLocationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + LiveLocationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const LiveLocationMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const LiveLocationMessage& from); + void MergeFrom( const LiveLocationMessage& from) { + LiveLocationMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(LiveLocationMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.LiveLocationMessage"; @@ -13236,9 +13477,6 @@ class LiveLocationMessage final : protected: explicit LiveLocationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -13272,7 +13510,7 @@ class LiveLocationMessage final : template void set_caption(ArgT0&& arg0, ArgT... args); std::string* mutable_caption(); - PROTOBUF_MUST_USE_RESULT std::string* release_caption(); + PROTOBUF_NODISCARD std::string* release_caption(); void set_allocated_caption(std::string* caption); private: const std::string& _internal_caption() const; @@ -13290,7 +13528,7 @@ class LiveLocationMessage final : template void set_jpegthumbnail(ArgT0&& arg0, ArgT... args); std::string* mutable_jpegthumbnail(); - PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail(); + PROTOBUF_NODISCARD std::string* release_jpegthumbnail(); void set_allocated_jpegthumbnail(std::string* jpegthumbnail); private: const std::string& _internal_jpegthumbnail() const; @@ -13305,7 +13543,7 @@ class LiveLocationMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -13348,11 +13586,11 @@ class LiveLocationMessage final : bool _internal_has_accuracyinmeters() const; public: void clear_accuracyinmeters(); - ::PROTOBUF_NAMESPACE_ID::uint32 accuracyinmeters() const; - void set_accuracyinmeters(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t accuracyinmeters() const; + void set_accuracyinmeters(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_accuracyinmeters() const; - void _internal_set_accuracyinmeters(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_accuracyinmeters() const; + void _internal_set_accuracyinmeters(uint32_t value); public: // optional float speedInMps = 4; @@ -13374,11 +13612,11 @@ class LiveLocationMessage final : bool _internal_has_degreesclockwisefrommagneticnorth() const; public: void clear_degreesclockwisefrommagneticnorth(); - ::PROTOBUF_NAMESPACE_ID::uint32 degreesclockwisefrommagneticnorth() const; - void set_degreesclockwisefrommagneticnorth(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t degreesclockwisefrommagneticnorth() const; + void set_degreesclockwisefrommagneticnorth(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_degreesclockwisefrommagneticnorth() const; - void _internal_set_degreesclockwisefrommagneticnorth(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_degreesclockwisefrommagneticnorth() const; + void _internal_set_degreesclockwisefrommagneticnorth(uint32_t value); public: // optional uint32 timeOffset = 8; @@ -13387,11 +13625,11 @@ class LiveLocationMessage final : bool _internal_has_timeoffset() const; public: void clear_timeoffset(); - ::PROTOBUF_NAMESPACE_ID::uint32 timeoffset() const; - void set_timeoffset(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t timeoffset() const; + void set_timeoffset(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_timeoffset() const; - void _internal_set_timeoffset(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_timeoffset() const; + void _internal_set_timeoffset(uint32_t value); public: // optional int64 sequenceNumber = 7; @@ -13400,11 +13638,11 @@ class LiveLocationMessage final : bool _internal_has_sequencenumber() const; public: void clear_sequencenumber(); - ::PROTOBUF_NAMESPACE_ID::int64 sequencenumber() const; - void set_sequencenumber(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t sequencenumber() const; + void set_sequencenumber(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_sequencenumber() const; - void _internal_set_sequencenumber(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_sequencenumber() const; + void _internal_set_sequencenumber(int64_t value); public: // @@protoc_insertion_point(class_scope:proto.LiveLocationMessage) @@ -13414,18 +13652,21 @@ class LiveLocationMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; - ::proto::ContextInfo* contextinfo_; - double degreeslatitude_; - double degreeslongitude_; - ::PROTOBUF_NAMESPACE_ID::uint32 accuracyinmeters_; - float speedinmps_; - ::PROTOBUF_NAMESPACE_ID::uint32 degreesclockwisefrommagneticnorth_; - ::PROTOBUF_NAMESPACE_ID::uint32 timeoffset_; - ::PROTOBUF_NAMESPACE_ID::int64 sequencenumber_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; + ::proto::ContextInfo* contextinfo_; + double degreeslatitude_; + double degreeslongitude_; + uint32_t accuracyinmeters_; + float speedinmps_; + uint32_t degreesclockwisefrommagneticnorth_; + uint32_t timeoffset_; + int64_t sequencenumber_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -13435,7 +13676,7 @@ class StickerMessage final : public: inline StickerMessage() : StickerMessage(nullptr) {} ~StickerMessage() override; - explicit constexpr StickerMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR StickerMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); StickerMessage(const StickerMessage& from); StickerMessage(StickerMessage&& from) noexcept @@ -13492,7 +13733,12 @@ class StickerMessage final : } inline void Swap(StickerMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -13506,34 +13752,34 @@ class StickerMessage final : // implements Message ---------------------------------------------- - inline StickerMessage* New() const final { - return new StickerMessage(); - } - - StickerMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + StickerMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const StickerMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const StickerMessage& from); + void MergeFrom( const StickerMessage& from) { + StickerMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(StickerMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.StickerMessage"; @@ -13541,9 +13787,6 @@ class StickerMessage final : protected: explicit StickerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -13582,7 +13825,7 @@ class StickerMessage final : template void set_url(ArgT0&& arg0, ArgT... args); std::string* mutable_url(); - PROTOBUF_MUST_USE_RESULT std::string* release_url(); + PROTOBUF_NODISCARD std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; @@ -13600,7 +13843,7 @@ class StickerMessage final : template void set_filesha256(ArgT0&& arg0, ArgT... args); std::string* mutable_filesha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_filesha256(); + PROTOBUF_NODISCARD std::string* release_filesha256(); void set_allocated_filesha256(std::string* filesha256); private: const std::string& _internal_filesha256() const; @@ -13618,7 +13861,7 @@ class StickerMessage final : template void set_fileencsha256(ArgT0&& arg0, ArgT... args); std::string* mutable_fileencsha256(); - PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256(); + PROTOBUF_NODISCARD std::string* release_fileencsha256(); void set_allocated_fileencsha256(std::string* fileencsha256); private: const std::string& _internal_fileencsha256() const; @@ -13636,7 +13879,7 @@ class StickerMessage final : template void set_mediakey(ArgT0&& arg0, ArgT... args); std::string* mutable_mediakey(); - PROTOBUF_MUST_USE_RESULT std::string* release_mediakey(); + PROTOBUF_NODISCARD std::string* release_mediakey(); void set_allocated_mediakey(std::string* mediakey); private: const std::string& _internal_mediakey() const; @@ -13654,7 +13897,7 @@ class StickerMessage final : template void set_mimetype(ArgT0&& arg0, ArgT... args); std::string* mutable_mimetype(); - PROTOBUF_MUST_USE_RESULT std::string* release_mimetype(); + PROTOBUF_NODISCARD std::string* release_mimetype(); void set_allocated_mimetype(std::string* mimetype); private: const std::string& _internal_mimetype() const; @@ -13672,7 +13915,7 @@ class StickerMessage final : template void set_directpath(ArgT0&& arg0, ArgT... args); std::string* mutable_directpath(); - PROTOBUF_MUST_USE_RESULT std::string* release_directpath(); + PROTOBUF_NODISCARD std::string* release_directpath(); void set_allocated_directpath(std::string* directpath); private: const std::string& _internal_directpath() const; @@ -13690,7 +13933,7 @@ class StickerMessage final : template void set_firstframesidecar(ArgT0&& arg0, ArgT... args); std::string* mutable_firstframesidecar(); - PROTOBUF_MUST_USE_RESULT std::string* release_firstframesidecar(); + PROTOBUF_NODISCARD std::string* release_firstframesidecar(); void set_allocated_firstframesidecar(std::string* firstframesidecar); private: const std::string& _internal_firstframesidecar() const; @@ -13708,7 +13951,7 @@ class StickerMessage final : template void set_pngthumbnail(ArgT0&& arg0, ArgT... args); std::string* mutable_pngthumbnail(); - PROTOBUF_MUST_USE_RESULT std::string* release_pngthumbnail(); + PROTOBUF_NODISCARD std::string* release_pngthumbnail(); void set_allocated_pngthumbnail(std::string* pngthumbnail); private: const std::string& _internal_pngthumbnail() const; @@ -13723,7 +13966,7 @@ class StickerMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -13740,11 +13983,11 @@ class StickerMessage final : bool _internal_has_height() const; public: void clear_height(); - ::PROTOBUF_NAMESPACE_ID::uint32 height() const; - void set_height(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t height() const; + void set_height(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_height() const; - void _internal_set_height(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_height() const; + void _internal_set_height(uint32_t value); public: // optional uint32 width = 7; @@ -13753,11 +13996,11 @@ class StickerMessage final : bool _internal_has_width() const; public: void clear_width(); - ::PROTOBUF_NAMESPACE_ID::uint32 width() const; - void set_width(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t width() const; + void set_width(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_width() const; - void _internal_set_width(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_width() const; + void _internal_set_width(uint32_t value); public: // optional uint64 fileLength = 9; @@ -13766,11 +14009,11 @@ class StickerMessage final : bool _internal_has_filelength() const; public: void clear_filelength(); - ::PROTOBUF_NAMESPACE_ID::uint64 filelength() const; - void set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t filelength() const; + void set_filelength(uint64_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint64 _internal_filelength() const; - void _internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value); + uint64_t _internal_filelength() const; + void _internal_set_filelength(uint64_t value); public: // optional int64 mediaKeyTimestamp = 10; @@ -13779,11 +14022,11 @@ class StickerMessage final : bool _internal_has_mediakeytimestamp() const; public: void clear_mediakeytimestamp(); - ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp() const; - void set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t mediakeytimestamp() const; + void set_mediakeytimestamp(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_mediakeytimestamp() const; - void _internal_set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_mediakeytimestamp() const; + void _internal_set_mediakeytimestamp(int64_t value); public: // optional uint32 firstFrameLength = 11; @@ -13792,11 +14035,11 @@ class StickerMessage final : bool _internal_has_firstframelength() const; public: void clear_firstframelength(); - ::PROTOBUF_NAMESPACE_ID::uint32 firstframelength() const; - void set_firstframelength(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t firstframelength() const; + void set_firstframelength(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_firstframelength() const; - void _internal_set_firstframelength(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_firstframelength() const; + void _internal_set_firstframelength(uint32_t value); public: // optional bool isAnimated = 13; @@ -13819,23 +14062,26 @@ class StickerMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr firstframesidecar_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pngthumbnail_; - ::proto::ContextInfo* contextinfo_; - ::PROTOBUF_NAMESPACE_ID::uint32 height_; - ::PROTOBUF_NAMESPACE_ID::uint32 width_; - ::PROTOBUF_NAMESPACE_ID::uint64 filelength_; - ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp_; - ::PROTOBUF_NAMESPACE_ID::uint32 firstframelength_; - bool isanimated_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr firstframesidecar_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pngthumbnail_; + ::proto::ContextInfo* contextinfo_; + uint32_t height_; + uint32_t width_; + uint64_t filelength_; + int64_t mediakeytimestamp_; + uint32_t firstframelength_; + bool isanimated_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -13845,7 +14091,7 @@ class FourRowTemplate final : public: inline FourRowTemplate() : FourRowTemplate(nullptr) {} ~FourRowTemplate() override; - explicit constexpr FourRowTemplate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR FourRowTemplate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); FourRowTemplate(const FourRowTemplate& from); FourRowTemplate(FourRowTemplate&& from) noexcept @@ -13911,7 +14157,12 @@ class FourRowTemplate final : } inline void Swap(FourRowTemplate* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -13925,34 +14176,34 @@ class FourRowTemplate final : // implements Message ---------------------------------------------- - inline FourRowTemplate* New() const final { - return new FourRowTemplate(); - } - - FourRowTemplate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + FourRowTemplate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const FourRowTemplate& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const FourRowTemplate& from); + void MergeFrom( const FourRowTemplate& from) { + FourRowTemplate::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(FourRowTemplate* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.FourRowTemplate"; @@ -13960,9 +14211,6 @@ class FourRowTemplate final : protected: explicit FourRowTemplate(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -14009,7 +14257,7 @@ class FourRowTemplate final : public: void clear_content(); const ::proto::HighlyStructuredMessage& content() const; - PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_content(); + PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_content(); ::proto::HighlyStructuredMessage* mutable_content(); void set_allocated_content(::proto::HighlyStructuredMessage* content); private: @@ -14027,7 +14275,7 @@ class FourRowTemplate final : public: void clear_footer(); const ::proto::HighlyStructuredMessage& footer() const; - PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_footer(); + PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_footer(); ::proto::HighlyStructuredMessage* mutable_footer(); void set_allocated_footer(::proto::HighlyStructuredMessage* footer); private: @@ -14045,7 +14293,7 @@ class FourRowTemplate final : public: void clear_documentmessage(); const ::proto::DocumentMessage& documentmessage() const; - PROTOBUF_MUST_USE_RESULT ::proto::DocumentMessage* release_documentmessage(); + PROTOBUF_NODISCARD ::proto::DocumentMessage* release_documentmessage(); ::proto::DocumentMessage* mutable_documentmessage(); void set_allocated_documentmessage(::proto::DocumentMessage* documentmessage); private: @@ -14063,7 +14311,7 @@ class FourRowTemplate final : public: void clear_highlystructuredmessage(); const ::proto::HighlyStructuredMessage& highlystructuredmessage() const; - PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_highlystructuredmessage(); + PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_highlystructuredmessage(); ::proto::HighlyStructuredMessage* mutable_highlystructuredmessage(); void set_allocated_highlystructuredmessage(::proto::HighlyStructuredMessage* highlystructuredmessage); private: @@ -14081,7 +14329,7 @@ class FourRowTemplate final : public: void clear_imagemessage(); const ::proto::ImageMessage& imagemessage() const; - PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_imagemessage(); + PROTOBUF_NODISCARD ::proto::ImageMessage* release_imagemessage(); ::proto::ImageMessage* mutable_imagemessage(); void set_allocated_imagemessage(::proto::ImageMessage* imagemessage); private: @@ -14099,7 +14347,7 @@ class FourRowTemplate final : public: void clear_videomessage(); const ::proto::VideoMessage& videomessage() const; - PROTOBUF_MUST_USE_RESULT ::proto::VideoMessage* release_videomessage(); + PROTOBUF_NODISCARD ::proto::VideoMessage* release_videomessage(); ::proto::VideoMessage* mutable_videomessage(); void set_allocated_videomessage(::proto::VideoMessage* videomessage); private: @@ -14117,7 +14365,7 @@ class FourRowTemplate final : public: void clear_locationmessage(); const ::proto::LocationMessage& locationmessage() const; - PROTOBUF_MUST_USE_RESULT ::proto::LocationMessage* release_locationmessage(); + PROTOBUF_NODISCARD ::proto::LocationMessage* release_locationmessage(); ::proto::LocationMessage* mutable_locationmessage(); void set_allocated_locationmessage(::proto::LocationMessage* locationmessage); private: @@ -14145,22 +14393,25 @@ class FourRowTemplate final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::TemplateButton > buttons_; - ::proto::HighlyStructuredMessage* content_; - ::proto::HighlyStructuredMessage* footer_; - union TitleUnion { - constexpr TitleUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::proto::DocumentMessage* documentmessage_; - ::proto::HighlyStructuredMessage* highlystructuredmessage_; - ::proto::ImageMessage* imagemessage_; - ::proto::VideoMessage* videomessage_; - ::proto::LocationMessage* locationmessage_; - } title_; - ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::TemplateButton > buttons_; + ::proto::HighlyStructuredMessage* content_; + ::proto::HighlyStructuredMessage* footer_; + union TitleUnion { + constexpr TitleUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + ::proto::DocumentMessage* documentmessage_; + ::proto::HighlyStructuredMessage* highlystructuredmessage_; + ::proto::ImageMessage* imagemessage_; + ::proto::VideoMessage* videomessage_; + ::proto::LocationMessage* locationmessage_; + } title_; + uint32_t _oneof_case_[1]; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -14170,7 +14421,7 @@ class HydratedFourRowTemplate final : public: inline HydratedFourRowTemplate() : HydratedFourRowTemplate(nullptr) {} ~HydratedFourRowTemplate() override; - explicit constexpr HydratedFourRowTemplate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR HydratedFourRowTemplate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); HydratedFourRowTemplate(const HydratedFourRowTemplate& from); HydratedFourRowTemplate(HydratedFourRowTemplate&& from) noexcept @@ -14236,7 +14487,12 @@ class HydratedFourRowTemplate final : } inline void Swap(HydratedFourRowTemplate* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -14250,34 +14506,34 @@ class HydratedFourRowTemplate final : // implements Message ---------------------------------------------- - inline HydratedFourRowTemplate* New() const final { - return new HydratedFourRowTemplate(); - } - - HydratedFourRowTemplate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + HydratedFourRowTemplate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const HydratedFourRowTemplate& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const HydratedFourRowTemplate& from); + void MergeFrom( const HydratedFourRowTemplate& from) { + HydratedFourRowTemplate::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(HydratedFourRowTemplate* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.HydratedFourRowTemplate"; @@ -14285,9 +14541,6 @@ class HydratedFourRowTemplate final : protected: explicit HydratedFourRowTemplate(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -14338,7 +14591,7 @@ class HydratedFourRowTemplate final : template void set_hydratedcontenttext(ArgT0&& arg0, ArgT... args); std::string* mutable_hydratedcontenttext(); - PROTOBUF_MUST_USE_RESULT std::string* release_hydratedcontenttext(); + PROTOBUF_NODISCARD std::string* release_hydratedcontenttext(); void set_allocated_hydratedcontenttext(std::string* hydratedcontenttext); private: const std::string& _internal_hydratedcontenttext() const; @@ -14356,7 +14609,7 @@ class HydratedFourRowTemplate final : template void set_hydratedfootertext(ArgT0&& arg0, ArgT... args); std::string* mutable_hydratedfootertext(); - PROTOBUF_MUST_USE_RESULT std::string* release_hydratedfootertext(); + PROTOBUF_NODISCARD std::string* release_hydratedfootertext(); void set_allocated_hydratedfootertext(std::string* hydratedfootertext); private: const std::string& _internal_hydratedfootertext() const; @@ -14374,7 +14627,7 @@ class HydratedFourRowTemplate final : template void set_templateid(ArgT0&& arg0, ArgT... args); std::string* mutable_templateid(); - PROTOBUF_MUST_USE_RESULT std::string* release_templateid(); + PROTOBUF_NODISCARD std::string* release_templateid(); void set_allocated_templateid(std::string* templateid); private: const std::string& _internal_templateid() const; @@ -14389,7 +14642,7 @@ class HydratedFourRowTemplate final : public: void clear_documentmessage(); const ::proto::DocumentMessage& documentmessage() const; - PROTOBUF_MUST_USE_RESULT ::proto::DocumentMessage* release_documentmessage(); + PROTOBUF_NODISCARD ::proto::DocumentMessage* release_documentmessage(); ::proto::DocumentMessage* mutable_documentmessage(); void set_allocated_documentmessage(::proto::DocumentMessage* documentmessage); private: @@ -14410,7 +14663,7 @@ class HydratedFourRowTemplate final : template void set_hydratedtitletext(ArgT0&& arg0, ArgT... args); std::string* mutable_hydratedtitletext(); - PROTOBUF_MUST_USE_RESULT std::string* release_hydratedtitletext(); + PROTOBUF_NODISCARD std::string* release_hydratedtitletext(); void set_allocated_hydratedtitletext(std::string* hydratedtitletext); private: const std::string& _internal_hydratedtitletext() const; @@ -14425,7 +14678,7 @@ class HydratedFourRowTemplate final : public: void clear_imagemessage(); const ::proto::ImageMessage& imagemessage() const; - PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_imagemessage(); + PROTOBUF_NODISCARD ::proto::ImageMessage* release_imagemessage(); ::proto::ImageMessage* mutable_imagemessage(); void set_allocated_imagemessage(::proto::ImageMessage* imagemessage); private: @@ -14443,7 +14696,7 @@ class HydratedFourRowTemplate final : public: void clear_videomessage(); const ::proto::VideoMessage& videomessage() const; - PROTOBUF_MUST_USE_RESULT ::proto::VideoMessage* release_videomessage(); + PROTOBUF_NODISCARD ::proto::VideoMessage* release_videomessage(); ::proto::VideoMessage* mutable_videomessage(); void set_allocated_videomessage(::proto::VideoMessage* videomessage); private: @@ -14461,7 +14714,7 @@ class HydratedFourRowTemplate final : public: void clear_locationmessage(); const ::proto::LocationMessage& locationmessage() const; - PROTOBUF_MUST_USE_RESULT ::proto::LocationMessage* release_locationmessage(); + PROTOBUF_NODISCARD ::proto::LocationMessage* release_locationmessage(); ::proto::LocationMessage* mutable_locationmessage(); void set_allocated_locationmessage(::proto::LocationMessage* locationmessage); private: @@ -14489,23 +14742,26 @@ class HydratedFourRowTemplate final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::HydratedTemplateButton > hydratedbuttons_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hydratedcontenttext_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hydratedfootertext_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr templateid_; - union TitleUnion { - constexpr TitleUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::proto::DocumentMessage* documentmessage_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hydratedtitletext_; - ::proto::ImageMessage* imagemessage_; - ::proto::VideoMessage* videomessage_; - ::proto::LocationMessage* locationmessage_; - } title_; - ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::HydratedTemplateButton > hydratedbuttons_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hydratedcontenttext_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hydratedfootertext_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr templateid_; + union TitleUnion { + constexpr TitleUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + ::proto::DocumentMessage* documentmessage_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hydratedtitletext_; + ::proto::ImageMessage* imagemessage_; + ::proto::VideoMessage* videomessage_; + ::proto::LocationMessage* locationmessage_; + } title_; + uint32_t _oneof_case_[1]; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -14515,7 +14771,7 @@ class TemplateMessage final : public: inline TemplateMessage() : TemplateMessage(nullptr) {} ~TemplateMessage() override; - explicit constexpr TemplateMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR TemplateMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); TemplateMessage(const TemplateMessage& from); TemplateMessage(TemplateMessage&& from) noexcept @@ -14578,7 +14834,12 @@ class TemplateMessage final : } inline void Swap(TemplateMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -14592,34 +14853,34 @@ class TemplateMessage final : // implements Message ---------------------------------------------- - inline TemplateMessage* New() const final { - return new TemplateMessage(); - } - - TemplateMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + TemplateMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const TemplateMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const TemplateMessage& from); + void MergeFrom( const TemplateMessage& from) { + TemplateMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(TemplateMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.TemplateMessage"; @@ -14627,9 +14888,6 @@ class TemplateMessage final : protected: explicit TemplateMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -14654,7 +14912,7 @@ class TemplateMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -14672,7 +14930,7 @@ class TemplateMessage final : public: void clear_hydratedtemplate(); const ::proto::HydratedFourRowTemplate& hydratedtemplate() const; - PROTOBUF_MUST_USE_RESULT ::proto::HydratedFourRowTemplate* release_hydratedtemplate(); + PROTOBUF_NODISCARD ::proto::HydratedFourRowTemplate* release_hydratedtemplate(); ::proto::HydratedFourRowTemplate* mutable_hydratedtemplate(); void set_allocated_hydratedtemplate(::proto::HydratedFourRowTemplate* hydratedtemplate); private: @@ -14690,7 +14948,7 @@ class TemplateMessage final : public: void clear_fourrowtemplate(); const ::proto::FourRowTemplate& fourrowtemplate() const; - PROTOBUF_MUST_USE_RESULT ::proto::FourRowTemplate* release_fourrowtemplate(); + PROTOBUF_NODISCARD ::proto::FourRowTemplate* release_fourrowtemplate(); ::proto::FourRowTemplate* mutable_fourrowtemplate(); void set_allocated_fourrowtemplate(::proto::FourRowTemplate* fourrowtemplate); private: @@ -14708,7 +14966,7 @@ class TemplateMessage final : public: void clear_hydratedfourrowtemplate(); const ::proto::HydratedFourRowTemplate& hydratedfourrowtemplate() const; - PROTOBUF_MUST_USE_RESULT ::proto::HydratedFourRowTemplate* release_hydratedfourrowtemplate(); + PROTOBUF_NODISCARD ::proto::HydratedFourRowTemplate* release_hydratedfourrowtemplate(); ::proto::HydratedFourRowTemplate* mutable_hydratedfourrowtemplate(); void set_allocated_hydratedfourrowtemplate(::proto::HydratedFourRowTemplate* hydratedfourrowtemplate); private: @@ -14733,18 +14991,21 @@ class TemplateMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::proto::ContextInfo* contextinfo_; - ::proto::HydratedFourRowTemplate* hydratedtemplate_; - union FormatUnion { - constexpr FormatUnion() : _constinit_{} {} - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::proto::FourRowTemplate* fourrowtemplate_; - ::proto::HydratedFourRowTemplate* hydratedfourrowtemplate_; - } format_; - ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::proto::ContextInfo* contextinfo_; + ::proto::HydratedFourRowTemplate* hydratedtemplate_; + union FormatUnion { + constexpr FormatUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + ::proto::FourRowTemplate* fourrowtemplate_; + ::proto::HydratedFourRowTemplate* hydratedfourrowtemplate_; + } format_; + uint32_t _oneof_case_[1]; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -14754,7 +15015,7 @@ class TemplateButtonReplyMessage final : public: inline TemplateButtonReplyMessage() : TemplateButtonReplyMessage(nullptr) {} ~TemplateButtonReplyMessage() override; - explicit constexpr TemplateButtonReplyMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR TemplateButtonReplyMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); TemplateButtonReplyMessage(const TemplateButtonReplyMessage& from); TemplateButtonReplyMessage(TemplateButtonReplyMessage&& from) noexcept @@ -14811,7 +15072,12 @@ class TemplateButtonReplyMessage final : } inline void Swap(TemplateButtonReplyMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -14825,34 +15091,34 @@ class TemplateButtonReplyMessage final : // implements Message ---------------------------------------------- - inline TemplateButtonReplyMessage* New() const final { - return new TemplateButtonReplyMessage(); - } - - TemplateButtonReplyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + TemplateButtonReplyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const TemplateButtonReplyMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const TemplateButtonReplyMessage& from); + void MergeFrom( const TemplateButtonReplyMessage& from) { + TemplateButtonReplyMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(TemplateButtonReplyMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.TemplateButtonReplyMessage"; @@ -14860,9 +15126,6 @@ class TemplateButtonReplyMessage final : protected: explicit TemplateButtonReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -14890,7 +15153,7 @@ class TemplateButtonReplyMessage final : template void set_selectedid(ArgT0&& arg0, ArgT... args); std::string* mutable_selectedid(); - PROTOBUF_MUST_USE_RESULT std::string* release_selectedid(); + PROTOBUF_NODISCARD std::string* release_selectedid(); void set_allocated_selectedid(std::string* selectedid); private: const std::string& _internal_selectedid() const; @@ -14908,7 +15171,7 @@ class TemplateButtonReplyMessage final : template void set_selecteddisplaytext(ArgT0&& arg0, ArgT... args); std::string* mutable_selecteddisplaytext(); - PROTOBUF_MUST_USE_RESULT std::string* release_selecteddisplaytext(); + PROTOBUF_NODISCARD std::string* release_selecteddisplaytext(); void set_allocated_selecteddisplaytext(std::string* selecteddisplaytext); private: const std::string& _internal_selecteddisplaytext() const; @@ -14923,7 +15186,7 @@ class TemplateButtonReplyMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -14940,11 +15203,11 @@ class TemplateButtonReplyMessage final : bool _internal_has_selectedindex() const; public: void clear_selectedindex(); - ::PROTOBUF_NAMESPACE_ID::uint32 selectedindex() const; - void set_selectedindex(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t selectedindex() const; + void set_selectedindex(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_selectedindex() const; - void _internal_set_selectedindex(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_selectedindex() const; + void _internal_set_selectedindex(uint32_t value); public: // @@protoc_insertion_point(class_scope:proto.TemplateButtonReplyMessage) @@ -14954,12 +15217,15 @@ class TemplateButtonReplyMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selectedid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selecteddisplaytext_; - ::proto::ContextInfo* contextinfo_; - ::PROTOBUF_NAMESPACE_ID::uint32 selectedindex_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selectedid_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selecteddisplaytext_; + ::proto::ContextInfo* contextinfo_; + uint32_t selectedindex_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -14969,7 +15235,7 @@ class CatalogSnapshot final : public: inline CatalogSnapshot() : CatalogSnapshot(nullptr) {} ~CatalogSnapshot() override; - explicit constexpr CatalogSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR CatalogSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CatalogSnapshot(const CatalogSnapshot& from); CatalogSnapshot(CatalogSnapshot&& from) noexcept @@ -15026,7 +15292,12 @@ class CatalogSnapshot final : } inline void Swap(CatalogSnapshot* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -15040,34 +15311,34 @@ class CatalogSnapshot final : // implements Message ---------------------------------------------- - inline CatalogSnapshot* New() const final { - return new CatalogSnapshot(); - } - - CatalogSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + CatalogSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const CatalogSnapshot& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const CatalogSnapshot& from); + void MergeFrom( const CatalogSnapshot& from) { + CatalogSnapshot::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(CatalogSnapshot* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.CatalogSnapshot"; @@ -15075,9 +15346,6 @@ class CatalogSnapshot final : protected: explicit CatalogSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -15104,7 +15372,7 @@ class CatalogSnapshot final : template void set_title(ArgT0&& arg0, ArgT... args); std::string* mutable_title(); - PROTOBUF_MUST_USE_RESULT std::string* release_title(); + PROTOBUF_NODISCARD std::string* release_title(); void set_allocated_title(std::string* title); private: const std::string& _internal_title() const; @@ -15122,7 +15390,7 @@ class CatalogSnapshot final : template void set_description(ArgT0&& arg0, ArgT... args); std::string* mutable_description(); - PROTOBUF_MUST_USE_RESULT std::string* release_description(); + PROTOBUF_NODISCARD std::string* release_description(); void set_allocated_description(std::string* description); private: const std::string& _internal_description() const; @@ -15137,7 +15405,7 @@ class CatalogSnapshot final : public: void clear_catalogimage(); const ::proto::ImageMessage& catalogimage() const; - PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_catalogimage(); + PROTOBUF_NODISCARD ::proto::ImageMessage* release_catalogimage(); ::proto::ImageMessage* mutable_catalogimage(); void set_allocated_catalogimage(::proto::ImageMessage* catalogimage); private: @@ -15155,11 +15423,14 @@ class CatalogSnapshot final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; - ::proto::ImageMessage* catalogimage_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; + ::proto::ImageMessage* catalogimage_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -15169,7 +15440,7 @@ class ProductSnapshot final : public: inline ProductSnapshot() : ProductSnapshot(nullptr) {} ~ProductSnapshot() override; - explicit constexpr ProductSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR ProductSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ProductSnapshot(const ProductSnapshot& from); ProductSnapshot(ProductSnapshot&& from) noexcept @@ -15226,7 +15497,12 @@ class ProductSnapshot final : } inline void Swap(ProductSnapshot* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -15240,34 +15516,34 @@ class ProductSnapshot final : // implements Message ---------------------------------------------- - inline ProductSnapshot* New() const final { - return new ProductSnapshot(); - } - - ProductSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ProductSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const ProductSnapshot& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ProductSnapshot& from); + void MergeFrom( const ProductSnapshot& from) { + ProductSnapshot::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(ProductSnapshot* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.ProductSnapshot"; @@ -15275,9 +15551,6 @@ class ProductSnapshot final : protected: explicit ProductSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -15311,7 +15584,7 @@ class ProductSnapshot final : template void set_productid(ArgT0&& arg0, ArgT... args); std::string* mutable_productid(); - PROTOBUF_MUST_USE_RESULT std::string* release_productid(); + PROTOBUF_NODISCARD std::string* release_productid(); void set_allocated_productid(std::string* productid); private: const std::string& _internal_productid() const; @@ -15329,7 +15602,7 @@ class ProductSnapshot final : template void set_title(ArgT0&& arg0, ArgT... args); std::string* mutable_title(); - PROTOBUF_MUST_USE_RESULT std::string* release_title(); + PROTOBUF_NODISCARD std::string* release_title(); void set_allocated_title(std::string* title); private: const std::string& _internal_title() const; @@ -15347,7 +15620,7 @@ class ProductSnapshot final : template void set_description(ArgT0&& arg0, ArgT... args); std::string* mutable_description(); - PROTOBUF_MUST_USE_RESULT std::string* release_description(); + PROTOBUF_NODISCARD std::string* release_description(); void set_allocated_description(std::string* description); private: const std::string& _internal_description() const; @@ -15365,7 +15638,7 @@ class ProductSnapshot final : template void set_currencycode(ArgT0&& arg0, ArgT... args); std::string* mutable_currencycode(); - PROTOBUF_MUST_USE_RESULT std::string* release_currencycode(); + PROTOBUF_NODISCARD std::string* release_currencycode(); void set_allocated_currencycode(std::string* currencycode); private: const std::string& _internal_currencycode() const; @@ -15383,7 +15656,7 @@ class ProductSnapshot final : template void set_retailerid(ArgT0&& arg0, ArgT... args); std::string* mutable_retailerid(); - PROTOBUF_MUST_USE_RESULT std::string* release_retailerid(); + PROTOBUF_NODISCARD std::string* release_retailerid(); void set_allocated_retailerid(std::string* retailerid); private: const std::string& _internal_retailerid() const; @@ -15401,7 +15674,7 @@ class ProductSnapshot final : template void set_url(ArgT0&& arg0, ArgT... args); std::string* mutable_url(); - PROTOBUF_MUST_USE_RESULT std::string* release_url(); + PROTOBUF_NODISCARD std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; @@ -15419,7 +15692,7 @@ class ProductSnapshot final : template void set_firstimageid(ArgT0&& arg0, ArgT... args); std::string* mutable_firstimageid(); - PROTOBUF_MUST_USE_RESULT std::string* release_firstimageid(); + PROTOBUF_NODISCARD std::string* release_firstimageid(); void set_allocated_firstimageid(std::string* firstimageid); private: const std::string& _internal_firstimageid() const; @@ -15434,7 +15707,7 @@ class ProductSnapshot final : public: void clear_productimage(); const ::proto::ImageMessage& productimage() const; - PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_productimage(); + PROTOBUF_NODISCARD ::proto::ImageMessage* release_productimage(); ::proto::ImageMessage* mutable_productimage(); void set_allocated_productimage(::proto::ImageMessage* productimage); private: @@ -15451,11 +15724,11 @@ class ProductSnapshot final : bool _internal_has_priceamount1000() const; public: void clear_priceamount1000(); - ::PROTOBUF_NAMESPACE_ID::int64 priceamount1000() const; - void set_priceamount1000(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t priceamount1000() const; + void set_priceamount1000(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_priceamount1000() const; - void _internal_set_priceamount1000(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_priceamount1000() const; + void _internal_set_priceamount1000(int64_t value); public: // optional uint32 productImageCount = 9; @@ -15464,11 +15737,11 @@ class ProductSnapshot final : bool _internal_has_productimagecount() const; public: void clear_productimagecount(); - ::PROTOBUF_NAMESPACE_ID::uint32 productimagecount() const; - void set_productimagecount(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t productimagecount() const; + void set_productimagecount(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_productimagecount() const; - void _internal_set_productimagecount(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_productimagecount() const; + void _internal_set_productimagecount(uint32_t value); public: // @@protoc_insertion_point(class_scope:proto.ProductSnapshot) @@ -15478,18 +15751,21 @@ class ProductSnapshot final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr productid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycode_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr retailerid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr firstimageid_; - ::proto::ImageMessage* productimage_; - ::PROTOBUF_NAMESPACE_ID::int64 priceamount1000_; - ::PROTOBUF_NAMESPACE_ID::uint32 productimagecount_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr productid_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycode_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr retailerid_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr firstimageid_; + ::proto::ImageMessage* productimage_; + int64_t priceamount1000_; + uint32_t productimagecount_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -15499,7 +15775,7 @@ class ProductMessage final : public: inline ProductMessage() : ProductMessage(nullptr) {} ~ProductMessage() override; - explicit constexpr ProductMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR ProductMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ProductMessage(const ProductMessage& from); ProductMessage(ProductMessage&& from) noexcept @@ -15556,7 +15832,12 @@ class ProductMessage final : } inline void Swap(ProductMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -15570,34 +15851,34 @@ class ProductMessage final : // implements Message ---------------------------------------------- - inline ProductMessage* New() const final { - return new ProductMessage(); - } - - ProductMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ProductMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const ProductMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ProductMessage& from); + void MergeFrom( const ProductMessage& from) { + ProductMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(ProductMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.ProductMessage"; @@ -15605,9 +15886,6 @@ class ProductMessage final : protected: explicit ProductMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -15635,7 +15913,7 @@ class ProductMessage final : template void set_businessownerjid(ArgT0&& arg0, ArgT... args); std::string* mutable_businessownerjid(); - PROTOBUF_MUST_USE_RESULT std::string* release_businessownerjid(); + PROTOBUF_NODISCARD std::string* release_businessownerjid(); void set_allocated_businessownerjid(std::string* businessownerjid); private: const std::string& _internal_businessownerjid() const; @@ -15650,7 +15928,7 @@ class ProductMessage final : public: void clear_product(); const ::proto::ProductSnapshot& product() const; - PROTOBUF_MUST_USE_RESULT ::proto::ProductSnapshot* release_product(); + PROTOBUF_NODISCARD ::proto::ProductSnapshot* release_product(); ::proto::ProductSnapshot* mutable_product(); void set_allocated_product(::proto::ProductSnapshot* product); private: @@ -15668,7 +15946,7 @@ class ProductMessage final : public: void clear_catalog(); const ::proto::CatalogSnapshot& catalog() const; - PROTOBUF_MUST_USE_RESULT ::proto::CatalogSnapshot* release_catalog(); + PROTOBUF_NODISCARD ::proto::CatalogSnapshot* release_catalog(); ::proto::CatalogSnapshot* mutable_catalog(); void set_allocated_catalog(::proto::CatalogSnapshot* catalog); private: @@ -15686,7 +15964,7 @@ class ProductMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -15704,12 +15982,15 @@ class ProductMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr businessownerjid_; - ::proto::ProductSnapshot* product_; - ::proto::CatalogSnapshot* catalog_; - ::proto::ContextInfo* contextinfo_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr businessownerjid_; + ::proto::ProductSnapshot* product_; + ::proto::CatalogSnapshot* catalog_; + ::proto::ContextInfo* contextinfo_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -15719,7 +16000,7 @@ class OrderMessage final : public: inline OrderMessage() : OrderMessage(nullptr) {} ~OrderMessage() override; - explicit constexpr OrderMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR OrderMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); OrderMessage(const OrderMessage& from); OrderMessage(OrderMessage&& from) noexcept @@ -15776,7 +16057,12 @@ class OrderMessage final : } inline void Swap(OrderMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -15790,34 +16076,34 @@ class OrderMessage final : // implements Message ---------------------------------------------- - inline OrderMessage* New() const final { - return new OrderMessage(); - } - - OrderMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + OrderMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const OrderMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const OrderMessage& from); + void MergeFrom( const OrderMessage& from) { + OrderMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(OrderMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.OrderMessage"; @@ -15825,9 +16111,6 @@ class OrderMessage final : protected: explicit OrderMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -15919,7 +16202,7 @@ class OrderMessage final : template void set_orderid(ArgT0&& arg0, ArgT... args); std::string* mutable_orderid(); - PROTOBUF_MUST_USE_RESULT std::string* release_orderid(); + PROTOBUF_NODISCARD std::string* release_orderid(); void set_allocated_orderid(std::string* orderid); private: const std::string& _internal_orderid() const; @@ -15937,7 +16220,7 @@ class OrderMessage final : template void set_thumbnail(ArgT0&& arg0, ArgT... args); std::string* mutable_thumbnail(); - PROTOBUF_MUST_USE_RESULT std::string* release_thumbnail(); + PROTOBUF_NODISCARD std::string* release_thumbnail(); void set_allocated_thumbnail(std::string* thumbnail); private: const std::string& _internal_thumbnail() const; @@ -15955,7 +16238,7 @@ class OrderMessage final : template void set_message(ArgT0&& arg0, ArgT... args); std::string* mutable_message(); - PROTOBUF_MUST_USE_RESULT std::string* release_message(); + PROTOBUF_NODISCARD std::string* release_message(); void set_allocated_message(std::string* message); private: const std::string& _internal_message() const; @@ -15973,7 +16256,7 @@ class OrderMessage final : template void set_ordertitle(ArgT0&& arg0, ArgT... args); std::string* mutable_ordertitle(); - PROTOBUF_MUST_USE_RESULT std::string* release_ordertitle(); + PROTOBUF_NODISCARD std::string* release_ordertitle(); void set_allocated_ordertitle(std::string* ordertitle); private: const std::string& _internal_ordertitle() const; @@ -15991,7 +16274,7 @@ class OrderMessage final : template void set_sellerjid(ArgT0&& arg0, ArgT... args); std::string* mutable_sellerjid(); - PROTOBUF_MUST_USE_RESULT std::string* release_sellerjid(); + PROTOBUF_NODISCARD std::string* release_sellerjid(); void set_allocated_sellerjid(std::string* sellerjid); private: const std::string& _internal_sellerjid() const; @@ -16009,7 +16292,7 @@ class OrderMessage final : template void set_token(ArgT0&& arg0, ArgT... args); std::string* mutable_token(); - PROTOBUF_MUST_USE_RESULT std::string* release_token(); + PROTOBUF_NODISCARD std::string* release_token(); void set_allocated_token(std::string* token); private: const std::string& _internal_token() const; @@ -16027,7 +16310,7 @@ class OrderMessage final : template void set_totalcurrencycode(ArgT0&& arg0, ArgT... args); std::string* mutable_totalcurrencycode(); - PROTOBUF_MUST_USE_RESULT std::string* release_totalcurrencycode(); + PROTOBUF_NODISCARD std::string* release_totalcurrencycode(); void set_allocated_totalcurrencycode(std::string* totalcurrencycode); private: const std::string& _internal_totalcurrencycode() const; @@ -16042,7 +16325,7 @@ class OrderMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -16059,11 +16342,11 @@ class OrderMessage final : bool _internal_has_totalamount1000() const; public: void clear_totalamount1000(); - ::PROTOBUF_NAMESPACE_ID::int64 totalamount1000() const; - void set_totalamount1000(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t totalamount1000() const; + void set_totalamount1000(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_totalamount1000() const; - void _internal_set_totalamount1000(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_totalamount1000() const; + void _internal_set_totalamount1000(int64_t value); public: // optional int32 itemCount = 3; @@ -16072,11 +16355,11 @@ class OrderMessage final : bool _internal_has_itemcount() const; public: void clear_itemcount(); - ::PROTOBUF_NAMESPACE_ID::int32 itemcount() const; - void set_itemcount(::PROTOBUF_NAMESPACE_ID::int32 value); + int32_t itemcount() const; + void set_itemcount(int32_t value); private: - ::PROTOBUF_NAMESPACE_ID::int32 _internal_itemcount() const; - void _internal_set_itemcount(::PROTOBUF_NAMESPACE_ID::int32 value); + int32_t _internal_itemcount() const; + void _internal_set_itemcount(int32_t value); public: // optional .proto.OrderMessage.OrderMessageOrderStatus status = 4; @@ -16112,20 +16395,23 @@ class OrderMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr orderid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnail_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ordertitle_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sellerjid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr totalcurrencycode_; - ::proto::ContextInfo* contextinfo_; - ::PROTOBUF_NAMESPACE_ID::int64 totalamount1000_; - ::PROTOBUF_NAMESPACE_ID::int32 itemcount_; - int status_; - int surface_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr orderid_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnail_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ordertitle_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sellerjid_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr totalcurrencycode_; + ::proto::ContextInfo* contextinfo_; + int64_t totalamount1000_; + int32_t itemcount_; + int status_; + int surface_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -16135,7 +16421,7 @@ class Row final : public: inline Row() : Row(nullptr) {} ~Row() override; - explicit constexpr Row(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR Row(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Row(const Row& from); Row(Row&& from) noexcept @@ -16192,7 +16478,12 @@ class Row final : } inline void Swap(Row* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -16206,34 +16497,34 @@ class Row final : // implements Message ---------------------------------------------- - inline Row* New() const final { - return new Row(); - } - - Row* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + Row* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const Row& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const Row& from); + void MergeFrom( const Row& from) { + Row::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Row* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.Row"; @@ -16241,9 +16532,6 @@ class Row final : protected: explicit Row(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -16270,7 +16558,7 @@ class Row final : template void set_title(ArgT0&& arg0, ArgT... args); std::string* mutable_title(); - PROTOBUF_MUST_USE_RESULT std::string* release_title(); + PROTOBUF_NODISCARD std::string* release_title(); void set_allocated_title(std::string* title); private: const std::string& _internal_title() const; @@ -16288,7 +16576,7 @@ class Row final : template void set_description(ArgT0&& arg0, ArgT... args); std::string* mutable_description(); - PROTOBUF_MUST_USE_RESULT std::string* release_description(); + PROTOBUF_NODISCARD std::string* release_description(); void set_allocated_description(std::string* description); private: const std::string& _internal_description() const; @@ -16306,7 +16594,7 @@ class Row final : template void set_rowid(ArgT0&& arg0, ArgT... args); std::string* mutable_rowid(); - PROTOBUF_MUST_USE_RESULT std::string* release_rowid(); + PROTOBUF_NODISCARD std::string* release_rowid(); void set_allocated_rowid(std::string* rowid); private: const std::string& _internal_rowid() const; @@ -16321,11 +16609,14 @@ class Row final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rowid_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rowid_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -16335,7 +16626,7 @@ class Section final : public: inline Section() : Section(nullptr) {} ~Section() override; - explicit constexpr Section(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR Section(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Section(const Section& from); Section(Section&& from) noexcept @@ -16392,7 +16683,12 @@ class Section final : } inline void Swap(Section* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -16406,34 +16702,34 @@ class Section final : // implements Message ---------------------------------------------- - inline Section* New() const final { - return new Section(); - } - - Section* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + Section* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage
(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const Section& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const Section& from); + void MergeFrom( const Section& from) { + Section::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Section* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.Section"; @@ -16441,9 +16737,6 @@ class Section final : protected: explicit Section(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -16487,7 +16780,7 @@ class Section final : template void set_title(ArgT0&& arg0, ArgT... args); std::string* mutable_title(); - PROTOBUF_MUST_USE_RESULT std::string* release_title(); + PROTOBUF_NODISCARD std::string* release_title(); void set_allocated_title(std::string* title); private: const std::string& _internal_title() const; @@ -16502,10 +16795,13 @@ class Section final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Row > rows_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Row > rows_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -16515,7 +16811,7 @@ class ListMessage final : public: inline ListMessage() : ListMessage(nullptr) {} ~ListMessage() override; - explicit constexpr ListMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR ListMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ListMessage(const ListMessage& from); ListMessage(ListMessage&& from) noexcept @@ -16572,7 +16868,12 @@ class ListMessage final : } inline void Swap(ListMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -16586,34 +16887,34 @@ class ListMessage final : // implements Message ---------------------------------------------- - inline ListMessage* New() const final { - return new ListMessage(); - } - - ListMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ListMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const ListMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ListMessage& from); + void MergeFrom( const ListMessage& from) { + ListMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(ListMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.ListMessage"; @@ -16621,9 +16922,6 @@ class ListMessage final : protected: explicit ListMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -16700,7 +16998,7 @@ class ListMessage final : template void set_title(ArgT0&& arg0, ArgT... args); std::string* mutable_title(); - PROTOBUF_MUST_USE_RESULT std::string* release_title(); + PROTOBUF_NODISCARD std::string* release_title(); void set_allocated_title(std::string* title); private: const std::string& _internal_title() const; @@ -16718,7 +17016,7 @@ class ListMessage final : template void set_description(ArgT0&& arg0, ArgT... args); std::string* mutable_description(); - PROTOBUF_MUST_USE_RESULT std::string* release_description(); + PROTOBUF_NODISCARD std::string* release_description(); void set_allocated_description(std::string* description); private: const std::string& _internal_description() const; @@ -16736,7 +17034,7 @@ class ListMessage final : template void set_buttontext(ArgT0&& arg0, ArgT... args); std::string* mutable_buttontext(); - PROTOBUF_MUST_USE_RESULT std::string* release_buttontext(); + PROTOBUF_NODISCARD std::string* release_buttontext(); void set_allocated_buttontext(std::string* buttontext); private: const std::string& _internal_buttontext() const; @@ -16764,13 +17062,16 @@ class ListMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Section > sections_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr buttontext_; - int listtype_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Section > sections_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr buttontext_; + int listtype_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -16780,7 +17081,7 @@ class SingleSelectReply final : public: inline SingleSelectReply() : SingleSelectReply(nullptr) {} ~SingleSelectReply() override; - explicit constexpr SingleSelectReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR SingleSelectReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SingleSelectReply(const SingleSelectReply& from); SingleSelectReply(SingleSelectReply&& from) noexcept @@ -16837,7 +17138,12 @@ class SingleSelectReply final : } inline void Swap(SingleSelectReply* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -16851,34 +17157,34 @@ class SingleSelectReply final : // implements Message ---------------------------------------------- - inline SingleSelectReply* New() const final { - return new SingleSelectReply(); - } - - SingleSelectReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + SingleSelectReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const SingleSelectReply& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const SingleSelectReply& from); + void MergeFrom( const SingleSelectReply& from) { + SingleSelectReply::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(SingleSelectReply* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.SingleSelectReply"; @@ -16886,9 +17192,6 @@ class SingleSelectReply final : protected: explicit SingleSelectReply(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -16913,7 +17216,7 @@ class SingleSelectReply final : template void set_selectedrowid(ArgT0&& arg0, ArgT... args); std::string* mutable_selectedrowid(); - PROTOBUF_MUST_USE_RESULT std::string* release_selectedrowid(); + PROTOBUF_NODISCARD std::string* release_selectedrowid(); void set_allocated_selectedrowid(std::string* selectedrowid); private: const std::string& _internal_selectedrowid() const; @@ -16928,9 +17231,12 @@ class SingleSelectReply final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selectedrowid_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selectedrowid_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -16940,7 +17246,7 @@ class ListResponseMessage final : public: inline ListResponseMessage() : ListResponseMessage(nullptr) {} ~ListResponseMessage() override; - explicit constexpr ListResponseMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR ListResponseMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ListResponseMessage(const ListResponseMessage& from); ListResponseMessage(ListResponseMessage&& from) noexcept @@ -16997,7 +17303,12 @@ class ListResponseMessage final : } inline void Swap(ListResponseMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -17011,34 +17322,34 @@ class ListResponseMessage final : // implements Message ---------------------------------------------- - inline ListResponseMessage* New() const final { - return new ListResponseMessage(); - } - - ListResponseMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ListResponseMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const ListResponseMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ListResponseMessage& from); + void MergeFrom( const ListResponseMessage& from) { + ListResponseMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(ListResponseMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.ListResponseMessage"; @@ -17046,9 +17357,6 @@ class ListResponseMessage final : protected: explicit ListResponseMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -17107,7 +17415,7 @@ class ListResponseMessage final : template void set_title(ArgT0&& arg0, ArgT... args); std::string* mutable_title(); - PROTOBUF_MUST_USE_RESULT std::string* release_title(); + PROTOBUF_NODISCARD std::string* release_title(); void set_allocated_title(std::string* title); private: const std::string& _internal_title() const; @@ -17125,7 +17433,7 @@ class ListResponseMessage final : template void set_description(ArgT0&& arg0, ArgT... args); std::string* mutable_description(); - PROTOBUF_MUST_USE_RESULT std::string* release_description(); + PROTOBUF_NODISCARD std::string* release_description(); void set_allocated_description(std::string* description); private: const std::string& _internal_description() const; @@ -17140,7 +17448,7 @@ class ListResponseMessage final : public: void clear_singleselectreply(); const ::proto::SingleSelectReply& singleselectreply() const; - PROTOBUF_MUST_USE_RESULT ::proto::SingleSelectReply* release_singleselectreply(); + PROTOBUF_NODISCARD ::proto::SingleSelectReply* release_singleselectreply(); ::proto::SingleSelectReply* mutable_singleselectreply(); void set_allocated_singleselectreply(::proto::SingleSelectReply* singleselectreply); private: @@ -17158,7 +17466,7 @@ class ListResponseMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -17189,13 +17497,16 @@ class ListResponseMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; - ::proto::SingleSelectReply* singleselectreply_; - ::proto::ContextInfo* contextinfo_; - int listtype_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; + ::proto::SingleSelectReply* singleselectreply_; + ::proto::ContextInfo* contextinfo_; + int listtype_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -17205,7 +17516,7 @@ class GroupInviteMessage final : public: inline GroupInviteMessage() : GroupInviteMessage(nullptr) {} ~GroupInviteMessage() override; - explicit constexpr GroupInviteMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR GroupInviteMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GroupInviteMessage(const GroupInviteMessage& from); GroupInviteMessage(GroupInviteMessage&& from) noexcept @@ -17262,7 +17573,12 @@ class GroupInviteMessage final : } inline void Swap(GroupInviteMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -17276,34 +17592,34 @@ class GroupInviteMessage final : // implements Message ---------------------------------------------- - inline GroupInviteMessage* New() const final { - return new GroupInviteMessage(); - } - - GroupInviteMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GroupInviteMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const GroupInviteMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GroupInviteMessage& from); + void MergeFrom( const GroupInviteMessage& from) { + GroupInviteMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(GroupInviteMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.GroupInviteMessage"; @@ -17311,9 +17627,6 @@ class GroupInviteMessage final : protected: explicit GroupInviteMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -17344,7 +17657,7 @@ class GroupInviteMessage final : template void set_groupjid(ArgT0&& arg0, ArgT... args); std::string* mutable_groupjid(); - PROTOBUF_MUST_USE_RESULT std::string* release_groupjid(); + PROTOBUF_NODISCARD std::string* release_groupjid(); void set_allocated_groupjid(std::string* groupjid); private: const std::string& _internal_groupjid() const; @@ -17362,7 +17675,7 @@ class GroupInviteMessage final : template void set_invitecode(ArgT0&& arg0, ArgT... args); std::string* mutable_invitecode(); - PROTOBUF_MUST_USE_RESULT std::string* release_invitecode(); + PROTOBUF_NODISCARD std::string* release_invitecode(); void set_allocated_invitecode(std::string* invitecode); private: const std::string& _internal_invitecode() const; @@ -17380,7 +17693,7 @@ class GroupInviteMessage final : template void set_groupname(ArgT0&& arg0, ArgT... args); std::string* mutable_groupname(); - PROTOBUF_MUST_USE_RESULT std::string* release_groupname(); + PROTOBUF_NODISCARD std::string* release_groupname(); void set_allocated_groupname(std::string* groupname); private: const std::string& _internal_groupname() const; @@ -17398,7 +17711,7 @@ class GroupInviteMessage final : template void set_jpegthumbnail(ArgT0&& arg0, ArgT... args); std::string* mutable_jpegthumbnail(); - PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail(); + PROTOBUF_NODISCARD std::string* release_jpegthumbnail(); void set_allocated_jpegthumbnail(std::string* jpegthumbnail); private: const std::string& _internal_jpegthumbnail() const; @@ -17416,7 +17729,7 @@ class GroupInviteMessage final : template void set_caption(ArgT0&& arg0, ArgT... args); std::string* mutable_caption(); - PROTOBUF_MUST_USE_RESULT std::string* release_caption(); + PROTOBUF_NODISCARD std::string* release_caption(); void set_allocated_caption(std::string* caption); private: const std::string& _internal_caption() const; @@ -17431,7 +17744,7 @@ class GroupInviteMessage final : public: void clear_contextinfo(); const ::proto::ContextInfo& contextinfo() const; - PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo(); + PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo(); ::proto::ContextInfo* mutable_contextinfo(); void set_allocated_contextinfo(::proto::ContextInfo* contextinfo); private: @@ -17448,11 +17761,11 @@ class GroupInviteMessage final : bool _internal_has_inviteexpiration() const; public: void clear_inviteexpiration(); - ::PROTOBUF_NAMESPACE_ID::int64 inviteexpiration() const; - void set_inviteexpiration(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t inviteexpiration() const; + void set_inviteexpiration(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_inviteexpiration() const; - void _internal_set_inviteexpiration(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_inviteexpiration() const; + void _internal_set_inviteexpiration(int64_t value); public: // @@protoc_insertion_point(class_scope:proto.GroupInviteMessage) @@ -17462,15 +17775,18 @@ class GroupInviteMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr groupjid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr invitecode_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr groupname_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_; - ::proto::ContextInfo* contextinfo_; - ::PROTOBUF_NAMESPACE_ID::int64 inviteexpiration_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr groupjid_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr invitecode_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr groupname_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_; + ::proto::ContextInfo* contextinfo_; + int64_t inviteexpiration_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -17480,7 +17796,7 @@ class EphemeralSetting final : public: inline EphemeralSetting() : EphemeralSetting(nullptr) {} ~EphemeralSetting() override; - explicit constexpr EphemeralSetting(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR EphemeralSetting(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); EphemeralSetting(const EphemeralSetting& from); EphemeralSetting(EphemeralSetting&& from) noexcept @@ -17537,7 +17853,12 @@ class EphemeralSetting final : } inline void Swap(EphemeralSetting* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -17551,34 +17872,34 @@ class EphemeralSetting final : // implements Message ---------------------------------------------- - inline EphemeralSetting* New() const final { - return new EphemeralSetting(); - } - - EphemeralSetting* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + EphemeralSetting* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const EphemeralSetting& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const EphemeralSetting& from); + void MergeFrom( const EphemeralSetting& from) { + EphemeralSetting::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(EphemeralSetting* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.EphemeralSetting"; @@ -17586,9 +17907,6 @@ class EphemeralSetting final : protected: explicit EphemeralSetting(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -17615,7 +17933,7 @@ class EphemeralSetting final : template void set_chatjid(ArgT0&& arg0, ArgT... args); std::string* mutable_chatjid(); - PROTOBUF_MUST_USE_RESULT std::string* release_chatjid(); + PROTOBUF_NODISCARD std::string* release_chatjid(); void set_allocated_chatjid(std::string* chatjid); private: const std::string& _internal_chatjid() const; @@ -17629,11 +17947,11 @@ class EphemeralSetting final : bool _internal_has_ephemeralsettingtimestamp() const; public: void clear_ephemeralsettingtimestamp(); - ::PROTOBUF_NAMESPACE_ID::int64 ephemeralsettingtimestamp() const; - void set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t ephemeralsettingtimestamp() const; + void set_ephemeralsettingtimestamp(int64_t value); private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_ephemeralsettingtimestamp() const; - void _internal_set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value); + int64_t _internal_ephemeralsettingtimestamp() const; + void _internal_set_ephemeralsettingtimestamp(int64_t value); public: // optional uint32 ephemeralExpiration = 2; @@ -17642,11 +17960,11 @@ class EphemeralSetting final : bool _internal_has_ephemeralexpiration() const; public: void clear_ephemeralexpiration(); - ::PROTOBUF_NAMESPACE_ID::uint32 ephemeralexpiration() const; - void set_ephemeralexpiration(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t ephemeralexpiration() const; + void set_ephemeralexpiration(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_ephemeralexpiration() const; - void _internal_set_ephemeralexpiration(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_ephemeralexpiration() const; + void _internal_set_ephemeralexpiration(uint32_t value); public: // @@protoc_insertion_point(class_scope:proto.EphemeralSetting) @@ -17656,11 +17974,14 @@ class EphemeralSetting final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr chatjid_; - ::PROTOBUF_NAMESPACE_ID::int64 ephemeralsettingtimestamp_; - ::PROTOBUF_NAMESPACE_ID::uint32 ephemeralexpiration_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr chatjid_; + int64_t ephemeralsettingtimestamp_; + uint32_t ephemeralexpiration_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -17670,7 +17991,7 @@ class DeviceSentMessage final : public: inline DeviceSentMessage() : DeviceSentMessage(nullptr) {} ~DeviceSentMessage() override; - explicit constexpr DeviceSentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR DeviceSentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); DeviceSentMessage(const DeviceSentMessage& from); DeviceSentMessage(DeviceSentMessage&& from) noexcept @@ -17727,7 +18048,12 @@ class DeviceSentMessage final : } inline void Swap(DeviceSentMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -17741,34 +18067,34 @@ class DeviceSentMessage final : // implements Message ---------------------------------------------- - inline DeviceSentMessage* New() const final { - return new DeviceSentMessage(); - } - - DeviceSentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + DeviceSentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const DeviceSentMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DeviceSentMessage& from); + void MergeFrom( const DeviceSentMessage& from) { + DeviceSentMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(DeviceSentMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.DeviceSentMessage"; @@ -17776,9 +18102,6 @@ class DeviceSentMessage final : protected: explicit DeviceSentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -17824,7 +18147,7 @@ class DeviceSentMessage final : template void set_destinationjid(ArgT0&& arg0, ArgT... args); std::string* mutable_destinationjid(); - PROTOBUF_MUST_USE_RESULT std::string* release_destinationjid(); + PROTOBUF_NODISCARD std::string* release_destinationjid(); void set_allocated_destinationjid(std::string* destinationjid); private: const std::string& _internal_destinationjid() const; @@ -17842,7 +18165,7 @@ class DeviceSentMessage final : template void set_phash(ArgT0&& arg0, ArgT... args); std::string* mutable_phash(); - PROTOBUF_MUST_USE_RESULT std::string* release_phash(); + PROTOBUF_NODISCARD std::string* release_phash(); void set_allocated_phash(std::string* phash); private: const std::string& _internal_phash() const; @@ -17857,7 +18180,7 @@ class DeviceSentMessage final : public: void clear_message(); const ::proto::Message& message() const; - PROTOBUF_MUST_USE_RESULT ::proto::Message* release_message(); + PROTOBUF_NODISCARD ::proto::Message* release_message(); ::proto::Message* mutable_message(); void set_allocated_message(::proto::Message* message); private: @@ -17875,12 +18198,15 @@ class DeviceSentMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::EphemeralSetting > broadcastephemeralsettings_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr destinationjid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr phash_; - ::proto::Message* message_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::EphemeralSetting > broadcastephemeralsettings_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr destinationjid_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr phash_; + ::proto::Message* message_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -17890,7 +18216,7 @@ class FutureProofMessage final : public: inline FutureProofMessage() : FutureProofMessage(nullptr) {} ~FutureProofMessage() override; - explicit constexpr FutureProofMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR FutureProofMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); FutureProofMessage(const FutureProofMessage& from); FutureProofMessage(FutureProofMessage&& from) noexcept @@ -17947,7 +18273,12 @@ class FutureProofMessage final : } inline void Swap(FutureProofMessage* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -17961,34 +18292,34 @@ class FutureProofMessage final : // implements Message ---------------------------------------------- - inline FutureProofMessage* New() const final { - return new FutureProofMessage(); - } - - FutureProofMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + FutureProofMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const FutureProofMessage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const FutureProofMessage& from); + void MergeFrom( const FutureProofMessage& from) { + FutureProofMessage::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(FutureProofMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.FutureProofMessage"; @@ -17996,9 +18327,6 @@ class FutureProofMessage final : protected: explicit FutureProofMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -18020,7 +18348,7 @@ class FutureProofMessage final : public: void clear_message(); const ::proto::Message& message() const; - PROTOBUF_MUST_USE_RESULT ::proto::Message* release_message(); + PROTOBUF_NODISCARD ::proto::Message* release_message(); ::proto::Message* mutable_message(); void set_allocated_message(::proto::Message* message); private: @@ -18038,9 +18366,12 @@ class FutureProofMessage final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::proto::Message* message_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::proto::Message* message_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -18050,7 +18381,7 @@ class ButtonText final : public: inline ButtonText() : ButtonText(nullptr) {} ~ButtonText() override; - explicit constexpr ButtonText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR ButtonText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ButtonText(const ButtonText& from); ButtonText(ButtonText&& from) noexcept @@ -18107,7 +18438,12 @@ class ButtonText final : } inline void Swap(ButtonText* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -18121,34 +18457,34 @@ class ButtonText final : // implements Message ---------------------------------------------- - inline ButtonText* New() const final { - return new ButtonText(); - } - - ButtonText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ButtonText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const ButtonText& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ButtonText& from); + void MergeFrom( const ButtonText& from) { + ButtonText::MergeImpl(*this, from); + } private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: - void SharedCtor(); + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(ButtonText* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "proto.ButtonText"; @@ -18156,9 +18492,6 @@ class ButtonText final : protected: explicit ButtonText(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; @@ -18183,7 +18516,7 @@ class ButtonText final : template void set_displaytext(ArgT0&& arg0, ArgT... args); std::string* mutable_displaytext(); - PROTOBUF_MUST_USE_RESULT std::string* release_displaytext(); + PROTOBUF_NODISCARD std::string* release_displaytext(); void set_allocated_displaytext(std::string* displaytext); private: const std::string& _internal_displaytext() const; @@ -18198,9 +18531,12 @@ class ButtonText final : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_; + }; + union { Impl_ _impl_; }; friend struct ::TableStruct_pmsg_2eproto; }; // ------------------------------------------------------------------- @@ -18210,7 +18546,7 @@ class Button final : public: inline Button() : Button(nullptr) {} ~Button() override; - explicit constexpr Button(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR Button(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); Button(const Button& from); Button(Button&& from) noexcept @@ -18267,7 +18603,12 @@ class Button final : } inline void Swap(Button* other) { if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -18281,34 +18622,34 @@ class Button final : // implements Message ---------------------------------------------- - inline Button* New() const final { - return new Button(); - } - - Button* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + Button* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage