summaryrefslogtreecommitdiff
path: root/protocols/WhatsAppWeb/src/pmsg.pb.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WhatsAppWeb/src/pmsg.pb.h')
-rw-r--r--protocols/WhatsAppWeb/src/pmsg.pb.h15003
1 files changed, 6498 insertions, 8505 deletions
diff --git a/protocols/WhatsAppWeb/src/pmsg.pb.h b/protocols/WhatsAppWeb/src/pmsg.pb.h
index a61095f954..5e17139e71 100644
--- a/protocols/WhatsAppWeb/src/pmsg.pb.h
+++ b/protocols/WhatsAppWeb/src/pmsg.pb.h
@@ -8,12 +8,12 @@
#include <string>
#include <google/protobuf/port_def.inc>
-#if PROTOBUF_VERSION < 3015000
+#if PROTOBUF_VERSION < 3018000
#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 3015008 < PROTOBUF_MIN_PROTOC_VERSION
+#if 3018000 < 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.
@@ -54,7 +54,6 @@ struct TableStruct_pmsg_2eproto {
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_pmsg_2eproto;
-::PROTOBUF_NAMESPACE_ID::Metadata descriptor_table_pmsg_2eproto_metadata_getter(int index);
namespace proto {
class AdReplyInfo;
struct AdReplyInfoDefaultTypeInternal;
@@ -1117,11 +1116,11 @@ inline bool WebMessageInfo_WebMessageInfoBizPrivacyStatus_Parse(
}
// ===================================================================
-class PaymentMoney PROTOBUF_FINAL :
+class PaymentMoney final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.PaymentMoney) */ {
public:
inline PaymentMoney() : PaymentMoney(nullptr) {}
- virtual ~PaymentMoney();
+ ~PaymentMoney() override;
explicit constexpr PaymentMoney(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
PaymentMoney(const PaymentMoney& from);
@@ -1135,8 +1134,13 @@ class PaymentMoney PROTOBUF_FINAL :
return *this;
}
inline PaymentMoney& operator=(PaymentMoney&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -1154,10 +1158,10 @@ class PaymentMoney PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const PaymentMoney& default_instance() {
return *internal_default_instance();
@@ -1174,7 +1178,7 @@ class PaymentMoney PROTOBUF_FINAL :
}
inline void Swap(PaymentMoney* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -1182,23 +1186,26 @@ class PaymentMoney PROTOBUF_FINAL :
}
void UnsafeArenaSwap(PaymentMoney* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline PaymentMoney* New() const final {
- return CreateMaybeMessage<PaymentMoney>(nullptr);
+ return new PaymentMoney();
}
PaymentMoney* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<PaymentMoney>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const PaymentMoney& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const PaymentMoney& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -1209,8 +1216,8 @@ class PaymentMoney PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(PaymentMoney* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -1218,19 +1225,17 @@ class PaymentMoney PROTOBUF_FINAL :
return "proto.PaymentMoney";
}
protected:
- explicit PaymentMoney(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -1248,16 +1253,14 @@ class PaymentMoney PROTOBUF_FINAL :
public:
void clear_currencycode();
const std::string& currencycode() const;
- void set_currencycode(const std::string& value);
- void set_currencycode(std::string&& value);
- void set_currencycode(const char* value);
- void set_currencycode(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_currencycode(ArgT0&& arg0, ArgT... args);
std::string* mutable_currencycode();
- std::string* release_currencycode();
+ PROTOBUF_MUST_USE_RESULT std::string* release_currencycode();
void set_allocated_currencycode(std::string* currencycode);
private:
const std::string& _internal_currencycode() const;
- void _internal_set_currencycode(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_currencycode(const std::string& value);
std::string* _internal_mutable_currencycode();
public:
@@ -1303,11 +1306,11 @@ class PaymentMoney PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class HydratedQuickReplyButton PROTOBUF_FINAL :
+class HydratedQuickReplyButton final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.HydratedQuickReplyButton) */ {
public:
inline HydratedQuickReplyButton() : HydratedQuickReplyButton(nullptr) {}
- virtual ~HydratedQuickReplyButton();
+ ~HydratedQuickReplyButton() override;
explicit constexpr HydratedQuickReplyButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HydratedQuickReplyButton(const HydratedQuickReplyButton& from);
@@ -1321,8 +1324,13 @@ class HydratedQuickReplyButton PROTOBUF_FINAL :
return *this;
}
inline HydratedQuickReplyButton& operator=(HydratedQuickReplyButton&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -1340,10 +1348,10 @@ class HydratedQuickReplyButton PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const HydratedQuickReplyButton& default_instance() {
return *internal_default_instance();
@@ -1360,7 +1368,7 @@ class HydratedQuickReplyButton PROTOBUF_FINAL :
}
inline void Swap(HydratedQuickReplyButton* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -1368,23 +1376,26 @@ class HydratedQuickReplyButton PROTOBUF_FINAL :
}
void UnsafeArenaSwap(HydratedQuickReplyButton* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline HydratedQuickReplyButton* New() const final {
- return CreateMaybeMessage<HydratedQuickReplyButton>(nullptr);
+ return new HydratedQuickReplyButton();
}
HydratedQuickReplyButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<HydratedQuickReplyButton>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HydratedQuickReplyButton& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const HydratedQuickReplyButton& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -1395,8 +1406,8 @@ class HydratedQuickReplyButton PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HydratedQuickReplyButton* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -1404,19 +1415,17 @@ class HydratedQuickReplyButton PROTOBUF_FINAL :
return "proto.HydratedQuickReplyButton";
}
protected:
- explicit HydratedQuickReplyButton(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -1433,16 +1442,14 @@ class HydratedQuickReplyButton PROTOBUF_FINAL :
public:
void clear_displaytext();
const std::string& displaytext() const;
- void set_displaytext(const std::string& value);
- void set_displaytext(std::string&& value);
- void set_displaytext(const char* value);
- void set_displaytext(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_displaytext(ArgT0&& arg0, ArgT... args);
std::string* mutable_displaytext();
- std::string* release_displaytext();
+ PROTOBUF_MUST_USE_RESULT std::string* release_displaytext();
void set_allocated_displaytext(std::string* displaytext);
private:
const std::string& _internal_displaytext() const;
- void _internal_set_displaytext(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_displaytext(const std::string& value);
std::string* _internal_mutable_displaytext();
public:
@@ -1453,16 +1460,14 @@ class HydratedQuickReplyButton PROTOBUF_FINAL :
public:
void clear_id();
const std::string& id() const;
- void set_id(const std::string& value);
- void set_id(std::string&& value);
- void set_id(const char* value);
- void set_id(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_id();
- std::string* release_id();
+ PROTOBUF_MUST_USE_RESULT std::string* release_id();
void set_allocated_id(std::string* id);
private:
const std::string& _internal_id() const;
- void _internal_set_id(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value);
std::string* _internal_mutable_id();
public:
@@ -1481,11 +1486,11 @@ class HydratedQuickReplyButton PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class HydratedURLButton PROTOBUF_FINAL :
+class HydratedURLButton final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.HydratedURLButton) */ {
public:
inline HydratedURLButton() : HydratedURLButton(nullptr) {}
- virtual ~HydratedURLButton();
+ ~HydratedURLButton() override;
explicit constexpr HydratedURLButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HydratedURLButton(const HydratedURLButton& from);
@@ -1499,8 +1504,13 @@ class HydratedURLButton PROTOBUF_FINAL :
return *this;
}
inline HydratedURLButton& operator=(HydratedURLButton&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -1518,10 +1528,10 @@ class HydratedURLButton PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const HydratedURLButton& default_instance() {
return *internal_default_instance();
@@ -1538,7 +1548,7 @@ class HydratedURLButton PROTOBUF_FINAL :
}
inline void Swap(HydratedURLButton* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -1546,23 +1556,26 @@ class HydratedURLButton PROTOBUF_FINAL :
}
void UnsafeArenaSwap(HydratedURLButton* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline HydratedURLButton* New() const final {
- return CreateMaybeMessage<HydratedURLButton>(nullptr);
+ return new HydratedURLButton();
}
HydratedURLButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<HydratedURLButton>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HydratedURLButton& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const HydratedURLButton& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -1573,8 +1586,8 @@ class HydratedURLButton PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HydratedURLButton* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -1582,19 +1595,17 @@ class HydratedURLButton PROTOBUF_FINAL :
return "proto.HydratedURLButton";
}
protected:
- explicit HydratedURLButton(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -1611,16 +1622,14 @@ class HydratedURLButton PROTOBUF_FINAL :
public:
void clear_displaytext();
const std::string& displaytext() const;
- void set_displaytext(const std::string& value);
- void set_displaytext(std::string&& value);
- void set_displaytext(const char* value);
- void set_displaytext(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_displaytext(ArgT0&& arg0, ArgT... args);
std::string* mutable_displaytext();
- std::string* release_displaytext();
+ PROTOBUF_MUST_USE_RESULT std::string* release_displaytext();
void set_allocated_displaytext(std::string* displaytext);
private:
const std::string& _internal_displaytext() const;
- void _internal_set_displaytext(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_displaytext(const std::string& value);
std::string* _internal_mutable_displaytext();
public:
@@ -1631,16 +1640,14 @@ class HydratedURLButton PROTOBUF_FINAL :
public:
void clear_url();
const std::string& url() const;
- void set_url(const std::string& value);
- void set_url(std::string&& value);
- void set_url(const char* value);
- void set_url(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- std::string* release_url();
+ PROTOBUF_MUST_USE_RESULT std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
- void _internal_set_url(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value);
std::string* _internal_mutable_url();
public:
@@ -1659,11 +1666,11 @@ class HydratedURLButton PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class HydratedCallButton PROTOBUF_FINAL :
+class HydratedCallButton final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.HydratedCallButton) */ {
public:
inline HydratedCallButton() : HydratedCallButton(nullptr) {}
- virtual ~HydratedCallButton();
+ ~HydratedCallButton() override;
explicit constexpr HydratedCallButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HydratedCallButton(const HydratedCallButton& from);
@@ -1677,8 +1684,13 @@ class HydratedCallButton PROTOBUF_FINAL :
return *this;
}
inline HydratedCallButton& operator=(HydratedCallButton&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -1696,10 +1708,10 @@ class HydratedCallButton PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const HydratedCallButton& default_instance() {
return *internal_default_instance();
@@ -1716,7 +1728,7 @@ class HydratedCallButton PROTOBUF_FINAL :
}
inline void Swap(HydratedCallButton* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -1724,23 +1736,26 @@ class HydratedCallButton PROTOBUF_FINAL :
}
void UnsafeArenaSwap(HydratedCallButton* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline HydratedCallButton* New() const final {
- return CreateMaybeMessage<HydratedCallButton>(nullptr);
+ return new HydratedCallButton();
}
HydratedCallButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<HydratedCallButton>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HydratedCallButton& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const HydratedCallButton& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -1751,8 +1766,8 @@ class HydratedCallButton PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HydratedCallButton* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -1760,19 +1775,17 @@ class HydratedCallButton PROTOBUF_FINAL :
return "proto.HydratedCallButton";
}
protected:
- explicit HydratedCallButton(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -1789,16 +1802,14 @@ class HydratedCallButton PROTOBUF_FINAL :
public:
void clear_displaytext();
const std::string& displaytext() const;
- void set_displaytext(const std::string& value);
- void set_displaytext(std::string&& value);
- void set_displaytext(const char* value);
- void set_displaytext(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_displaytext(ArgT0&& arg0, ArgT... args);
std::string* mutable_displaytext();
- std::string* release_displaytext();
+ PROTOBUF_MUST_USE_RESULT std::string* release_displaytext();
void set_allocated_displaytext(std::string* displaytext);
private:
const std::string& _internal_displaytext() const;
- void _internal_set_displaytext(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_displaytext(const std::string& value);
std::string* _internal_mutable_displaytext();
public:
@@ -1809,16 +1820,14 @@ class HydratedCallButton PROTOBUF_FINAL :
public:
void clear_phonenumber();
const std::string& phonenumber() const;
- void set_phonenumber(const std::string& value);
- void set_phonenumber(std::string&& value);
- void set_phonenumber(const char* value);
- void set_phonenumber(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_phonenumber(ArgT0&& arg0, ArgT... args);
std::string* mutable_phonenumber();
- std::string* release_phonenumber();
+ PROTOBUF_MUST_USE_RESULT std::string* release_phonenumber();
void set_allocated_phonenumber(std::string* phonenumber);
private:
const std::string& _internal_phonenumber() const;
- void _internal_set_phonenumber(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_phonenumber(const std::string& value);
std::string* _internal_mutable_phonenumber();
public:
@@ -1837,11 +1846,11 @@ class HydratedCallButton PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class HydratedTemplateButton PROTOBUF_FINAL :
+class HydratedTemplateButton final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.HydratedTemplateButton) */ {
public:
inline HydratedTemplateButton() : HydratedTemplateButton(nullptr) {}
- virtual ~HydratedTemplateButton();
+ ~HydratedTemplateButton() override;
explicit constexpr HydratedTemplateButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HydratedTemplateButton(const HydratedTemplateButton& from);
@@ -1855,8 +1864,13 @@ class HydratedTemplateButton PROTOBUF_FINAL :
return *this;
}
inline HydratedTemplateButton& operator=(HydratedTemplateButton&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -1874,10 +1888,10 @@ class HydratedTemplateButton PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const HydratedTemplateButton& default_instance() {
return *internal_default_instance();
@@ -1901,7 +1915,7 @@ class HydratedTemplateButton PROTOBUF_FINAL :
}
inline void Swap(HydratedTemplateButton* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -1909,23 +1923,26 @@ class HydratedTemplateButton PROTOBUF_FINAL :
}
void UnsafeArenaSwap(HydratedTemplateButton* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline HydratedTemplateButton* New() const final {
- return CreateMaybeMessage<HydratedTemplateButton>(nullptr);
+ return new HydratedTemplateButton();
}
HydratedTemplateButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<HydratedTemplateButton>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HydratedTemplateButton& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const HydratedTemplateButton& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -1936,8 +1953,8 @@ class HydratedTemplateButton PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HydratedTemplateButton* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -1945,19 +1962,17 @@ class HydratedTemplateButton PROTOBUF_FINAL :
return "proto.HydratedTemplateButton";
}
protected:
- explicit HydratedTemplateButton(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -1989,7 +2004,7 @@ class HydratedTemplateButton PROTOBUF_FINAL :
public:
void clear_quickreplybutton();
const ::proto::HydratedQuickReplyButton& quickreplybutton() const;
- ::proto::HydratedQuickReplyButton* release_quickreplybutton();
+ PROTOBUF_MUST_USE_RESULT ::proto::HydratedQuickReplyButton* release_quickreplybutton();
::proto::HydratedQuickReplyButton* mutable_quickreplybutton();
void set_allocated_quickreplybutton(::proto::HydratedQuickReplyButton* quickreplybutton);
private:
@@ -2007,7 +2022,7 @@ class HydratedTemplateButton PROTOBUF_FINAL :
public:
void clear_urlbutton();
const ::proto::HydratedURLButton& urlbutton() const;
- ::proto::HydratedURLButton* release_urlbutton();
+ PROTOBUF_MUST_USE_RESULT ::proto::HydratedURLButton* release_urlbutton();
::proto::HydratedURLButton* mutable_urlbutton();
void set_allocated_urlbutton(::proto::HydratedURLButton* urlbutton);
private:
@@ -2025,7 +2040,7 @@ class HydratedTemplateButton PROTOBUF_FINAL :
public:
void clear_callbutton();
const ::proto::HydratedCallButton& callbutton() const;
- ::proto::HydratedCallButton* release_callbutton();
+ PROTOBUF_MUST_USE_RESULT ::proto::HydratedCallButton* release_callbutton();
::proto::HydratedCallButton* mutable_callbutton();
void set_allocated_callbutton(::proto::HydratedCallButton* callbutton);
private:
@@ -2067,11 +2082,11 @@ class HydratedTemplateButton PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class QuickReplyButton PROTOBUF_FINAL :
+class QuickReplyButton final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.QuickReplyButton) */ {
public:
inline QuickReplyButton() : QuickReplyButton(nullptr) {}
- virtual ~QuickReplyButton();
+ ~QuickReplyButton() override;
explicit constexpr QuickReplyButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
QuickReplyButton(const QuickReplyButton& from);
@@ -2085,8 +2100,13 @@ class QuickReplyButton PROTOBUF_FINAL :
return *this;
}
inline QuickReplyButton& operator=(QuickReplyButton&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -2104,10 +2124,10 @@ class QuickReplyButton PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const QuickReplyButton& default_instance() {
return *internal_default_instance();
@@ -2124,7 +2144,7 @@ class QuickReplyButton PROTOBUF_FINAL :
}
inline void Swap(QuickReplyButton* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -2132,23 +2152,26 @@ class QuickReplyButton PROTOBUF_FINAL :
}
void UnsafeArenaSwap(QuickReplyButton* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline QuickReplyButton* New() const final {
- return CreateMaybeMessage<QuickReplyButton>(nullptr);
+ return new QuickReplyButton();
}
QuickReplyButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<QuickReplyButton>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const QuickReplyButton& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const QuickReplyButton& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -2159,8 +2182,8 @@ class QuickReplyButton PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(QuickReplyButton* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -2168,19 +2191,17 @@ class QuickReplyButton PROTOBUF_FINAL :
return "proto.QuickReplyButton";
}
protected:
- explicit QuickReplyButton(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -2197,16 +2218,14 @@ class QuickReplyButton PROTOBUF_FINAL :
public:
void clear_id();
const std::string& id() const;
- void set_id(const std::string& value);
- void set_id(std::string&& value);
- void set_id(const char* value);
- void set_id(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_id();
- std::string* release_id();
+ PROTOBUF_MUST_USE_RESULT std::string* release_id();
void set_allocated_id(std::string* id);
private:
const std::string& _internal_id() const;
- void _internal_set_id(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value);
std::string* _internal_mutable_id();
public:
@@ -2217,7 +2236,7 @@ class QuickReplyButton PROTOBUF_FINAL :
public:
void clear_displaytext();
const ::proto::HighlyStructuredMessage& displaytext() const;
- ::proto::HighlyStructuredMessage* release_displaytext();
+ PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_displaytext();
::proto::HighlyStructuredMessage* mutable_displaytext();
void set_allocated_displaytext(::proto::HighlyStructuredMessage* displaytext);
private:
@@ -2243,11 +2262,11 @@ class QuickReplyButton PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class URLButton PROTOBUF_FINAL :
+class URLButton final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.URLButton) */ {
public:
inline URLButton() : URLButton(nullptr) {}
- virtual ~URLButton();
+ ~URLButton() override;
explicit constexpr URLButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
URLButton(const URLButton& from);
@@ -2261,8 +2280,13 @@ class URLButton PROTOBUF_FINAL :
return *this;
}
inline URLButton& operator=(URLButton&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -2280,10 +2304,10 @@ class URLButton PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const URLButton& default_instance() {
return *internal_default_instance();
@@ -2300,7 +2324,7 @@ class URLButton PROTOBUF_FINAL :
}
inline void Swap(URLButton* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -2308,23 +2332,26 @@ class URLButton PROTOBUF_FINAL :
}
void UnsafeArenaSwap(URLButton* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline URLButton* New() const final {
- return CreateMaybeMessage<URLButton>(nullptr);
+ return new URLButton();
}
URLButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<URLButton>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const URLButton& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const URLButton& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -2335,8 +2362,8 @@ class URLButton PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(URLButton* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -2344,19 +2371,17 @@ class URLButton PROTOBUF_FINAL :
return "proto.URLButton";
}
protected:
- explicit URLButton(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -2373,7 +2398,7 @@ class URLButton PROTOBUF_FINAL :
public:
void clear_displaytext();
const ::proto::HighlyStructuredMessage& displaytext() const;
- ::proto::HighlyStructuredMessage* release_displaytext();
+ PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_displaytext();
::proto::HighlyStructuredMessage* mutable_displaytext();
void set_allocated_displaytext(::proto::HighlyStructuredMessage* displaytext);
private:
@@ -2391,7 +2416,7 @@ class URLButton PROTOBUF_FINAL :
public:
void clear_url();
const ::proto::HighlyStructuredMessage& url() const;
- ::proto::HighlyStructuredMessage* release_url();
+ PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_url();
::proto::HighlyStructuredMessage* mutable_url();
void set_allocated_url(::proto::HighlyStructuredMessage* url);
private:
@@ -2417,11 +2442,11 @@ class URLButton PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class CallButton PROTOBUF_FINAL :
+class CallButton final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.CallButton) */ {
public:
inline CallButton() : CallButton(nullptr) {}
- virtual ~CallButton();
+ ~CallButton() override;
explicit constexpr CallButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
CallButton(const CallButton& from);
@@ -2435,8 +2460,13 @@ class CallButton PROTOBUF_FINAL :
return *this;
}
inline CallButton& operator=(CallButton&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -2454,10 +2484,10 @@ class CallButton PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const CallButton& default_instance() {
return *internal_default_instance();
@@ -2474,7 +2504,7 @@ class CallButton PROTOBUF_FINAL :
}
inline void Swap(CallButton* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -2482,23 +2512,26 @@ class CallButton PROTOBUF_FINAL :
}
void UnsafeArenaSwap(CallButton* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline CallButton* New() const final {
- return CreateMaybeMessage<CallButton>(nullptr);
+ return new CallButton();
}
CallButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<CallButton>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const CallButton& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const CallButton& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -2509,8 +2542,8 @@ class CallButton PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(CallButton* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -2518,19 +2551,17 @@ class CallButton PROTOBUF_FINAL :
return "proto.CallButton";
}
protected:
- explicit CallButton(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -2547,7 +2578,7 @@ class CallButton PROTOBUF_FINAL :
public:
void clear_displaytext();
const ::proto::HighlyStructuredMessage& displaytext() const;
- ::proto::HighlyStructuredMessage* release_displaytext();
+ PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_displaytext();
::proto::HighlyStructuredMessage* mutable_displaytext();
void set_allocated_displaytext(::proto::HighlyStructuredMessage* displaytext);
private:
@@ -2565,7 +2596,7 @@ class CallButton PROTOBUF_FINAL :
public:
void clear_phonenumber();
const ::proto::HighlyStructuredMessage& phonenumber() const;
- ::proto::HighlyStructuredMessage* release_phonenumber();
+ PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_phonenumber();
::proto::HighlyStructuredMessage* mutable_phonenumber();
void set_allocated_phonenumber(::proto::HighlyStructuredMessage* phonenumber);
private:
@@ -2591,11 +2622,11 @@ class CallButton PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class TemplateButton PROTOBUF_FINAL :
+class TemplateButton final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.TemplateButton) */ {
public:
inline TemplateButton() : TemplateButton(nullptr) {}
- virtual ~TemplateButton();
+ ~TemplateButton() override;
explicit constexpr TemplateButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
TemplateButton(const TemplateButton& from);
@@ -2609,8 +2640,13 @@ class TemplateButton PROTOBUF_FINAL :
return *this;
}
inline TemplateButton& operator=(TemplateButton&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -2628,10 +2664,10 @@ class TemplateButton PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const TemplateButton& default_instance() {
return *internal_default_instance();
@@ -2655,7 +2691,7 @@ class TemplateButton PROTOBUF_FINAL :
}
inline void Swap(TemplateButton* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -2663,23 +2699,26 @@ class TemplateButton PROTOBUF_FINAL :
}
void UnsafeArenaSwap(TemplateButton* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline TemplateButton* New() const final {
- return CreateMaybeMessage<TemplateButton>(nullptr);
+ return new TemplateButton();
}
TemplateButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<TemplateButton>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const TemplateButton& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const TemplateButton& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -2690,8 +2729,8 @@ class TemplateButton PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(TemplateButton* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -2699,19 +2738,17 @@ class TemplateButton PROTOBUF_FINAL :
return "proto.TemplateButton";
}
protected:
- explicit TemplateButton(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -2743,7 +2780,7 @@ class TemplateButton PROTOBUF_FINAL :
public:
void clear_quickreplybutton();
const ::proto::QuickReplyButton& quickreplybutton() const;
- ::proto::QuickReplyButton* release_quickreplybutton();
+ PROTOBUF_MUST_USE_RESULT ::proto::QuickReplyButton* release_quickreplybutton();
::proto::QuickReplyButton* mutable_quickreplybutton();
void set_allocated_quickreplybutton(::proto::QuickReplyButton* quickreplybutton);
private:
@@ -2761,7 +2798,7 @@ class TemplateButton PROTOBUF_FINAL :
public:
void clear_urlbutton();
const ::proto::URLButton& urlbutton() const;
- ::proto::URLButton* release_urlbutton();
+ PROTOBUF_MUST_USE_RESULT ::proto::URLButton* release_urlbutton();
::proto::URLButton* mutable_urlbutton();
void set_allocated_urlbutton(::proto::URLButton* urlbutton);
private:
@@ -2779,7 +2816,7 @@ class TemplateButton PROTOBUF_FINAL :
public:
void clear_callbutton();
const ::proto::CallButton& callbutton() const;
- ::proto::CallButton* release_callbutton();
+ PROTOBUF_MUST_USE_RESULT ::proto::CallButton* release_callbutton();
::proto::CallButton* mutable_callbutton();
void set_allocated_callbutton(::proto::CallButton* callbutton);
private:
@@ -2821,11 +2858,11 @@ class TemplateButton PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class Location PROTOBUF_FINAL :
+class Location final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.Location) */ {
public:
inline Location() : Location(nullptr) {}
- virtual ~Location();
+ ~Location() override;
explicit constexpr Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Location(const Location& from);
@@ -2839,8 +2876,13 @@ class Location PROTOBUF_FINAL :
return *this;
}
inline Location& operator=(Location&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -2858,10 +2900,10 @@ class Location PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const Location& default_instance() {
return *internal_default_instance();
@@ -2878,7 +2920,7 @@ class Location PROTOBUF_FINAL :
}
inline void Swap(Location* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -2886,23 +2928,26 @@ class Location PROTOBUF_FINAL :
}
void UnsafeArenaSwap(Location* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline Location* New() const final {
- return CreateMaybeMessage<Location>(nullptr);
+ return new Location();
}
Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<Location>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Location& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const Location& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -2913,8 +2958,8 @@ class Location PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Location* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -2922,19 +2967,17 @@ class Location PROTOBUF_FINAL :
return "proto.Location";
}
protected:
- explicit Location(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -2952,16 +2995,14 @@ class Location PROTOBUF_FINAL :
public:
void clear_name();
const std::string& name() const;
- void set_name(const std::string& value);
- void set_name(std::string&& value);
- void set_name(const char* value);
- void set_name(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_name(ArgT0&& arg0, ArgT... args);
std::string* mutable_name();
- std::string* release_name();
+ PROTOBUF_MUST_USE_RESULT std::string* release_name();
void set_allocated_name(std::string* name);
private:
const std::string& _internal_name() const;
- void _internal_set_name(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
std::string* _internal_mutable_name();
public:
@@ -3007,11 +3048,11 @@ class Location PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class Point PROTOBUF_FINAL :
+class Point final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.Point) */ {
public:
inline Point() : Point(nullptr) {}
- virtual ~Point();
+ ~Point() override;
explicit constexpr Point(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Point(const Point& from);
@@ -3025,8 +3066,13 @@ class Point PROTOBUF_FINAL :
return *this;
}
inline Point& operator=(Point&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -3044,10 +3090,10 @@ class Point PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const Point& default_instance() {
return *internal_default_instance();
@@ -3064,7 +3110,7 @@ class Point PROTOBUF_FINAL :
}
inline void Swap(Point* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -3072,23 +3118,26 @@ class Point PROTOBUF_FINAL :
}
void UnsafeArenaSwap(Point* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline Point* New() const final {
- return CreateMaybeMessage<Point>(nullptr);
+ return new Point();
}
Point* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<Point>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Point& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const Point& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -3099,8 +3148,8 @@ class Point PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Point* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -3108,19 +3157,17 @@ class Point PROTOBUF_FINAL :
return "proto.Point";
}
protected:
- explicit Point(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -3201,11 +3248,11 @@ class Point PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class InteractiveAnnotation PROTOBUF_FINAL :
+class InteractiveAnnotation final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.InteractiveAnnotation) */ {
public:
inline InteractiveAnnotation() : InteractiveAnnotation(nullptr) {}
- virtual ~InteractiveAnnotation();
+ ~InteractiveAnnotation() override;
explicit constexpr InteractiveAnnotation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
InteractiveAnnotation(const InteractiveAnnotation& from);
@@ -3219,8 +3266,13 @@ class InteractiveAnnotation PROTOBUF_FINAL :
return *this;
}
inline InteractiveAnnotation& operator=(InteractiveAnnotation&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -3238,10 +3290,10 @@ class InteractiveAnnotation PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const InteractiveAnnotation& default_instance() {
return *internal_default_instance();
@@ -3263,7 +3315,7 @@ class InteractiveAnnotation PROTOBUF_FINAL :
}
inline void Swap(InteractiveAnnotation* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -3271,23 +3323,26 @@ class InteractiveAnnotation PROTOBUF_FINAL :
}
void UnsafeArenaSwap(InteractiveAnnotation* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline InteractiveAnnotation* New() const final {
- return CreateMaybeMessage<InteractiveAnnotation>(nullptr);
+ return new InteractiveAnnotation();
}
InteractiveAnnotation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<InteractiveAnnotation>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const InteractiveAnnotation& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const InteractiveAnnotation& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -3298,8 +3353,8 @@ class InteractiveAnnotation PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(InteractiveAnnotation* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -3307,19 +3362,17 @@ class InteractiveAnnotation PROTOBUF_FINAL :
return "proto.InteractiveAnnotation";
}
protected:
- explicit InteractiveAnnotation(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -3354,7 +3407,7 @@ class InteractiveAnnotation PROTOBUF_FINAL :
public:
void clear_location();
const ::proto::Location& location() const;
- ::proto::Location* release_location();
+ PROTOBUF_MUST_USE_RESULT ::proto::Location* release_location();
::proto::Location* mutable_location();
void set_allocated_location(::proto::Location* location);
private:
@@ -3391,11 +3444,11 @@ class InteractiveAnnotation PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class DeviceListMetadata PROTOBUF_FINAL :
+class DeviceListMetadata final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.DeviceListMetadata) */ {
public:
inline DeviceListMetadata() : DeviceListMetadata(nullptr) {}
- virtual ~DeviceListMetadata();
+ ~DeviceListMetadata() override;
explicit constexpr DeviceListMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
DeviceListMetadata(const DeviceListMetadata& from);
@@ -3409,8 +3462,13 @@ class DeviceListMetadata PROTOBUF_FINAL :
return *this;
}
inline DeviceListMetadata& operator=(DeviceListMetadata&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -3428,10 +3486,10 @@ class DeviceListMetadata PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const DeviceListMetadata& default_instance() {
return *internal_default_instance();
@@ -3448,7 +3506,7 @@ class DeviceListMetadata PROTOBUF_FINAL :
}
inline void Swap(DeviceListMetadata* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -3456,23 +3514,26 @@ class DeviceListMetadata PROTOBUF_FINAL :
}
void UnsafeArenaSwap(DeviceListMetadata* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline DeviceListMetadata* New() const final {
- return CreateMaybeMessage<DeviceListMetadata>(nullptr);
+ return new DeviceListMetadata();
}
DeviceListMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<DeviceListMetadata>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const DeviceListMetadata& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const DeviceListMetadata& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -3483,8 +3544,8 @@ class DeviceListMetadata PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(DeviceListMetadata* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -3492,19 +3553,17 @@ class DeviceListMetadata PROTOBUF_FINAL :
return "proto.DeviceListMetadata";
}
protected:
- explicit DeviceListMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -3523,16 +3582,14 @@ class DeviceListMetadata PROTOBUF_FINAL :
public:
void clear_senderkeyhash();
const std::string& senderkeyhash() const;
- void set_senderkeyhash(const std::string& value);
- void set_senderkeyhash(std::string&& value);
- void set_senderkeyhash(const char* value);
- void set_senderkeyhash(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_senderkeyhash(ArgT0&& arg0, ArgT... args);
std::string* mutable_senderkeyhash();
- std::string* release_senderkeyhash();
+ PROTOBUF_MUST_USE_RESULT std::string* release_senderkeyhash();
void set_allocated_senderkeyhash(std::string* senderkeyhash);
private:
const std::string& _internal_senderkeyhash() const;
- void _internal_set_senderkeyhash(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_senderkeyhash(const std::string& value);
std::string* _internal_mutable_senderkeyhash();
public:
@@ -3543,16 +3600,14 @@ class DeviceListMetadata PROTOBUF_FINAL :
public:
void clear_recipientkeyhash();
const std::string& recipientkeyhash() const;
- void set_recipientkeyhash(const std::string& value);
- void set_recipientkeyhash(std::string&& value);
- void set_recipientkeyhash(const char* value);
- void set_recipientkeyhash(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_recipientkeyhash(ArgT0&& arg0, ArgT... args);
std::string* mutable_recipientkeyhash();
- std::string* release_recipientkeyhash();
+ PROTOBUF_MUST_USE_RESULT std::string* release_recipientkeyhash();
void set_allocated_recipientkeyhash(std::string* recipientkeyhash);
private:
const std::string& _internal_recipientkeyhash() const;
- void _internal_set_recipientkeyhash(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_recipientkeyhash(const std::string& value);
std::string* _internal_mutable_recipientkeyhash();
public:
@@ -3599,11 +3654,11 @@ class DeviceListMetadata PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class MessageContextInfo PROTOBUF_FINAL :
+class MessageContextInfo final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.MessageContextInfo) */ {
public:
inline MessageContextInfo() : MessageContextInfo(nullptr) {}
- virtual ~MessageContextInfo();
+ ~MessageContextInfo() override;
explicit constexpr MessageContextInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
MessageContextInfo(const MessageContextInfo& from);
@@ -3617,8 +3672,13 @@ class MessageContextInfo PROTOBUF_FINAL :
return *this;
}
inline MessageContextInfo& operator=(MessageContextInfo&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -3636,10 +3696,10 @@ class MessageContextInfo PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const MessageContextInfo& default_instance() {
return *internal_default_instance();
@@ -3656,7 +3716,7 @@ class MessageContextInfo PROTOBUF_FINAL :
}
inline void Swap(MessageContextInfo* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -3664,23 +3724,26 @@ class MessageContextInfo PROTOBUF_FINAL :
}
void UnsafeArenaSwap(MessageContextInfo* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline MessageContextInfo* New() const final {
- return CreateMaybeMessage<MessageContextInfo>(nullptr);
+ return new MessageContextInfo();
}
MessageContextInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<MessageContextInfo>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const MessageContextInfo& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const MessageContextInfo& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -3691,8 +3754,8 @@ class MessageContextInfo PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(MessageContextInfo* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -3700,19 +3763,17 @@ class MessageContextInfo PROTOBUF_FINAL :
return "proto.MessageContextInfo";
}
protected:
- explicit MessageContextInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -3728,7 +3789,7 @@ class MessageContextInfo PROTOBUF_FINAL :
public:
void clear_devicelistmetadata();
const ::proto::DeviceListMetadata& devicelistmetadata() const;
- ::proto::DeviceListMetadata* release_devicelistmetadata();
+ PROTOBUF_MUST_USE_RESULT ::proto::DeviceListMetadata* release_devicelistmetadata();
::proto::DeviceListMetadata* mutable_devicelistmetadata();
void set_allocated_devicelistmetadata(::proto::DeviceListMetadata* devicelistmetadata);
private:
@@ -3753,11 +3814,11 @@ class MessageContextInfo PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class AdReplyInfo PROTOBUF_FINAL :
+class AdReplyInfo final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.AdReplyInfo) */ {
public:
inline AdReplyInfo() : AdReplyInfo(nullptr) {}
- virtual ~AdReplyInfo();
+ ~AdReplyInfo() override;
explicit constexpr AdReplyInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AdReplyInfo(const AdReplyInfo& from);
@@ -3771,8 +3832,13 @@ class AdReplyInfo PROTOBUF_FINAL :
return *this;
}
inline AdReplyInfo& operator=(AdReplyInfo&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -3790,10 +3856,10 @@ class AdReplyInfo PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const AdReplyInfo& default_instance() {
return *internal_default_instance();
@@ -3810,7 +3876,7 @@ class AdReplyInfo PROTOBUF_FINAL :
}
inline void Swap(AdReplyInfo* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -3818,23 +3884,26 @@ class AdReplyInfo PROTOBUF_FINAL :
}
void UnsafeArenaSwap(AdReplyInfo* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline AdReplyInfo* New() const final {
- return CreateMaybeMessage<AdReplyInfo>(nullptr);
+ return new AdReplyInfo();
}
AdReplyInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<AdReplyInfo>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AdReplyInfo& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const AdReplyInfo& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -3845,8 +3914,8 @@ class AdReplyInfo PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AdReplyInfo* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -3854,19 +3923,17 @@ class AdReplyInfo PROTOBUF_FINAL :
return "proto.AdReplyInfo";
}
protected:
- explicit AdReplyInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -3917,16 +3984,14 @@ class AdReplyInfo PROTOBUF_FINAL :
public:
void clear_advertisername();
const std::string& advertisername() const;
- void set_advertisername(const std::string& value);
- void set_advertisername(std::string&& value);
- void set_advertisername(const char* value);
- void set_advertisername(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_advertisername(ArgT0&& arg0, ArgT... args);
std::string* mutable_advertisername();
- std::string* release_advertisername();
+ PROTOBUF_MUST_USE_RESULT std::string* release_advertisername();
void set_allocated_advertisername(std::string* advertisername);
private:
const std::string& _internal_advertisername() const;
- void _internal_set_advertisername(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_advertisername(const std::string& value);
std::string* _internal_mutable_advertisername();
public:
@@ -3937,16 +4002,14 @@ class AdReplyInfo PROTOBUF_FINAL :
public:
void clear_jpegthumbnail();
const std::string& jpegthumbnail() const;
- void set_jpegthumbnail(const std::string& value);
- void set_jpegthumbnail(std::string&& value);
- void set_jpegthumbnail(const char* value);
- void set_jpegthumbnail(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- std::string* release_jpegthumbnail();
+ PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
- void _internal_set_jpegthumbnail(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_jpegthumbnail(const std::string& value);
std::string* _internal_mutable_jpegthumbnail();
public:
@@ -3957,16 +4020,14 @@ class AdReplyInfo PROTOBUF_FINAL :
public:
void clear_caption();
const std::string& caption() const;
- void set_caption(const std::string& value);
- void set_caption(std::string&& value);
- void set_caption(const char* value);
- void set_caption(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_caption(ArgT0&& arg0, ArgT... args);
std::string* mutable_caption();
- std::string* release_caption();
+ PROTOBUF_MUST_USE_RESULT std::string* release_caption();
void set_allocated_caption(std::string* caption);
private:
const std::string& _internal_caption() const;
- void _internal_set_caption(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_caption(const std::string& value);
std::string* _internal_mutable_caption();
public:
@@ -4000,11 +4061,11 @@ class AdReplyInfo PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class ExternalAdReplyInfo PROTOBUF_FINAL :
+class ExternalAdReplyInfo final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.ExternalAdReplyInfo) */ {
public:
inline ExternalAdReplyInfo() : ExternalAdReplyInfo(nullptr) {}
- virtual ~ExternalAdReplyInfo();
+ ~ExternalAdReplyInfo() override;
explicit constexpr ExternalAdReplyInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ExternalAdReplyInfo(const ExternalAdReplyInfo& from);
@@ -4018,8 +4079,13 @@ class ExternalAdReplyInfo PROTOBUF_FINAL :
return *this;
}
inline ExternalAdReplyInfo& operator=(ExternalAdReplyInfo&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -4037,10 +4103,10 @@ class ExternalAdReplyInfo PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const ExternalAdReplyInfo& default_instance() {
return *internal_default_instance();
@@ -4057,7 +4123,7 @@ class ExternalAdReplyInfo PROTOBUF_FINAL :
}
inline void Swap(ExternalAdReplyInfo* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -4065,23 +4131,26 @@ class ExternalAdReplyInfo PROTOBUF_FINAL :
}
void UnsafeArenaSwap(ExternalAdReplyInfo* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ExternalAdReplyInfo* New() const final {
- return CreateMaybeMessage<ExternalAdReplyInfo>(nullptr);
+ return new ExternalAdReplyInfo();
}
ExternalAdReplyInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ExternalAdReplyInfo>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ExternalAdReplyInfo& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ExternalAdReplyInfo& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -4092,8 +4161,8 @@ class ExternalAdReplyInfo PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ExternalAdReplyInfo* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -4101,19 +4170,17 @@ class ExternalAdReplyInfo PROTOBUF_FINAL :
return "proto.ExternalAdReplyInfo";
}
protected:
- explicit ExternalAdReplyInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -4169,16 +4236,14 @@ class ExternalAdReplyInfo PROTOBUF_FINAL :
public:
void clear_title();
const std::string& title() const;
- void set_title(const std::string& value);
- void set_title(std::string&& value);
- void set_title(const char* value);
- void set_title(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- std::string* release_title();
+ PROTOBUF_MUST_USE_RESULT std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
- void _internal_set_title(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value);
std::string* _internal_mutable_title();
public:
@@ -4189,16 +4254,14 @@ class ExternalAdReplyInfo PROTOBUF_FINAL :
public:
void clear_body();
const std::string& body() const;
- void set_body(const std::string& value);
- void set_body(std::string&& value);
- void set_body(const char* value);
- void set_body(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_body(ArgT0&& arg0, ArgT... args);
std::string* mutable_body();
- std::string* release_body();
+ PROTOBUF_MUST_USE_RESULT std::string* release_body();
void set_allocated_body(std::string* body);
private:
const std::string& _internal_body() const;
- void _internal_set_body(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_body(const std::string& value);
std::string* _internal_mutable_body();
public:
@@ -4209,16 +4272,14 @@ class ExternalAdReplyInfo PROTOBUF_FINAL :
public:
void clear_thumbnailurl();
const std::string& thumbnailurl() const;
- void set_thumbnailurl(const std::string& value);
- void set_thumbnailurl(std::string&& value);
- void set_thumbnailurl(const char* value);
- void set_thumbnailurl(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_thumbnailurl(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnailurl();
- std::string* release_thumbnailurl();
+ PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailurl();
void set_allocated_thumbnailurl(std::string* thumbnailurl);
private:
const std::string& _internal_thumbnailurl() const;
- void _internal_set_thumbnailurl(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_thumbnailurl(const std::string& value);
std::string* _internal_mutable_thumbnailurl();
public:
@@ -4229,16 +4290,14 @@ class ExternalAdReplyInfo PROTOBUF_FINAL :
public:
void clear_mediaurl();
const std::string& mediaurl() const;
- void set_mediaurl(const std::string& value);
- void set_mediaurl(std::string&& value);
- void set_mediaurl(const char* value);
- void set_mediaurl(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_mediaurl(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediaurl();
- std::string* release_mediaurl();
+ PROTOBUF_MUST_USE_RESULT std::string* release_mediaurl();
void set_allocated_mediaurl(std::string* mediaurl);
private:
const std::string& _internal_mediaurl() const;
- void _internal_set_mediaurl(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_mediaurl(const std::string& value);
std::string* _internal_mutable_mediaurl();
public:
@@ -4249,16 +4308,14 @@ class ExternalAdReplyInfo PROTOBUF_FINAL :
public:
void clear_thumbnail();
const std::string& thumbnail() const;
- void set_thumbnail(const std::string& value);
- void set_thumbnail(std::string&& value);
- void set_thumbnail(const char* value);
- void set_thumbnail(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_thumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnail();
- std::string* release_thumbnail();
+ PROTOBUF_MUST_USE_RESULT std::string* release_thumbnail();
void set_allocated_thumbnail(std::string* thumbnail);
private:
const std::string& _internal_thumbnail() const;
- void _internal_set_thumbnail(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_thumbnail(const std::string& value);
std::string* _internal_mutable_thumbnail();
public:
@@ -4269,16 +4326,14 @@ class ExternalAdReplyInfo PROTOBUF_FINAL :
public:
void clear_sourcetype();
const std::string& sourcetype() const;
- void set_sourcetype(const std::string& value);
- void set_sourcetype(std::string&& value);
- void set_sourcetype(const char* value);
- void set_sourcetype(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_sourcetype(ArgT0&& arg0, ArgT... args);
std::string* mutable_sourcetype();
- std::string* release_sourcetype();
+ PROTOBUF_MUST_USE_RESULT std::string* release_sourcetype();
void set_allocated_sourcetype(std::string* sourcetype);
private:
const std::string& _internal_sourcetype() const;
- void _internal_set_sourcetype(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_sourcetype(const std::string& value);
std::string* _internal_mutable_sourcetype();
public:
@@ -4289,16 +4344,14 @@ class ExternalAdReplyInfo PROTOBUF_FINAL :
public:
void clear_sourceid();
const std::string& sourceid() const;
- void set_sourceid(const std::string& value);
- void set_sourceid(std::string&& value);
- void set_sourceid(const char* value);
- void set_sourceid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_sourceid(ArgT0&& arg0, ArgT... args);
std::string* mutable_sourceid();
- std::string* release_sourceid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_sourceid();
void set_allocated_sourceid(std::string* sourceid);
private:
const std::string& _internal_sourceid() const;
- void _internal_set_sourceid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_sourceid(const std::string& value);
std::string* _internal_mutable_sourceid();
public:
@@ -4309,16 +4362,14 @@ class ExternalAdReplyInfo PROTOBUF_FINAL :
public:
void clear_sourceurl();
const std::string& sourceurl() const;
- void set_sourceurl(const std::string& value);
- void set_sourceurl(std::string&& value);
- void set_sourceurl(const char* value);
- void set_sourceurl(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_sourceurl(ArgT0&& arg0, ArgT... args);
std::string* mutable_sourceurl();
- std::string* release_sourceurl();
+ PROTOBUF_MUST_USE_RESULT std::string* release_sourceurl();
void set_allocated_sourceurl(std::string* sourceurl);
private:
const std::string& _internal_sourceurl() const;
- void _internal_set_sourceurl(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_sourceurl(const std::string& value);
std::string* _internal_mutable_sourceurl();
public:
@@ -4357,11 +4408,11 @@ class ExternalAdReplyInfo PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class ContextInfo PROTOBUF_FINAL :
+class ContextInfo final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.ContextInfo) */ {
public:
inline ContextInfo() : ContextInfo(nullptr) {}
- virtual ~ContextInfo();
+ ~ContextInfo() override;
explicit constexpr ContextInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ContextInfo(const ContextInfo& from);
@@ -4375,8 +4426,13 @@ class ContextInfo PROTOBUF_FINAL :
return *this;
}
inline ContextInfo& operator=(ContextInfo&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -4394,10 +4450,10 @@ class ContextInfo PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const ContextInfo& default_instance() {
return *internal_default_instance();
@@ -4414,7 +4470,7 @@ class ContextInfo PROTOBUF_FINAL :
}
inline void Swap(ContextInfo* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -4422,23 +4478,26 @@ class ContextInfo PROTOBUF_FINAL :
}
void UnsafeArenaSwap(ContextInfo* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ContextInfo* New() const final {
- return CreateMaybeMessage<ContextInfo>(nullptr);
+ return new ContextInfo();
}
ContextInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ContextInfo>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ContextInfo& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ContextInfo& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -4449,8 +4508,8 @@ class ContextInfo PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ContextInfo* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -4458,19 +4517,17 @@ class ContextInfo PROTOBUF_FINAL :
return "proto.ContextInfo";
}
protected:
- explicit ContextInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -4525,16 +4582,14 @@ class ContextInfo PROTOBUF_FINAL :
public:
void clear_stanzaid();
const std::string& stanzaid() const;
- void set_stanzaid(const std::string& value);
- void set_stanzaid(std::string&& value);
- void set_stanzaid(const char* value);
- void set_stanzaid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_stanzaid(ArgT0&& arg0, ArgT... args);
std::string* mutable_stanzaid();
- std::string* release_stanzaid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_stanzaid();
void set_allocated_stanzaid(std::string* stanzaid);
private:
const std::string& _internal_stanzaid() const;
- void _internal_set_stanzaid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_stanzaid(const std::string& value);
std::string* _internal_mutable_stanzaid();
public:
@@ -4545,16 +4600,14 @@ class ContextInfo PROTOBUF_FINAL :
public:
void clear_participant();
const std::string& participant() const;
- void set_participant(const std::string& value);
- void set_participant(std::string&& value);
- void set_participant(const char* value);
- void set_participant(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_participant(ArgT0&& arg0, ArgT... args);
std::string* mutable_participant();
- std::string* release_participant();
+ PROTOBUF_MUST_USE_RESULT std::string* release_participant();
void set_allocated_participant(std::string* participant);
private:
const std::string& _internal_participant() const;
- void _internal_set_participant(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_participant(const std::string& value);
std::string* _internal_mutable_participant();
public:
@@ -4565,16 +4618,14 @@ class ContextInfo PROTOBUF_FINAL :
public:
void clear_remotejid();
const std::string& remotejid() const;
- void set_remotejid(const std::string& value);
- void set_remotejid(std::string&& value);
- void set_remotejid(const char* value);
- void set_remotejid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_remotejid(ArgT0&& arg0, ArgT... args);
std::string* mutable_remotejid();
- std::string* release_remotejid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_remotejid();
void set_allocated_remotejid(std::string* remotejid);
private:
const std::string& _internal_remotejid() const;
- void _internal_set_remotejid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_remotejid(const std::string& value);
std::string* _internal_mutable_remotejid();
public:
@@ -4585,16 +4636,14 @@ class ContextInfo PROTOBUF_FINAL :
public:
void clear_conversionsource();
const std::string& conversionsource() const;
- void set_conversionsource(const std::string& value);
- void set_conversionsource(std::string&& value);
- void set_conversionsource(const char* value);
- void set_conversionsource(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_conversionsource(ArgT0&& arg0, ArgT... args);
std::string* mutable_conversionsource();
- std::string* release_conversionsource();
+ PROTOBUF_MUST_USE_RESULT std::string* release_conversionsource();
void set_allocated_conversionsource(std::string* conversionsource);
private:
const std::string& _internal_conversionsource() const;
- void _internal_set_conversionsource(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_conversionsource(const std::string& value);
std::string* _internal_mutable_conversionsource();
public:
@@ -4605,16 +4654,14 @@ class ContextInfo PROTOBUF_FINAL :
public:
void clear_conversiondata();
const std::string& conversiondata() const;
- void set_conversiondata(const std::string& value);
- void set_conversiondata(std::string&& value);
- void set_conversiondata(const char* value);
- void set_conversiondata(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_conversiondata(ArgT0&& arg0, ArgT... args);
std::string* mutable_conversiondata();
- std::string* release_conversiondata();
+ PROTOBUF_MUST_USE_RESULT std::string* release_conversiondata();
void set_allocated_conversiondata(std::string* conversiondata);
private:
const std::string& _internal_conversiondata() const;
- void _internal_set_conversiondata(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_conversiondata(const std::string& value);
std::string* _internal_mutable_conversiondata();
public:
@@ -4625,16 +4672,14 @@ class ContextInfo PROTOBUF_FINAL :
public:
void clear_ephemeralsharedsecret();
const std::string& ephemeralsharedsecret() const;
- void set_ephemeralsharedsecret(const std::string& value);
- void set_ephemeralsharedsecret(std::string&& value);
- void set_ephemeralsharedsecret(const char* value);
- void set_ephemeralsharedsecret(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_ephemeralsharedsecret(ArgT0&& arg0, ArgT... args);
std::string* mutable_ephemeralsharedsecret();
- std::string* release_ephemeralsharedsecret();
+ PROTOBUF_MUST_USE_RESULT std::string* release_ephemeralsharedsecret();
void set_allocated_ephemeralsharedsecret(std::string* ephemeralsharedsecret);
private:
const std::string& _internal_ephemeralsharedsecret() const;
- void _internal_set_ephemeralsharedsecret(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_ephemeralsharedsecret(const std::string& value);
std::string* _internal_mutable_ephemeralsharedsecret();
public:
@@ -4645,7 +4690,7 @@ class ContextInfo PROTOBUF_FINAL :
public:
void clear_quotedmessage();
const ::proto::Message& quotedmessage() const;
- ::proto::Message* release_quotedmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::Message* release_quotedmessage();
::proto::Message* mutable_quotedmessage();
void set_allocated_quotedmessage(::proto::Message* quotedmessage);
private:
@@ -4663,7 +4708,7 @@ class ContextInfo PROTOBUF_FINAL :
public:
void clear_quotedad();
const ::proto::AdReplyInfo& quotedad() const;
- ::proto::AdReplyInfo* release_quotedad();
+ PROTOBUF_MUST_USE_RESULT ::proto::AdReplyInfo* release_quotedad();
::proto::AdReplyInfo* mutable_quotedad();
void set_allocated_quotedad(::proto::AdReplyInfo* quotedad);
private:
@@ -4681,7 +4726,7 @@ class ContextInfo PROTOBUF_FINAL :
public:
void clear_placeholderkey();
const ::proto::MessageKey& placeholderkey() const;
- ::proto::MessageKey* release_placeholderkey();
+ PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_placeholderkey();
::proto::MessageKey* mutable_placeholderkey();
void set_allocated_placeholderkey(::proto::MessageKey* placeholderkey);
private:
@@ -4699,7 +4744,7 @@ class ContextInfo PROTOBUF_FINAL :
public:
void clear_externaladreply();
const ::proto::ExternalAdReplyInfo& externaladreply() const;
- ::proto::ExternalAdReplyInfo* release_externaladreply();
+ PROTOBUF_MUST_USE_RESULT ::proto::ExternalAdReplyInfo* release_externaladreply();
::proto::ExternalAdReplyInfo* mutable_externaladreply();
void set_allocated_externaladreply(::proto::ExternalAdReplyInfo* externaladreply);
private:
@@ -4804,11 +4849,11 @@ class ContextInfo PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class SenderKeyDistributionMessage PROTOBUF_FINAL :
+class SenderKeyDistributionMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.SenderKeyDistributionMessage) */ {
public:
inline SenderKeyDistributionMessage() : SenderKeyDistributionMessage(nullptr) {}
- virtual ~SenderKeyDistributionMessage();
+ ~SenderKeyDistributionMessage() override;
explicit constexpr SenderKeyDistributionMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
SenderKeyDistributionMessage(const SenderKeyDistributionMessage& from);
@@ -4822,8 +4867,13 @@ class SenderKeyDistributionMessage PROTOBUF_FINAL :
return *this;
}
inline SenderKeyDistributionMessage& operator=(SenderKeyDistributionMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -4841,10 +4891,10 @@ class SenderKeyDistributionMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const SenderKeyDistributionMessage& default_instance() {
return *internal_default_instance();
@@ -4861,7 +4911,7 @@ class SenderKeyDistributionMessage PROTOBUF_FINAL :
}
inline void Swap(SenderKeyDistributionMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -4869,23 +4919,26 @@ class SenderKeyDistributionMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(SenderKeyDistributionMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline SenderKeyDistributionMessage* New() const final {
- return CreateMaybeMessage<SenderKeyDistributionMessage>(nullptr);
+ return new SenderKeyDistributionMessage();
}
SenderKeyDistributionMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<SenderKeyDistributionMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const SenderKeyDistributionMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const SenderKeyDistributionMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -4896,8 +4949,8 @@ class SenderKeyDistributionMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(SenderKeyDistributionMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -4905,19 +4958,17 @@ class SenderKeyDistributionMessage PROTOBUF_FINAL :
return "proto.SenderKeyDistributionMessage";
}
protected:
- explicit SenderKeyDistributionMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -4934,16 +4985,14 @@ class SenderKeyDistributionMessage PROTOBUF_FINAL :
public:
void clear_groupid();
const std::string& groupid() const;
- void set_groupid(const std::string& value);
- void set_groupid(std::string&& value);
- void set_groupid(const char* value);
- void set_groupid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_groupid(ArgT0&& arg0, ArgT... args);
std::string* mutable_groupid();
- std::string* release_groupid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_groupid();
void set_allocated_groupid(std::string* groupid);
private:
const std::string& _internal_groupid() const;
- void _internal_set_groupid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_groupid(const std::string& value);
std::string* _internal_mutable_groupid();
public:
@@ -4954,16 +5003,14 @@ class SenderKeyDistributionMessage PROTOBUF_FINAL :
public:
void clear_axolotlsenderkeydistributionmessage();
const std::string& axolotlsenderkeydistributionmessage() const;
- void set_axolotlsenderkeydistributionmessage(const std::string& value);
- void set_axolotlsenderkeydistributionmessage(std::string&& value);
- void set_axolotlsenderkeydistributionmessage(const char* value);
- void set_axolotlsenderkeydistributionmessage(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_axolotlsenderkeydistributionmessage(ArgT0&& arg0, ArgT... args);
std::string* mutable_axolotlsenderkeydistributionmessage();
- std::string* release_axolotlsenderkeydistributionmessage();
+ PROTOBUF_MUST_USE_RESULT std::string* release_axolotlsenderkeydistributionmessage();
void set_allocated_axolotlsenderkeydistributionmessage(std::string* axolotlsenderkeydistributionmessage);
private:
const std::string& _internal_axolotlsenderkeydistributionmessage() const;
- void _internal_set_axolotlsenderkeydistributionmessage(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_axolotlsenderkeydistributionmessage(const std::string& value);
std::string* _internal_mutable_axolotlsenderkeydistributionmessage();
public:
@@ -4982,11 +5029,11 @@ class SenderKeyDistributionMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class ImageMessage PROTOBUF_FINAL :
+class ImageMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.ImageMessage) */ {
public:
inline ImageMessage() : ImageMessage(nullptr) {}
- virtual ~ImageMessage();
+ ~ImageMessage() override;
explicit constexpr ImageMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ImageMessage(const ImageMessage& from);
@@ -5000,8 +5047,13 @@ class ImageMessage PROTOBUF_FINAL :
return *this;
}
inline ImageMessage& operator=(ImageMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -5019,10 +5071,10 @@ class ImageMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const ImageMessage& default_instance() {
return *internal_default_instance();
@@ -5039,7 +5091,7 @@ class ImageMessage PROTOBUF_FINAL :
}
inline void Swap(ImageMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -5047,23 +5099,26 @@ class ImageMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(ImageMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ImageMessage* New() const final {
- return CreateMaybeMessage<ImageMessage>(nullptr);
+ return new ImageMessage();
}
ImageMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ImageMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ImageMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ImageMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -5074,8 +5129,8 @@ class ImageMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ImageMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -5083,19 +5138,17 @@ class ImageMessage PROTOBUF_FINAL :
return "proto.ImageMessage";
}
protected:
- explicit ImageMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -5175,16 +5228,14 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_url();
const std::string& url() const;
- void set_url(const std::string& value);
- void set_url(std::string&& value);
- void set_url(const char* value);
- void set_url(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- std::string* release_url();
+ PROTOBUF_MUST_USE_RESULT std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
- void _internal_set_url(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value);
std::string* _internal_mutable_url();
public:
@@ -5195,16 +5246,14 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_mimetype();
const std::string& mimetype() const;
- void set_mimetype(const std::string& value);
- void set_mimetype(std::string&& value);
- void set_mimetype(const char* value);
- void set_mimetype(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_mimetype(ArgT0&& arg0, ArgT... args);
std::string* mutable_mimetype();
- std::string* release_mimetype();
+ PROTOBUF_MUST_USE_RESULT std::string* release_mimetype();
void set_allocated_mimetype(std::string* mimetype);
private:
const std::string& _internal_mimetype() const;
- void _internal_set_mimetype(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_mimetype(const std::string& value);
std::string* _internal_mutable_mimetype();
public:
@@ -5215,16 +5264,14 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_caption();
const std::string& caption() const;
- void set_caption(const std::string& value);
- void set_caption(std::string&& value);
- void set_caption(const char* value);
- void set_caption(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_caption(ArgT0&& arg0, ArgT... args);
std::string* mutable_caption();
- std::string* release_caption();
+ PROTOBUF_MUST_USE_RESULT std::string* release_caption();
void set_allocated_caption(std::string* caption);
private:
const std::string& _internal_caption() const;
- void _internal_set_caption(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_caption(const std::string& value);
std::string* _internal_mutable_caption();
public:
@@ -5235,16 +5282,14 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_filesha256();
const std::string& filesha256() const;
- void set_filesha256(const std::string& value);
- void set_filesha256(std::string&& value);
- void set_filesha256(const char* value);
- void set_filesha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_filesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_filesha256();
- std::string* release_filesha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_filesha256();
void set_allocated_filesha256(std::string* filesha256);
private:
const std::string& _internal_filesha256() const;
- void _internal_set_filesha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_filesha256(const std::string& value);
std::string* _internal_mutable_filesha256();
public:
@@ -5255,16 +5300,14 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_mediakey();
const std::string& mediakey() const;
- void set_mediakey(const std::string& value);
- void set_mediakey(std::string&& value);
- void set_mediakey(const char* value);
- void set_mediakey(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_mediakey(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediakey();
- std::string* release_mediakey();
+ PROTOBUF_MUST_USE_RESULT std::string* release_mediakey();
void set_allocated_mediakey(std::string* mediakey);
private:
const std::string& _internal_mediakey() const;
- void _internal_set_mediakey(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_mediakey(const std::string& value);
std::string* _internal_mutable_mediakey();
public:
@@ -5275,16 +5318,14 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_fileencsha256();
const std::string& fileencsha256() const;
- void set_fileencsha256(const std::string& value);
- void set_fileencsha256(std::string&& value);
- void set_fileencsha256(const char* value);
- void set_fileencsha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_fileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_fileencsha256();
- std::string* release_fileencsha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256();
void set_allocated_fileencsha256(std::string* fileencsha256);
private:
const std::string& _internal_fileencsha256() const;
- void _internal_set_fileencsha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_fileencsha256(const std::string& value);
std::string* _internal_mutable_fileencsha256();
public:
@@ -5295,16 +5336,14 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_directpath();
const std::string& directpath() const;
- void set_directpath(const std::string& value);
- void set_directpath(std::string&& value);
- void set_directpath(const char* value);
- void set_directpath(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_directpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_directpath();
- std::string* release_directpath();
+ PROTOBUF_MUST_USE_RESULT std::string* release_directpath();
void set_allocated_directpath(std::string* directpath);
private:
const std::string& _internal_directpath() const;
- void _internal_set_directpath(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_directpath(const std::string& value);
std::string* _internal_mutable_directpath();
public:
@@ -5315,16 +5354,14 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_jpegthumbnail();
const std::string& jpegthumbnail() const;
- void set_jpegthumbnail(const std::string& value);
- void set_jpegthumbnail(std::string&& value);
- void set_jpegthumbnail(const char* value);
- void set_jpegthumbnail(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- std::string* release_jpegthumbnail();
+ PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
- void _internal_set_jpegthumbnail(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_jpegthumbnail(const std::string& value);
std::string* _internal_mutable_jpegthumbnail();
public:
@@ -5335,16 +5372,14 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_firstscansidecar();
const std::string& firstscansidecar() const;
- void set_firstscansidecar(const std::string& value);
- void set_firstscansidecar(std::string&& value);
- void set_firstscansidecar(const char* value);
- void set_firstscansidecar(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_firstscansidecar(ArgT0&& arg0, ArgT... args);
std::string* mutable_firstscansidecar();
- std::string* release_firstscansidecar();
+ PROTOBUF_MUST_USE_RESULT std::string* release_firstscansidecar();
void set_allocated_firstscansidecar(std::string* firstscansidecar);
private:
const std::string& _internal_firstscansidecar() const;
- void _internal_set_firstscansidecar(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_firstscansidecar(const std::string& value);
std::string* _internal_mutable_firstscansidecar();
public:
@@ -5355,16 +5390,14 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_scanssidecar();
const std::string& scanssidecar() const;
- void set_scanssidecar(const std::string& value);
- void set_scanssidecar(std::string&& value);
- void set_scanssidecar(const char* value);
- void set_scanssidecar(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_scanssidecar(ArgT0&& arg0, ArgT... args);
std::string* mutable_scanssidecar();
- std::string* release_scanssidecar();
+ PROTOBUF_MUST_USE_RESULT std::string* release_scanssidecar();
void set_allocated_scanssidecar(std::string* scanssidecar);
private:
const std::string& _internal_scanssidecar() const;
- void _internal_set_scanssidecar(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_scanssidecar(const std::string& value);
std::string* _internal_mutable_scanssidecar();
public:
@@ -5375,16 +5408,14 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_midqualityfilesha256();
const std::string& midqualityfilesha256() const;
- void set_midqualityfilesha256(const std::string& value);
- void set_midqualityfilesha256(std::string&& value);
- void set_midqualityfilesha256(const char* value);
- void set_midqualityfilesha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_midqualityfilesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_midqualityfilesha256();
- std::string* release_midqualityfilesha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_midqualityfilesha256();
void set_allocated_midqualityfilesha256(std::string* midqualityfilesha256);
private:
const std::string& _internal_midqualityfilesha256() const;
- void _internal_set_midqualityfilesha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_midqualityfilesha256(const std::string& value);
std::string* _internal_mutable_midqualityfilesha256();
public:
@@ -5395,16 +5426,14 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_midqualityfileencsha256();
const std::string& midqualityfileencsha256() const;
- void set_midqualityfileencsha256(const std::string& value);
- void set_midqualityfileencsha256(std::string&& value);
- void set_midqualityfileencsha256(const char* value);
- void set_midqualityfileencsha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_midqualityfileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_midqualityfileencsha256();
- std::string* release_midqualityfileencsha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_midqualityfileencsha256();
void set_allocated_midqualityfileencsha256(std::string* midqualityfileencsha256);
private:
const std::string& _internal_midqualityfileencsha256() const;
- void _internal_set_midqualityfileencsha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_midqualityfileencsha256(const std::string& value);
std::string* _internal_mutable_midqualityfileencsha256();
public:
@@ -5415,16 +5444,14 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_thumbnaildirectpath();
const std::string& thumbnaildirectpath() const;
- void set_thumbnaildirectpath(const std::string& value);
- void set_thumbnaildirectpath(std::string&& value);
- void set_thumbnaildirectpath(const char* value);
- void set_thumbnaildirectpath(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_thumbnaildirectpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnaildirectpath();
- std::string* release_thumbnaildirectpath();
+ PROTOBUF_MUST_USE_RESULT std::string* release_thumbnaildirectpath();
void set_allocated_thumbnaildirectpath(std::string* thumbnaildirectpath);
private:
const std::string& _internal_thumbnaildirectpath() const;
- void _internal_set_thumbnaildirectpath(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_thumbnaildirectpath(const std::string& value);
std::string* _internal_mutable_thumbnaildirectpath();
public:
@@ -5435,16 +5462,14 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_thumbnailsha256();
const std::string& thumbnailsha256() const;
- void set_thumbnailsha256(const std::string& value);
- void set_thumbnailsha256(std::string&& value);
- void set_thumbnailsha256(const char* value);
- void set_thumbnailsha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_thumbnailsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnailsha256();
- std::string* release_thumbnailsha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailsha256();
void set_allocated_thumbnailsha256(std::string* thumbnailsha256);
private:
const std::string& _internal_thumbnailsha256() const;
- void _internal_set_thumbnailsha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_thumbnailsha256(const std::string& value);
std::string* _internal_mutable_thumbnailsha256();
public:
@@ -5455,16 +5480,14 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_thumbnailencsha256();
const std::string& thumbnailencsha256() const;
- void set_thumbnailencsha256(const std::string& value);
- void set_thumbnailencsha256(std::string&& value);
- void set_thumbnailencsha256(const char* value);
- void set_thumbnailencsha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_thumbnailencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnailencsha256();
- std::string* release_thumbnailencsha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailencsha256();
void set_allocated_thumbnailencsha256(std::string* thumbnailencsha256);
private:
const std::string& _internal_thumbnailencsha256() const;
- void _internal_set_thumbnailencsha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_thumbnailencsha256(const std::string& value);
std::string* _internal_mutable_thumbnailencsha256();
public:
@@ -5475,7 +5498,7 @@ class ImageMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -5615,11 +5638,11 @@ class ImageMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class InvoiceMessage PROTOBUF_FINAL :
+class InvoiceMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.InvoiceMessage) */ {
public:
inline InvoiceMessage() : InvoiceMessage(nullptr) {}
- virtual ~InvoiceMessage();
+ ~InvoiceMessage() override;
explicit constexpr InvoiceMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
InvoiceMessage(const InvoiceMessage& from);
@@ -5633,8 +5656,13 @@ class InvoiceMessage PROTOBUF_FINAL :
return *this;
}
inline InvoiceMessage& operator=(InvoiceMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -5652,10 +5680,10 @@ class InvoiceMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const InvoiceMessage& default_instance() {
return *internal_default_instance();
@@ -5672,7 +5700,7 @@ class InvoiceMessage PROTOBUF_FINAL :
}
inline void Swap(InvoiceMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -5680,23 +5708,26 @@ class InvoiceMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(InvoiceMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline InvoiceMessage* New() const final {
- return CreateMaybeMessage<InvoiceMessage>(nullptr);
+ return new InvoiceMessage();
}
InvoiceMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<InvoiceMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const InvoiceMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const InvoiceMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -5707,8 +5738,8 @@ class InvoiceMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(InvoiceMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -5716,19 +5747,17 @@ class InvoiceMessage PROTOBUF_FINAL :
return "proto.InvoiceMessage";
}
protected:
- explicit InvoiceMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -5783,16 +5812,14 @@ class InvoiceMessage PROTOBUF_FINAL :
public:
void clear_note();
const std::string& note() const;
- void set_note(const std::string& value);
- void set_note(std::string&& value);
- void set_note(const char* value);
- void set_note(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_note(ArgT0&& arg0, ArgT... args);
std::string* mutable_note();
- std::string* release_note();
+ PROTOBUF_MUST_USE_RESULT std::string* release_note();
void set_allocated_note(std::string* note);
private:
const std::string& _internal_note() const;
- void _internal_set_note(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_note(const std::string& value);
std::string* _internal_mutable_note();
public:
@@ -5803,16 +5830,14 @@ class InvoiceMessage PROTOBUF_FINAL :
public:
void clear_token();
const std::string& token() const;
- void set_token(const std::string& value);
- void set_token(std::string&& value);
- void set_token(const char* value);
- void set_token(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_token(ArgT0&& arg0, ArgT... args);
std::string* mutable_token();
- std::string* release_token();
+ PROTOBUF_MUST_USE_RESULT std::string* release_token();
void set_allocated_token(std::string* token);
private:
const std::string& _internal_token() const;
- void _internal_set_token(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_token(const std::string& value);
std::string* _internal_mutable_token();
public:
@@ -5823,16 +5848,14 @@ class InvoiceMessage PROTOBUF_FINAL :
public:
void clear_attachmentmimetype();
const std::string& attachmentmimetype() const;
- void set_attachmentmimetype(const std::string& value);
- void set_attachmentmimetype(std::string&& value);
- void set_attachmentmimetype(const char* value);
- void set_attachmentmimetype(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_attachmentmimetype(ArgT0&& arg0, ArgT... args);
std::string* mutable_attachmentmimetype();
- std::string* release_attachmentmimetype();
+ PROTOBUF_MUST_USE_RESULT std::string* release_attachmentmimetype();
void set_allocated_attachmentmimetype(std::string* attachmentmimetype);
private:
const std::string& _internal_attachmentmimetype() const;
- void _internal_set_attachmentmimetype(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_attachmentmimetype(const std::string& value);
std::string* _internal_mutable_attachmentmimetype();
public:
@@ -5843,16 +5866,14 @@ class InvoiceMessage PROTOBUF_FINAL :
public:
void clear_attachmentmediakey();
const std::string& attachmentmediakey() const;
- void set_attachmentmediakey(const std::string& value);
- void set_attachmentmediakey(std::string&& value);
- void set_attachmentmediakey(const char* value);
- void set_attachmentmediakey(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_attachmentmediakey(ArgT0&& arg0, ArgT... args);
std::string* mutable_attachmentmediakey();
- std::string* release_attachmentmediakey();
+ PROTOBUF_MUST_USE_RESULT std::string* release_attachmentmediakey();
void set_allocated_attachmentmediakey(std::string* attachmentmediakey);
private:
const std::string& _internal_attachmentmediakey() const;
- void _internal_set_attachmentmediakey(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_attachmentmediakey(const std::string& value);
std::string* _internal_mutable_attachmentmediakey();
public:
@@ -5863,16 +5884,14 @@ class InvoiceMessage PROTOBUF_FINAL :
public:
void clear_attachmentfilesha256();
const std::string& attachmentfilesha256() const;
- void set_attachmentfilesha256(const std::string& value);
- void set_attachmentfilesha256(std::string&& value);
- void set_attachmentfilesha256(const char* value);
- void set_attachmentfilesha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_attachmentfilesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_attachmentfilesha256();
- std::string* release_attachmentfilesha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_attachmentfilesha256();
void set_allocated_attachmentfilesha256(std::string* attachmentfilesha256);
private:
const std::string& _internal_attachmentfilesha256() const;
- void _internal_set_attachmentfilesha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_attachmentfilesha256(const std::string& value);
std::string* _internal_mutable_attachmentfilesha256();
public:
@@ -5883,16 +5902,14 @@ class InvoiceMessage PROTOBUF_FINAL :
public:
void clear_attachmentfileencsha256();
const std::string& attachmentfileencsha256() const;
- void set_attachmentfileencsha256(const std::string& value);
- void set_attachmentfileencsha256(std::string&& value);
- void set_attachmentfileencsha256(const char* value);
- void set_attachmentfileencsha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_attachmentfileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_attachmentfileencsha256();
- std::string* release_attachmentfileencsha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_attachmentfileencsha256();
void set_allocated_attachmentfileencsha256(std::string* attachmentfileencsha256);
private:
const std::string& _internal_attachmentfileencsha256() const;
- void _internal_set_attachmentfileencsha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_attachmentfileencsha256(const std::string& value);
std::string* _internal_mutable_attachmentfileencsha256();
public:
@@ -5903,16 +5920,14 @@ class InvoiceMessage PROTOBUF_FINAL :
public:
void clear_attachmentdirectpath();
const std::string& attachmentdirectpath() const;
- void set_attachmentdirectpath(const std::string& value);
- void set_attachmentdirectpath(std::string&& value);
- void set_attachmentdirectpath(const char* value);
- void set_attachmentdirectpath(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_attachmentdirectpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_attachmentdirectpath();
- std::string* release_attachmentdirectpath();
+ PROTOBUF_MUST_USE_RESULT std::string* release_attachmentdirectpath();
void set_allocated_attachmentdirectpath(std::string* attachmentdirectpath);
private:
const std::string& _internal_attachmentdirectpath() const;
- void _internal_set_attachmentdirectpath(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_attachmentdirectpath(const std::string& value);
std::string* _internal_mutable_attachmentdirectpath();
public:
@@ -5923,16 +5938,14 @@ class InvoiceMessage PROTOBUF_FINAL :
public:
void clear_attachmentjpegthumbnail();
const std::string& attachmentjpegthumbnail() const;
- void set_attachmentjpegthumbnail(const std::string& value);
- void set_attachmentjpegthumbnail(std::string&& value);
- void set_attachmentjpegthumbnail(const char* value);
- void set_attachmentjpegthumbnail(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_attachmentjpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_attachmentjpegthumbnail();
- std::string* release_attachmentjpegthumbnail();
+ PROTOBUF_MUST_USE_RESULT std::string* release_attachmentjpegthumbnail();
void set_allocated_attachmentjpegthumbnail(std::string* attachmentjpegthumbnail);
private:
const std::string& _internal_attachmentjpegthumbnail() const;
- void _internal_set_attachmentjpegthumbnail(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_attachmentjpegthumbnail(const std::string& value);
std::string* _internal_mutable_attachmentjpegthumbnail();
public:
@@ -5985,11 +5998,11 @@ class InvoiceMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class ContactMessage PROTOBUF_FINAL :
+class ContactMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.ContactMessage) */ {
public:
inline ContactMessage() : ContactMessage(nullptr) {}
- virtual ~ContactMessage();
+ ~ContactMessage() override;
explicit constexpr ContactMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ContactMessage(const ContactMessage& from);
@@ -6003,8 +6016,13 @@ class ContactMessage PROTOBUF_FINAL :
return *this;
}
inline ContactMessage& operator=(ContactMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -6022,10 +6040,10 @@ class ContactMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const ContactMessage& default_instance() {
return *internal_default_instance();
@@ -6042,7 +6060,7 @@ class ContactMessage PROTOBUF_FINAL :
}
inline void Swap(ContactMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -6050,23 +6068,26 @@ class ContactMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(ContactMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ContactMessage* New() const final {
- return CreateMaybeMessage<ContactMessage>(nullptr);
+ return new ContactMessage();
}
ContactMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ContactMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ContactMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ContactMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -6077,8 +6098,8 @@ class ContactMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ContactMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -6086,19 +6107,17 @@ class ContactMessage PROTOBUF_FINAL :
return "proto.ContactMessage";
}
protected:
- explicit ContactMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -6116,16 +6135,14 @@ class ContactMessage PROTOBUF_FINAL :
public:
void clear_displayname();
const std::string& displayname() const;
- void set_displayname(const std::string& value);
- void set_displayname(std::string&& value);
- void set_displayname(const char* value);
- void set_displayname(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_displayname(ArgT0&& arg0, ArgT... args);
std::string* mutable_displayname();
- std::string* release_displayname();
+ PROTOBUF_MUST_USE_RESULT std::string* release_displayname();
void set_allocated_displayname(std::string* displayname);
private:
const std::string& _internal_displayname() const;
- void _internal_set_displayname(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_displayname(const std::string& value);
std::string* _internal_mutable_displayname();
public:
@@ -6136,16 +6153,14 @@ class ContactMessage PROTOBUF_FINAL :
public:
void clear_vcard();
const std::string& vcard() const;
- void set_vcard(const std::string& value);
- void set_vcard(std::string&& value);
- void set_vcard(const char* value);
- void set_vcard(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_vcard(ArgT0&& arg0, ArgT... args);
std::string* mutable_vcard();
- std::string* release_vcard();
+ PROTOBUF_MUST_USE_RESULT std::string* release_vcard();
void set_allocated_vcard(std::string* vcard);
private:
const std::string& _internal_vcard() const;
- void _internal_set_vcard(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_vcard(const std::string& value);
std::string* _internal_mutable_vcard();
public:
@@ -6156,7 +6171,7 @@ class ContactMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -6183,11 +6198,11 @@ class ContactMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class LocationMessage PROTOBUF_FINAL :
+class LocationMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.LocationMessage) */ {
public:
inline LocationMessage() : LocationMessage(nullptr) {}
- virtual ~LocationMessage();
+ ~LocationMessage() override;
explicit constexpr LocationMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
LocationMessage(const LocationMessage& from);
@@ -6201,8 +6216,13 @@ class LocationMessage PROTOBUF_FINAL :
return *this;
}
inline LocationMessage& operator=(LocationMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -6220,10 +6240,10 @@ class LocationMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const LocationMessage& default_instance() {
return *internal_default_instance();
@@ -6240,7 +6260,7 @@ class LocationMessage PROTOBUF_FINAL :
}
inline void Swap(LocationMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -6248,23 +6268,26 @@ class LocationMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(LocationMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline LocationMessage* New() const final {
- return CreateMaybeMessage<LocationMessage>(nullptr);
+ return new LocationMessage();
}
LocationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<LocationMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const LocationMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const LocationMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -6275,8 +6298,8 @@ class LocationMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(LocationMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -6284,19 +6307,17 @@ class LocationMessage PROTOBUF_FINAL :
return "proto.LocationMessage";
}
protected:
- explicit LocationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -6323,16 +6344,14 @@ class LocationMessage PROTOBUF_FINAL :
public:
void clear_name();
const std::string& name() const;
- void set_name(const std::string& value);
- void set_name(std::string&& value);
- void set_name(const char* value);
- void set_name(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_name(ArgT0&& arg0, ArgT... args);
std::string* mutable_name();
- std::string* release_name();
+ PROTOBUF_MUST_USE_RESULT std::string* release_name();
void set_allocated_name(std::string* name);
private:
const std::string& _internal_name() const;
- void _internal_set_name(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
std::string* _internal_mutable_name();
public:
@@ -6343,16 +6362,14 @@ class LocationMessage PROTOBUF_FINAL :
public:
void clear_address();
const std::string& address() const;
- void set_address(const std::string& value);
- void set_address(std::string&& value);
- void set_address(const char* value);
- void set_address(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_address(ArgT0&& arg0, ArgT... args);
std::string* mutable_address();
- std::string* release_address();
+ PROTOBUF_MUST_USE_RESULT std::string* release_address();
void set_allocated_address(std::string* address);
private:
const std::string& _internal_address() const;
- void _internal_set_address(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_address(const std::string& value);
std::string* _internal_mutable_address();
public:
@@ -6363,16 +6380,14 @@ class LocationMessage PROTOBUF_FINAL :
public:
void clear_url();
const std::string& url() const;
- void set_url(const std::string& value);
- void set_url(std::string&& value);
- void set_url(const char* value);
- void set_url(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- std::string* release_url();
+ PROTOBUF_MUST_USE_RESULT std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
- void _internal_set_url(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value);
std::string* _internal_mutable_url();
public:
@@ -6383,16 +6398,14 @@ class LocationMessage PROTOBUF_FINAL :
public:
void clear_comment();
const std::string& comment() const;
- void set_comment(const std::string& value);
- void set_comment(std::string&& value);
- void set_comment(const char* value);
- void set_comment(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_comment(ArgT0&& arg0, ArgT... args);
std::string* mutable_comment();
- std::string* release_comment();
+ PROTOBUF_MUST_USE_RESULT std::string* release_comment();
void set_allocated_comment(std::string* comment);
private:
const std::string& _internal_comment() const;
- void _internal_set_comment(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_comment(const std::string& value);
std::string* _internal_mutable_comment();
public:
@@ -6403,16 +6416,14 @@ class LocationMessage PROTOBUF_FINAL :
public:
void clear_jpegthumbnail();
const std::string& jpegthumbnail() const;
- void set_jpegthumbnail(const std::string& value);
- void set_jpegthumbnail(std::string&& value);
- void set_jpegthumbnail(const char* value);
- void set_jpegthumbnail(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- std::string* release_jpegthumbnail();
+ PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
- void _internal_set_jpegthumbnail(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_jpegthumbnail(const std::string& value);
std::string* _internal_mutable_jpegthumbnail();
public:
@@ -6423,7 +6434,7 @@ class LocationMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -6537,11 +6548,11 @@ class LocationMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class ExtendedTextMessage PROTOBUF_FINAL :
+class ExtendedTextMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.ExtendedTextMessage) */ {
public:
inline ExtendedTextMessage() : ExtendedTextMessage(nullptr) {}
- virtual ~ExtendedTextMessage();
+ ~ExtendedTextMessage() override;
explicit constexpr ExtendedTextMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ExtendedTextMessage(const ExtendedTextMessage& from);
@@ -6555,8 +6566,13 @@ class ExtendedTextMessage PROTOBUF_FINAL :
return *this;
}
inline ExtendedTextMessage& operator=(ExtendedTextMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -6574,10 +6590,10 @@ class ExtendedTextMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const ExtendedTextMessage& default_instance() {
return *internal_default_instance();
@@ -6594,7 +6610,7 @@ class ExtendedTextMessage PROTOBUF_FINAL :
}
inline void Swap(ExtendedTextMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -6602,23 +6618,26 @@ class ExtendedTextMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(ExtendedTextMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ExtendedTextMessage* New() const final {
- return CreateMaybeMessage<ExtendedTextMessage>(nullptr);
+ return new ExtendedTextMessage();
}
ExtendedTextMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ExtendedTextMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ExtendedTextMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ExtendedTextMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -6629,8 +6648,8 @@ class ExtendedTextMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ExtendedTextMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -6638,19 +6657,17 @@ class ExtendedTextMessage PROTOBUF_FINAL :
return "proto.ExtendedTextMessage";
}
protected:
- explicit ExtendedTextMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -6745,16 +6762,14 @@ class ExtendedTextMessage PROTOBUF_FINAL :
public:
void clear_text();
const std::string& text() const;
- void set_text(const std::string& value);
- void set_text(std::string&& value);
- void set_text(const char* value);
- void set_text(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_text(ArgT0&& arg0, ArgT... args);
std::string* mutable_text();
- std::string* release_text();
+ PROTOBUF_MUST_USE_RESULT std::string* release_text();
void set_allocated_text(std::string* text);
private:
const std::string& _internal_text() const;
- void _internal_set_text(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value);
std::string* _internal_mutable_text();
public:
@@ -6765,16 +6780,14 @@ class ExtendedTextMessage PROTOBUF_FINAL :
public:
void clear_matchedtext();
const std::string& matchedtext() const;
- void set_matchedtext(const std::string& value);
- void set_matchedtext(std::string&& value);
- void set_matchedtext(const char* value);
- void set_matchedtext(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_matchedtext(ArgT0&& arg0, ArgT... args);
std::string* mutable_matchedtext();
- std::string* release_matchedtext();
+ PROTOBUF_MUST_USE_RESULT std::string* release_matchedtext();
void set_allocated_matchedtext(std::string* matchedtext);
private:
const std::string& _internal_matchedtext() const;
- void _internal_set_matchedtext(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_matchedtext(const std::string& value);
std::string* _internal_mutable_matchedtext();
public:
@@ -6785,16 +6798,14 @@ class ExtendedTextMessage PROTOBUF_FINAL :
public:
void clear_canonicalurl();
const std::string& canonicalurl() const;
- void set_canonicalurl(const std::string& value);
- void set_canonicalurl(std::string&& value);
- void set_canonicalurl(const char* value);
- void set_canonicalurl(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_canonicalurl(ArgT0&& arg0, ArgT... args);
std::string* mutable_canonicalurl();
- std::string* release_canonicalurl();
+ PROTOBUF_MUST_USE_RESULT std::string* release_canonicalurl();
void set_allocated_canonicalurl(std::string* canonicalurl);
private:
const std::string& _internal_canonicalurl() const;
- void _internal_set_canonicalurl(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_canonicalurl(const std::string& value);
std::string* _internal_mutable_canonicalurl();
public:
@@ -6805,16 +6816,14 @@ class ExtendedTextMessage PROTOBUF_FINAL :
public:
void clear_description();
const std::string& description() const;
- void set_description(const std::string& value);
- void set_description(std::string&& value);
- void set_description(const char* value);
- void set_description(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_description(ArgT0&& arg0, ArgT... args);
std::string* mutable_description();
- std::string* release_description();
+ PROTOBUF_MUST_USE_RESULT std::string* release_description();
void set_allocated_description(std::string* description);
private:
const std::string& _internal_description() const;
- void _internal_set_description(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value);
std::string* _internal_mutable_description();
public:
@@ -6825,16 +6834,14 @@ class ExtendedTextMessage PROTOBUF_FINAL :
public:
void clear_title();
const std::string& title() const;
- void set_title(const std::string& value);
- void set_title(std::string&& value);
- void set_title(const char* value);
- void set_title(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- std::string* release_title();
+ PROTOBUF_MUST_USE_RESULT std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
- void _internal_set_title(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value);
std::string* _internal_mutable_title();
public:
@@ -6845,16 +6852,14 @@ class ExtendedTextMessage PROTOBUF_FINAL :
public:
void clear_jpegthumbnail();
const std::string& jpegthumbnail() const;
- void set_jpegthumbnail(const std::string& value);
- void set_jpegthumbnail(std::string&& value);
- void set_jpegthumbnail(const char* value);
- void set_jpegthumbnail(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- std::string* release_jpegthumbnail();
+ PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
- void _internal_set_jpegthumbnail(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_jpegthumbnail(const std::string& value);
std::string* _internal_mutable_jpegthumbnail();
public:
@@ -6865,7 +6870,7 @@ class ExtendedTextMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -6966,11 +6971,11 @@ class ExtendedTextMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class DocumentMessage PROTOBUF_FINAL :
+class DocumentMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.DocumentMessage) */ {
public:
inline DocumentMessage() : DocumentMessage(nullptr) {}
- virtual ~DocumentMessage();
+ ~DocumentMessage() override;
explicit constexpr DocumentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
DocumentMessage(const DocumentMessage& from);
@@ -6984,8 +6989,13 @@ class DocumentMessage PROTOBUF_FINAL :
return *this;
}
inline DocumentMessage& operator=(DocumentMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -7003,10 +7013,10 @@ class DocumentMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const DocumentMessage& default_instance() {
return *internal_default_instance();
@@ -7023,7 +7033,7 @@ class DocumentMessage PROTOBUF_FINAL :
}
inline void Swap(DocumentMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -7031,23 +7041,26 @@ class DocumentMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(DocumentMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline DocumentMessage* New() const final {
- return CreateMaybeMessage<DocumentMessage>(nullptr);
+ return new DocumentMessage();
}
DocumentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<DocumentMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const DocumentMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const DocumentMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -7058,8 +7071,8 @@ class DocumentMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(DocumentMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -7067,19 +7080,17 @@ class DocumentMessage PROTOBUF_FINAL :
return "proto.DocumentMessage";
}
protected:
- explicit DocumentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -7113,16 +7124,14 @@ class DocumentMessage PROTOBUF_FINAL :
public:
void clear_url();
const std::string& url() const;
- void set_url(const std::string& value);
- void set_url(std::string&& value);
- void set_url(const char* value);
- void set_url(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- std::string* release_url();
+ PROTOBUF_MUST_USE_RESULT std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
- void _internal_set_url(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value);
std::string* _internal_mutable_url();
public:
@@ -7133,16 +7142,14 @@ class DocumentMessage PROTOBUF_FINAL :
public:
void clear_mimetype();
const std::string& mimetype() const;
- void set_mimetype(const std::string& value);
- void set_mimetype(std::string&& value);
- void set_mimetype(const char* value);
- void set_mimetype(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_mimetype(ArgT0&& arg0, ArgT... args);
std::string* mutable_mimetype();
- std::string* release_mimetype();
+ PROTOBUF_MUST_USE_RESULT std::string* release_mimetype();
void set_allocated_mimetype(std::string* mimetype);
private:
const std::string& _internal_mimetype() const;
- void _internal_set_mimetype(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_mimetype(const std::string& value);
std::string* _internal_mutable_mimetype();
public:
@@ -7153,16 +7160,14 @@ class DocumentMessage PROTOBUF_FINAL :
public:
void clear_title();
const std::string& title() const;
- void set_title(const std::string& value);
- void set_title(std::string&& value);
- void set_title(const char* value);
- void set_title(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- std::string* release_title();
+ PROTOBUF_MUST_USE_RESULT std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
- void _internal_set_title(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value);
std::string* _internal_mutable_title();
public:
@@ -7173,16 +7178,14 @@ class DocumentMessage PROTOBUF_FINAL :
public:
void clear_filesha256();
const std::string& filesha256() const;
- void set_filesha256(const std::string& value);
- void set_filesha256(std::string&& value);
- void set_filesha256(const char* value);
- void set_filesha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_filesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_filesha256();
- std::string* release_filesha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_filesha256();
void set_allocated_filesha256(std::string* filesha256);
private:
const std::string& _internal_filesha256() const;
- void _internal_set_filesha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_filesha256(const std::string& value);
std::string* _internal_mutable_filesha256();
public:
@@ -7193,16 +7196,14 @@ class DocumentMessage PROTOBUF_FINAL :
public:
void clear_mediakey();
const std::string& mediakey() const;
- void set_mediakey(const std::string& value);
- void set_mediakey(std::string&& value);
- void set_mediakey(const char* value);
- void set_mediakey(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_mediakey(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediakey();
- std::string* release_mediakey();
+ PROTOBUF_MUST_USE_RESULT std::string* release_mediakey();
void set_allocated_mediakey(std::string* mediakey);
private:
const std::string& _internal_mediakey() const;
- void _internal_set_mediakey(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_mediakey(const std::string& value);
std::string* _internal_mutable_mediakey();
public:
@@ -7213,16 +7214,14 @@ class DocumentMessage PROTOBUF_FINAL :
public:
void clear_filename();
const std::string& filename() const;
- void set_filename(const std::string& value);
- void set_filename(std::string&& value);
- void set_filename(const char* value);
- void set_filename(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_filename(ArgT0&& arg0, ArgT... args);
std::string* mutable_filename();
- std::string* release_filename();
+ PROTOBUF_MUST_USE_RESULT std::string* release_filename();
void set_allocated_filename(std::string* filename);
private:
const std::string& _internal_filename() const;
- void _internal_set_filename(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value);
std::string* _internal_mutable_filename();
public:
@@ -7233,16 +7232,14 @@ class DocumentMessage PROTOBUF_FINAL :
public:
void clear_fileencsha256();
const std::string& fileencsha256() const;
- void set_fileencsha256(const std::string& value);
- void set_fileencsha256(std::string&& value);
- void set_fileencsha256(const char* value);
- void set_fileencsha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_fileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_fileencsha256();
- std::string* release_fileencsha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256();
void set_allocated_fileencsha256(std::string* fileencsha256);
private:
const std::string& _internal_fileencsha256() const;
- void _internal_set_fileencsha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_fileencsha256(const std::string& value);
std::string* _internal_mutable_fileencsha256();
public:
@@ -7253,16 +7250,14 @@ class DocumentMessage PROTOBUF_FINAL :
public:
void clear_directpath();
const std::string& directpath() const;
- void set_directpath(const std::string& value);
- void set_directpath(std::string&& value);
- void set_directpath(const char* value);
- void set_directpath(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_directpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_directpath();
- std::string* release_directpath();
+ PROTOBUF_MUST_USE_RESULT std::string* release_directpath();
void set_allocated_directpath(std::string* directpath);
private:
const std::string& _internal_directpath() const;
- void _internal_set_directpath(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_directpath(const std::string& value);
std::string* _internal_mutable_directpath();
public:
@@ -7273,16 +7268,14 @@ class DocumentMessage PROTOBUF_FINAL :
public:
void clear_thumbnaildirectpath();
const std::string& thumbnaildirectpath() const;
- void set_thumbnaildirectpath(const std::string& value);
- void set_thumbnaildirectpath(std::string&& value);
- void set_thumbnaildirectpath(const char* value);
- void set_thumbnaildirectpath(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_thumbnaildirectpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnaildirectpath();
- std::string* release_thumbnaildirectpath();
+ PROTOBUF_MUST_USE_RESULT std::string* release_thumbnaildirectpath();
void set_allocated_thumbnaildirectpath(std::string* thumbnaildirectpath);
private:
const std::string& _internal_thumbnaildirectpath() const;
- void _internal_set_thumbnaildirectpath(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_thumbnaildirectpath(const std::string& value);
std::string* _internal_mutable_thumbnaildirectpath();
public:
@@ -7293,16 +7286,14 @@ class DocumentMessage PROTOBUF_FINAL :
public:
void clear_thumbnailsha256();
const std::string& thumbnailsha256() const;
- void set_thumbnailsha256(const std::string& value);
- void set_thumbnailsha256(std::string&& value);
- void set_thumbnailsha256(const char* value);
- void set_thumbnailsha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_thumbnailsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnailsha256();
- std::string* release_thumbnailsha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailsha256();
void set_allocated_thumbnailsha256(std::string* thumbnailsha256);
private:
const std::string& _internal_thumbnailsha256() const;
- void _internal_set_thumbnailsha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_thumbnailsha256(const std::string& value);
std::string* _internal_mutable_thumbnailsha256();
public:
@@ -7313,16 +7304,14 @@ class DocumentMessage PROTOBUF_FINAL :
public:
void clear_thumbnailencsha256();
const std::string& thumbnailencsha256() const;
- void set_thumbnailencsha256(const std::string& value);
- void set_thumbnailencsha256(std::string&& value);
- void set_thumbnailencsha256(const char* value);
- void set_thumbnailencsha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_thumbnailencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnailencsha256();
- std::string* release_thumbnailencsha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailencsha256();
void set_allocated_thumbnailencsha256(std::string* thumbnailencsha256);
private:
const std::string& _internal_thumbnailencsha256() const;
- void _internal_set_thumbnailencsha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_thumbnailencsha256(const std::string& value);
std::string* _internal_mutable_thumbnailencsha256();
public:
@@ -7333,16 +7322,14 @@ class DocumentMessage PROTOBUF_FINAL :
public:
void clear_jpegthumbnail();
const std::string& jpegthumbnail() const;
- void set_jpegthumbnail(const std::string& value);
- void set_jpegthumbnail(std::string&& value);
- void set_jpegthumbnail(const char* value);
- void set_jpegthumbnail(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- std::string* release_jpegthumbnail();
+ PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
- void _internal_set_jpegthumbnail(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_jpegthumbnail(const std::string& value);
std::string* _internal_mutable_jpegthumbnail();
public:
@@ -7353,7 +7340,7 @@ class DocumentMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -7474,11 +7461,11 @@ class DocumentMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class AudioMessage PROTOBUF_FINAL :
+class AudioMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.AudioMessage) */ {
public:
inline AudioMessage() : AudioMessage(nullptr) {}
- virtual ~AudioMessage();
+ ~AudioMessage() override;
explicit constexpr AudioMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AudioMessage(const AudioMessage& from);
@@ -7492,8 +7479,13 @@ class AudioMessage PROTOBUF_FINAL :
return *this;
}
inline AudioMessage& operator=(AudioMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -7511,10 +7503,10 @@ class AudioMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const AudioMessage& default_instance() {
return *internal_default_instance();
@@ -7531,7 +7523,7 @@ class AudioMessage PROTOBUF_FINAL :
}
inline void Swap(AudioMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -7539,23 +7531,26 @@ class AudioMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(AudioMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline AudioMessage* New() const final {
- return CreateMaybeMessage<AudioMessage>(nullptr);
+ return new AudioMessage();
}
AudioMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<AudioMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AudioMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const AudioMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -7566,8 +7561,8 @@ class AudioMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AudioMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -7575,19 +7570,17 @@ class AudioMessage PROTOBUF_FINAL :
return "proto.AudioMessage";
}
protected:
- explicit AudioMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -7614,16 +7607,14 @@ class AudioMessage PROTOBUF_FINAL :
public:
void clear_url();
const std::string& url() const;
- void set_url(const std::string& value);
- void set_url(std::string&& value);
- void set_url(const char* value);
- void set_url(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- std::string* release_url();
+ PROTOBUF_MUST_USE_RESULT std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
- void _internal_set_url(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value);
std::string* _internal_mutable_url();
public:
@@ -7634,16 +7625,14 @@ class AudioMessage PROTOBUF_FINAL :
public:
void clear_mimetype();
const std::string& mimetype() const;
- void set_mimetype(const std::string& value);
- void set_mimetype(std::string&& value);
- void set_mimetype(const char* value);
- void set_mimetype(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_mimetype(ArgT0&& arg0, ArgT... args);
std::string* mutable_mimetype();
- std::string* release_mimetype();
+ PROTOBUF_MUST_USE_RESULT std::string* release_mimetype();
void set_allocated_mimetype(std::string* mimetype);
private:
const std::string& _internal_mimetype() const;
- void _internal_set_mimetype(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_mimetype(const std::string& value);
std::string* _internal_mutable_mimetype();
public:
@@ -7654,16 +7643,14 @@ class AudioMessage PROTOBUF_FINAL :
public:
void clear_filesha256();
const std::string& filesha256() const;
- void set_filesha256(const std::string& value);
- void set_filesha256(std::string&& value);
- void set_filesha256(const char* value);
- void set_filesha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_filesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_filesha256();
- std::string* release_filesha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_filesha256();
void set_allocated_filesha256(std::string* filesha256);
private:
const std::string& _internal_filesha256() const;
- void _internal_set_filesha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_filesha256(const std::string& value);
std::string* _internal_mutable_filesha256();
public:
@@ -7674,16 +7661,14 @@ class AudioMessage PROTOBUF_FINAL :
public:
void clear_mediakey();
const std::string& mediakey() const;
- void set_mediakey(const std::string& value);
- void set_mediakey(std::string&& value);
- void set_mediakey(const char* value);
- void set_mediakey(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_mediakey(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediakey();
- std::string* release_mediakey();
+ PROTOBUF_MUST_USE_RESULT std::string* release_mediakey();
void set_allocated_mediakey(std::string* mediakey);
private:
const std::string& _internal_mediakey() const;
- void _internal_set_mediakey(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_mediakey(const std::string& value);
std::string* _internal_mutable_mediakey();
public:
@@ -7694,16 +7679,14 @@ class AudioMessage PROTOBUF_FINAL :
public:
void clear_fileencsha256();
const std::string& fileencsha256() const;
- void set_fileencsha256(const std::string& value);
- void set_fileencsha256(std::string&& value);
- void set_fileencsha256(const char* value);
- void set_fileencsha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_fileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_fileencsha256();
- std::string* release_fileencsha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256();
void set_allocated_fileencsha256(std::string* fileencsha256);
private:
const std::string& _internal_fileencsha256() const;
- void _internal_set_fileencsha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_fileencsha256(const std::string& value);
std::string* _internal_mutable_fileencsha256();
public:
@@ -7714,16 +7697,14 @@ class AudioMessage PROTOBUF_FINAL :
public:
void clear_directpath();
const std::string& directpath() const;
- void set_directpath(const std::string& value);
- void set_directpath(std::string&& value);
- void set_directpath(const char* value);
- void set_directpath(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_directpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_directpath();
- std::string* release_directpath();
+ PROTOBUF_MUST_USE_RESULT std::string* release_directpath();
void set_allocated_directpath(std::string* directpath);
private:
const std::string& _internal_directpath() const;
- void _internal_set_directpath(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_directpath(const std::string& value);
std::string* _internal_mutable_directpath();
public:
@@ -7734,16 +7715,14 @@ class AudioMessage PROTOBUF_FINAL :
public:
void clear_streamingsidecar();
const std::string& streamingsidecar() const;
- void set_streamingsidecar(const std::string& value);
- void set_streamingsidecar(std::string&& value);
- void set_streamingsidecar(const char* value);
- void set_streamingsidecar(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_streamingsidecar(ArgT0&& arg0, ArgT... args);
std::string* mutable_streamingsidecar();
- std::string* release_streamingsidecar();
+ PROTOBUF_MUST_USE_RESULT std::string* release_streamingsidecar();
void set_allocated_streamingsidecar(std::string* streamingsidecar);
private:
const std::string& _internal_streamingsidecar() const;
- void _internal_set_streamingsidecar(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_streamingsidecar(const std::string& value);
std::string* _internal_mutable_streamingsidecar();
public:
@@ -7754,7 +7733,7 @@ class AudioMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -7842,11 +7821,11 @@ class AudioMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class VideoMessage PROTOBUF_FINAL :
+class VideoMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.VideoMessage) */ {
public:
inline VideoMessage() : VideoMessage(nullptr) {}
- virtual ~VideoMessage();
+ ~VideoMessage() override;
explicit constexpr VideoMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
VideoMessage(const VideoMessage& from);
@@ -7860,8 +7839,13 @@ class VideoMessage PROTOBUF_FINAL :
return *this;
}
inline VideoMessage& operator=(VideoMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -7879,10 +7863,10 @@ class VideoMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const VideoMessage& default_instance() {
return *internal_default_instance();
@@ -7899,7 +7883,7 @@ class VideoMessage PROTOBUF_FINAL :
}
inline void Swap(VideoMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -7907,23 +7891,26 @@ class VideoMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(VideoMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline VideoMessage* New() const final {
- return CreateMaybeMessage<VideoMessage>(nullptr);
+ return new VideoMessage();
}
VideoMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<VideoMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const VideoMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const VideoMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -7934,8 +7921,8 @@ class VideoMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(VideoMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -7943,19 +7930,17 @@ class VideoMessage PROTOBUF_FINAL :
return "proto.VideoMessage";
}
protected:
- explicit VideoMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -8042,16 +8027,14 @@ class VideoMessage PROTOBUF_FINAL :
public:
void clear_url();
const std::string& url() const;
- void set_url(const std::string& value);
- void set_url(std::string&& value);
- void set_url(const char* value);
- void set_url(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- std::string* release_url();
+ PROTOBUF_MUST_USE_RESULT std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
- void _internal_set_url(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value);
std::string* _internal_mutable_url();
public:
@@ -8062,16 +8045,14 @@ class VideoMessage PROTOBUF_FINAL :
public:
void clear_mimetype();
const std::string& mimetype() const;
- void set_mimetype(const std::string& value);
- void set_mimetype(std::string&& value);
- void set_mimetype(const char* value);
- void set_mimetype(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_mimetype(ArgT0&& arg0, ArgT... args);
std::string* mutable_mimetype();
- std::string* release_mimetype();
+ PROTOBUF_MUST_USE_RESULT std::string* release_mimetype();
void set_allocated_mimetype(std::string* mimetype);
private:
const std::string& _internal_mimetype() const;
- void _internal_set_mimetype(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_mimetype(const std::string& value);
std::string* _internal_mutable_mimetype();
public:
@@ -8082,16 +8063,14 @@ class VideoMessage PROTOBUF_FINAL :
public:
void clear_filesha256();
const std::string& filesha256() const;
- void set_filesha256(const std::string& value);
- void set_filesha256(std::string&& value);
- void set_filesha256(const char* value);
- void set_filesha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_filesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_filesha256();
- std::string* release_filesha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_filesha256();
void set_allocated_filesha256(std::string* filesha256);
private:
const std::string& _internal_filesha256() const;
- void _internal_set_filesha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_filesha256(const std::string& value);
std::string* _internal_mutable_filesha256();
public:
@@ -8102,16 +8081,14 @@ class VideoMessage PROTOBUF_FINAL :
public:
void clear_mediakey();
const std::string& mediakey() const;
- void set_mediakey(const std::string& value);
- void set_mediakey(std::string&& value);
- void set_mediakey(const char* value);
- void set_mediakey(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_mediakey(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediakey();
- std::string* release_mediakey();
+ PROTOBUF_MUST_USE_RESULT std::string* release_mediakey();
void set_allocated_mediakey(std::string* mediakey);
private:
const std::string& _internal_mediakey() const;
- void _internal_set_mediakey(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_mediakey(const std::string& value);
std::string* _internal_mutable_mediakey();
public:
@@ -8122,16 +8099,14 @@ class VideoMessage PROTOBUF_FINAL :
public:
void clear_caption();
const std::string& caption() const;
- void set_caption(const std::string& value);
- void set_caption(std::string&& value);
- void set_caption(const char* value);
- void set_caption(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_caption(ArgT0&& arg0, ArgT... args);
std::string* mutable_caption();
- std::string* release_caption();
+ PROTOBUF_MUST_USE_RESULT std::string* release_caption();
void set_allocated_caption(std::string* caption);
private:
const std::string& _internal_caption() const;
- void _internal_set_caption(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_caption(const std::string& value);
std::string* _internal_mutable_caption();
public:
@@ -8142,16 +8117,14 @@ class VideoMessage PROTOBUF_FINAL :
public:
void clear_fileencsha256();
const std::string& fileencsha256() const;
- void set_fileencsha256(const std::string& value);
- void set_fileencsha256(std::string&& value);
- void set_fileencsha256(const char* value);
- void set_fileencsha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_fileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_fileencsha256();
- std::string* release_fileencsha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256();
void set_allocated_fileencsha256(std::string* fileencsha256);
private:
const std::string& _internal_fileencsha256() const;
- void _internal_set_fileencsha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_fileencsha256(const std::string& value);
std::string* _internal_mutable_fileencsha256();
public:
@@ -8162,16 +8135,14 @@ class VideoMessage PROTOBUF_FINAL :
public:
void clear_directpath();
const std::string& directpath() const;
- void set_directpath(const std::string& value);
- void set_directpath(std::string&& value);
- void set_directpath(const char* value);
- void set_directpath(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_directpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_directpath();
- std::string* release_directpath();
+ PROTOBUF_MUST_USE_RESULT std::string* release_directpath();
void set_allocated_directpath(std::string* directpath);
private:
const std::string& _internal_directpath() const;
- void _internal_set_directpath(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_directpath(const std::string& value);
std::string* _internal_mutable_directpath();
public:
@@ -8182,16 +8153,14 @@ class VideoMessage PROTOBUF_FINAL :
public:
void clear_jpegthumbnail();
const std::string& jpegthumbnail() const;
- void set_jpegthumbnail(const std::string& value);
- void set_jpegthumbnail(std::string&& value);
- void set_jpegthumbnail(const char* value);
- void set_jpegthumbnail(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- std::string* release_jpegthumbnail();
+ PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
- void _internal_set_jpegthumbnail(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_jpegthumbnail(const std::string& value);
std::string* _internal_mutable_jpegthumbnail();
public:
@@ -8202,16 +8171,14 @@ class VideoMessage PROTOBUF_FINAL :
public:
void clear_streamingsidecar();
const std::string& streamingsidecar() const;
- void set_streamingsidecar(const std::string& value);
- void set_streamingsidecar(std::string&& value);
- void set_streamingsidecar(const char* value);
- void set_streamingsidecar(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_streamingsidecar(ArgT0&& arg0, ArgT... args);
std::string* mutable_streamingsidecar();
- std::string* release_streamingsidecar();
+ PROTOBUF_MUST_USE_RESULT std::string* release_streamingsidecar();
void set_allocated_streamingsidecar(std::string* streamingsidecar);
private:
const std::string& _internal_streamingsidecar() const;
- void _internal_set_streamingsidecar(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_streamingsidecar(const std::string& value);
std::string* _internal_mutable_streamingsidecar();
public:
@@ -8222,16 +8189,14 @@ class VideoMessage PROTOBUF_FINAL :
public:
void clear_thumbnaildirectpath();
const std::string& thumbnaildirectpath() const;
- void set_thumbnaildirectpath(const std::string& value);
- void set_thumbnaildirectpath(std::string&& value);
- void set_thumbnaildirectpath(const char* value);
- void set_thumbnaildirectpath(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_thumbnaildirectpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnaildirectpath();
- std::string* release_thumbnaildirectpath();
+ PROTOBUF_MUST_USE_RESULT std::string* release_thumbnaildirectpath();
void set_allocated_thumbnaildirectpath(std::string* thumbnaildirectpath);
private:
const std::string& _internal_thumbnaildirectpath() const;
- void _internal_set_thumbnaildirectpath(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_thumbnaildirectpath(const std::string& value);
std::string* _internal_mutable_thumbnaildirectpath();
public:
@@ -8242,16 +8207,14 @@ class VideoMessage PROTOBUF_FINAL :
public:
void clear_thumbnailsha256();
const std::string& thumbnailsha256() const;
- void set_thumbnailsha256(const std::string& value);
- void set_thumbnailsha256(std::string&& value);
- void set_thumbnailsha256(const char* value);
- void set_thumbnailsha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_thumbnailsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnailsha256();
- std::string* release_thumbnailsha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailsha256();
void set_allocated_thumbnailsha256(std::string* thumbnailsha256);
private:
const std::string& _internal_thumbnailsha256() const;
- void _internal_set_thumbnailsha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_thumbnailsha256(const std::string& value);
std::string* _internal_mutable_thumbnailsha256();
public:
@@ -8262,16 +8225,14 @@ class VideoMessage PROTOBUF_FINAL :
public:
void clear_thumbnailencsha256();
const std::string& thumbnailencsha256() const;
- void set_thumbnailencsha256(const std::string& value);
- void set_thumbnailencsha256(std::string&& value);
- void set_thumbnailencsha256(const char* value);
- void set_thumbnailencsha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_thumbnailencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnailencsha256();
- std::string* release_thumbnailencsha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailencsha256();
void set_allocated_thumbnailencsha256(std::string* thumbnailencsha256);
private:
const std::string& _internal_thumbnailencsha256() const;
- void _internal_set_thumbnailencsha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_thumbnailencsha256(const std::string& value);
std::string* _internal_mutable_thumbnailencsha256();
public:
@@ -8282,7 +8243,7 @@ class VideoMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -8432,11 +8393,11 @@ class VideoMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class Call PROTOBUF_FINAL :
+class Call final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.Call) */ {
public:
inline Call() : Call(nullptr) {}
- virtual ~Call();
+ ~Call() override;
explicit constexpr Call(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Call(const Call& from);
@@ -8450,8 +8411,13 @@ class Call PROTOBUF_FINAL :
return *this;
}
inline Call& operator=(Call&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -8469,10 +8435,10 @@ class Call PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const Call& default_instance() {
return *internal_default_instance();
@@ -8489,7 +8455,7 @@ class Call PROTOBUF_FINAL :
}
inline void Swap(Call* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -8497,23 +8463,26 @@ class Call PROTOBUF_FINAL :
}
void UnsafeArenaSwap(Call* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline Call* New() const final {
- return CreateMaybeMessage<Call>(nullptr);
+ return new Call();
}
Call* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<Call>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Call& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const Call& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -8524,8 +8493,8 @@ class Call PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Call* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -8533,19 +8502,17 @@ class Call PROTOBUF_FINAL :
return "proto.Call";
}
protected:
- explicit Call(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -8561,16 +8528,14 @@ class Call PROTOBUF_FINAL :
public:
void clear_callkey();
const std::string& callkey() const;
- void set_callkey(const std::string& value);
- void set_callkey(std::string&& value);
- void set_callkey(const char* value);
- void set_callkey(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_callkey(ArgT0&& arg0, ArgT... args);
std::string* mutable_callkey();
- std::string* release_callkey();
+ PROTOBUF_MUST_USE_RESULT std::string* release_callkey();
void set_allocated_callkey(std::string* callkey);
private:
const std::string& _internal_callkey() const;
- void _internal_set_callkey(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_callkey(const std::string& value);
std::string* _internal_mutable_callkey();
public:
@@ -8588,11 +8553,11 @@ class Call PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class Chat PROTOBUF_FINAL :
+class Chat final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.Chat) */ {
public:
inline Chat() : Chat(nullptr) {}
- virtual ~Chat();
+ ~Chat() override;
explicit constexpr Chat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Chat(const Chat& from);
@@ -8606,8 +8571,13 @@ class Chat PROTOBUF_FINAL :
return *this;
}
inline Chat& operator=(Chat&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -8625,10 +8595,10 @@ class Chat PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const Chat& default_instance() {
return *internal_default_instance();
@@ -8645,7 +8615,7 @@ class Chat PROTOBUF_FINAL :
}
inline void Swap(Chat* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -8653,23 +8623,26 @@ class Chat PROTOBUF_FINAL :
}
void UnsafeArenaSwap(Chat* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline Chat* New() const final {
- return CreateMaybeMessage<Chat>(nullptr);
+ return new Chat();
}
Chat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<Chat>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Chat& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const Chat& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -8680,8 +8653,8 @@ class Chat PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Chat* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -8689,19 +8662,17 @@ class Chat PROTOBUF_FINAL :
return "proto.Chat";
}
protected:
- explicit Chat(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -8718,16 +8689,14 @@ class Chat PROTOBUF_FINAL :
public:
void clear_displayname();
const std::string& displayname() const;
- void set_displayname(const std::string& value);
- void set_displayname(std::string&& value);
- void set_displayname(const char* value);
- void set_displayname(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_displayname(ArgT0&& arg0, ArgT... args);
std::string* mutable_displayname();
- std::string* release_displayname();
+ PROTOBUF_MUST_USE_RESULT std::string* release_displayname();
void set_allocated_displayname(std::string* displayname);
private:
const std::string& _internal_displayname() const;
- void _internal_set_displayname(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_displayname(const std::string& value);
std::string* _internal_mutable_displayname();
public:
@@ -8738,16 +8707,14 @@ class Chat PROTOBUF_FINAL :
public:
void clear_id();
const std::string& id() const;
- void set_id(const std::string& value);
- void set_id(std::string&& value);
- void set_id(const char* value);
- void set_id(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_id();
- std::string* release_id();
+ PROTOBUF_MUST_USE_RESULT std::string* release_id();
void set_allocated_id(std::string* id);
private:
const std::string& _internal_id() const;
- void _internal_set_id(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value);
std::string* _internal_mutable_id();
public:
@@ -8766,11 +8733,11 @@ class Chat PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class ProtocolMessage PROTOBUF_FINAL :
+class ProtocolMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.ProtocolMessage) */ {
public:
inline ProtocolMessage() : ProtocolMessage(nullptr) {}
- virtual ~ProtocolMessage();
+ ~ProtocolMessage() override;
explicit constexpr ProtocolMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ProtocolMessage(const ProtocolMessage& from);
@@ -8784,8 +8751,13 @@ class ProtocolMessage PROTOBUF_FINAL :
return *this;
}
inline ProtocolMessage& operator=(ProtocolMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -8803,10 +8775,10 @@ class ProtocolMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const ProtocolMessage& default_instance() {
return *internal_default_instance();
@@ -8823,7 +8795,7 @@ class ProtocolMessage PROTOBUF_FINAL :
}
inline void Swap(ProtocolMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -8831,23 +8803,26 @@ class ProtocolMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(ProtocolMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ProtocolMessage* New() const final {
- return CreateMaybeMessage<ProtocolMessage>(nullptr);
+ return new ProtocolMessage();
}
ProtocolMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ProtocolMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ProtocolMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ProtocolMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -8858,8 +8833,8 @@ class ProtocolMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ProtocolMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -8867,19 +8842,17 @@ class ProtocolMessage PROTOBUF_FINAL :
return "proto.ProtocolMessage";
}
protected:
- explicit ProtocolMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -8947,7 +8920,7 @@ class ProtocolMessage PROTOBUF_FINAL :
public:
void clear_key();
const ::proto::MessageKey& key() const;
- ::proto::MessageKey* release_key();
+ PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_key();
::proto::MessageKey* mutable_key();
void set_allocated_key(::proto::MessageKey* key);
private:
@@ -8965,7 +8938,7 @@ class ProtocolMessage PROTOBUF_FINAL :
public:
void clear_historysyncnotification();
const ::proto::HistorySyncNotification& historysyncnotification() const;
- ::proto::HistorySyncNotification* release_historysyncnotification();
+ PROTOBUF_MUST_USE_RESULT ::proto::HistorySyncNotification* release_historysyncnotification();
::proto::HistorySyncNotification* mutable_historysyncnotification();
void set_allocated_historysyncnotification(::proto::HistorySyncNotification* historysyncnotification);
private:
@@ -8983,7 +8956,7 @@ class ProtocolMessage PROTOBUF_FINAL :
public:
void clear_appstatesynckeyshare();
const ::proto::AppStateSyncKeyShare& appstatesynckeyshare() const;
- ::proto::AppStateSyncKeyShare* release_appstatesynckeyshare();
+ PROTOBUF_MUST_USE_RESULT ::proto::AppStateSyncKeyShare* release_appstatesynckeyshare();
::proto::AppStateSyncKeyShare* mutable_appstatesynckeyshare();
void set_allocated_appstatesynckeyshare(::proto::AppStateSyncKeyShare* appstatesynckeyshare);
private:
@@ -9001,7 +8974,7 @@ class ProtocolMessage PROTOBUF_FINAL :
public:
void clear_appstatesynckeyrequest();
const ::proto::AppStateSyncKeyRequest& appstatesynckeyrequest() const;
- ::proto::AppStateSyncKeyRequest* release_appstatesynckeyrequest();
+ PROTOBUF_MUST_USE_RESULT ::proto::AppStateSyncKeyRequest* release_appstatesynckeyrequest();
::proto::AppStateSyncKeyRequest* mutable_appstatesynckeyrequest();
void set_allocated_appstatesynckeyrequest(::proto::AppStateSyncKeyRequest* appstatesynckeyrequest);
private:
@@ -9019,7 +8992,7 @@ class ProtocolMessage PROTOBUF_FINAL :
public:
void clear_initialsecuritynotificationsettingsync();
const ::proto::InitialSecurityNotificationSettingSync& initialsecuritynotificationsettingsync() const;
- ::proto::InitialSecurityNotificationSettingSync* release_initialsecuritynotificationsettingsync();
+ PROTOBUF_MUST_USE_RESULT ::proto::InitialSecurityNotificationSettingSync* release_initialsecuritynotificationsettingsync();
::proto::InitialSecurityNotificationSettingSync* mutable_initialsecuritynotificationsettingsync();
void set_allocated_initialsecuritynotificationsettingsync(::proto::InitialSecurityNotificationSettingSync* initialsecuritynotificationsettingsync);
private:
@@ -9037,7 +9010,7 @@ class ProtocolMessage PROTOBUF_FINAL :
public:
void clear_appstatefatalexceptionnotification();
const ::proto::AppStateFatalExceptionNotification& appstatefatalexceptionnotification() const;
- ::proto::AppStateFatalExceptionNotification* release_appstatefatalexceptionnotification();
+ PROTOBUF_MUST_USE_RESULT ::proto::AppStateFatalExceptionNotification* release_appstatefatalexceptionnotification();
::proto::AppStateFatalExceptionNotification* mutable_appstatefatalexceptionnotification();
void set_allocated_appstatefatalexceptionnotification(::proto::AppStateFatalExceptionNotification* appstatefatalexceptionnotification);
private:
@@ -9109,11 +9082,11 @@ class ProtocolMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class HistorySyncNotification PROTOBUF_FINAL :
+class HistorySyncNotification final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.HistorySyncNotification) */ {
public:
inline HistorySyncNotification() : HistorySyncNotification(nullptr) {}
- virtual ~HistorySyncNotification();
+ ~HistorySyncNotification() override;
explicit constexpr HistorySyncNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HistorySyncNotification(const HistorySyncNotification& from);
@@ -9127,8 +9100,13 @@ class HistorySyncNotification PROTOBUF_FINAL :
return *this;
}
inline HistorySyncNotification& operator=(HistorySyncNotification&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -9146,10 +9124,10 @@ class HistorySyncNotification PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const HistorySyncNotification& default_instance() {
return *internal_default_instance();
@@ -9166,7 +9144,7 @@ class HistorySyncNotification PROTOBUF_FINAL :
}
inline void Swap(HistorySyncNotification* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -9174,23 +9152,26 @@ class HistorySyncNotification PROTOBUF_FINAL :
}
void UnsafeArenaSwap(HistorySyncNotification* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline HistorySyncNotification* New() const final {
- return CreateMaybeMessage<HistorySyncNotification>(nullptr);
+ return new HistorySyncNotification();
}
HistorySyncNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<HistorySyncNotification>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HistorySyncNotification& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const HistorySyncNotification& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -9201,8 +9182,8 @@ class HistorySyncNotification PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HistorySyncNotification* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -9210,19 +9191,17 @@ class HistorySyncNotification PROTOBUF_FINAL :
return "proto.HistorySyncNotification";
}
protected:
- explicit HistorySyncNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -9281,16 +9260,14 @@ class HistorySyncNotification PROTOBUF_FINAL :
public:
void clear_filesha256();
const std::string& filesha256() const;
- void set_filesha256(const std::string& value);
- void set_filesha256(std::string&& value);
- void set_filesha256(const char* value);
- void set_filesha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_filesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_filesha256();
- std::string* release_filesha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_filesha256();
void set_allocated_filesha256(std::string* filesha256);
private:
const std::string& _internal_filesha256() const;
- void _internal_set_filesha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_filesha256(const std::string& value);
std::string* _internal_mutable_filesha256();
public:
@@ -9301,16 +9278,14 @@ class HistorySyncNotification PROTOBUF_FINAL :
public:
void clear_mediakey();
const std::string& mediakey() const;
- void set_mediakey(const std::string& value);
- void set_mediakey(std::string&& value);
- void set_mediakey(const char* value);
- void set_mediakey(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_mediakey(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediakey();
- std::string* release_mediakey();
+ PROTOBUF_MUST_USE_RESULT std::string* release_mediakey();
void set_allocated_mediakey(std::string* mediakey);
private:
const std::string& _internal_mediakey() const;
- void _internal_set_mediakey(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_mediakey(const std::string& value);
std::string* _internal_mutable_mediakey();
public:
@@ -9321,16 +9296,14 @@ class HistorySyncNotification PROTOBUF_FINAL :
public:
void clear_fileencsha256();
const std::string& fileencsha256() const;
- void set_fileencsha256(const std::string& value);
- void set_fileencsha256(std::string&& value);
- void set_fileencsha256(const char* value);
- void set_fileencsha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_fileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_fileencsha256();
- std::string* release_fileencsha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256();
void set_allocated_fileencsha256(std::string* fileencsha256);
private:
const std::string& _internal_fileencsha256() const;
- void _internal_set_fileencsha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_fileencsha256(const std::string& value);
std::string* _internal_mutable_fileencsha256();
public:
@@ -9341,16 +9314,14 @@ class HistorySyncNotification PROTOBUF_FINAL :
public:
void clear_directpath();
const std::string& directpath() const;
- void set_directpath(const std::string& value);
- void set_directpath(std::string&& value);
- void set_directpath(const char* value);
- void set_directpath(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_directpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_directpath();
- std::string* release_directpath();
+ PROTOBUF_MUST_USE_RESULT std::string* release_directpath();
void set_allocated_directpath(std::string* directpath);
private:
const std::string& _internal_directpath() const;
- void _internal_set_directpath(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_directpath(const std::string& value);
std::string* _internal_mutable_directpath();
public:
@@ -9361,16 +9332,14 @@ class HistorySyncNotification PROTOBUF_FINAL :
public:
void clear_originalmessageid();
const std::string& originalmessageid() const;
- void set_originalmessageid(const std::string& value);
- void set_originalmessageid(std::string&& value);
- void set_originalmessageid(const char* value);
- void set_originalmessageid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_originalmessageid(ArgT0&& arg0, ArgT... args);
std::string* mutable_originalmessageid();
- std::string* release_originalmessageid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_originalmessageid();
void set_allocated_originalmessageid(std::string* originalmessageid);
private:
const std::string& _internal_originalmessageid() const;
- void _internal_set_originalmessageid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_originalmessageid(const std::string& value);
std::string* _internal_mutable_originalmessageid();
public:
@@ -9434,11 +9403,11 @@ class HistorySyncNotification PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class AppStateSyncKey PROTOBUF_FINAL :
+class AppStateSyncKey final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.AppStateSyncKey) */ {
public:
inline AppStateSyncKey() : AppStateSyncKey(nullptr) {}
- virtual ~AppStateSyncKey();
+ ~AppStateSyncKey() override;
explicit constexpr AppStateSyncKey(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AppStateSyncKey(const AppStateSyncKey& from);
@@ -9452,8 +9421,13 @@ class AppStateSyncKey PROTOBUF_FINAL :
return *this;
}
inline AppStateSyncKey& operator=(AppStateSyncKey&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -9471,10 +9445,10 @@ class AppStateSyncKey PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const AppStateSyncKey& default_instance() {
return *internal_default_instance();
@@ -9491,7 +9465,7 @@ class AppStateSyncKey PROTOBUF_FINAL :
}
inline void Swap(AppStateSyncKey* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -9499,23 +9473,26 @@ class AppStateSyncKey PROTOBUF_FINAL :
}
void UnsafeArenaSwap(AppStateSyncKey* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline AppStateSyncKey* New() const final {
- return CreateMaybeMessage<AppStateSyncKey>(nullptr);
+ return new AppStateSyncKey();
}
AppStateSyncKey* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<AppStateSyncKey>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AppStateSyncKey& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const AppStateSyncKey& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -9526,8 +9503,8 @@ class AppStateSyncKey PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AppStateSyncKey* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -9535,19 +9512,17 @@ class AppStateSyncKey PROTOBUF_FINAL :
return "proto.AppStateSyncKey";
}
protected:
- explicit AppStateSyncKey(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -9564,7 +9539,7 @@ class AppStateSyncKey PROTOBUF_FINAL :
public:
void clear_keyid();
const ::proto::AppStateSyncKeyId& keyid() const;
- ::proto::AppStateSyncKeyId* release_keyid();
+ PROTOBUF_MUST_USE_RESULT ::proto::AppStateSyncKeyId* release_keyid();
::proto::AppStateSyncKeyId* mutable_keyid();
void set_allocated_keyid(::proto::AppStateSyncKeyId* keyid);
private:
@@ -9582,7 +9557,7 @@ class AppStateSyncKey PROTOBUF_FINAL :
public:
void clear_keydata();
const ::proto::AppStateSyncKeyData& keydata() const;
- ::proto::AppStateSyncKeyData* release_keydata();
+ PROTOBUF_MUST_USE_RESULT ::proto::AppStateSyncKeyData* release_keydata();
::proto::AppStateSyncKeyData* mutable_keydata();
void set_allocated_keydata(::proto::AppStateSyncKeyData* keydata);
private:
@@ -9608,11 +9583,11 @@ class AppStateSyncKey PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class AppStateSyncKeyId PROTOBUF_FINAL :
+class AppStateSyncKeyId final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.AppStateSyncKeyId) */ {
public:
inline AppStateSyncKeyId() : AppStateSyncKeyId(nullptr) {}
- virtual ~AppStateSyncKeyId();
+ ~AppStateSyncKeyId() override;
explicit constexpr AppStateSyncKeyId(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AppStateSyncKeyId(const AppStateSyncKeyId& from);
@@ -9626,8 +9601,13 @@ class AppStateSyncKeyId PROTOBUF_FINAL :
return *this;
}
inline AppStateSyncKeyId& operator=(AppStateSyncKeyId&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -9645,10 +9625,10 @@ class AppStateSyncKeyId PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const AppStateSyncKeyId& default_instance() {
return *internal_default_instance();
@@ -9665,7 +9645,7 @@ class AppStateSyncKeyId PROTOBUF_FINAL :
}
inline void Swap(AppStateSyncKeyId* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -9673,23 +9653,26 @@ class AppStateSyncKeyId PROTOBUF_FINAL :
}
void UnsafeArenaSwap(AppStateSyncKeyId* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline AppStateSyncKeyId* New() const final {
- return CreateMaybeMessage<AppStateSyncKeyId>(nullptr);
+ return new AppStateSyncKeyId();
}
AppStateSyncKeyId* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<AppStateSyncKeyId>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AppStateSyncKeyId& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const AppStateSyncKeyId& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -9700,8 +9683,8 @@ class AppStateSyncKeyId PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AppStateSyncKeyId* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -9709,19 +9692,17 @@ class AppStateSyncKeyId PROTOBUF_FINAL :
return "proto.AppStateSyncKeyId";
}
protected:
- explicit AppStateSyncKeyId(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -9737,16 +9718,14 @@ class AppStateSyncKeyId PROTOBUF_FINAL :
public:
void clear_keyid();
const std::string& keyid() const;
- void set_keyid(const std::string& value);
- void set_keyid(std::string&& value);
- void set_keyid(const char* value);
- void set_keyid(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_keyid(ArgT0&& arg0, ArgT... args);
std::string* mutable_keyid();
- std::string* release_keyid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_keyid();
void set_allocated_keyid(std::string* keyid);
private:
const std::string& _internal_keyid() const;
- void _internal_set_keyid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_keyid(const std::string& value);
std::string* _internal_mutable_keyid();
public:
@@ -9764,11 +9743,11 @@ class AppStateSyncKeyId PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class AppStateSyncKeyFingerprint PROTOBUF_FINAL :
+class AppStateSyncKeyFingerprint final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.AppStateSyncKeyFingerprint) */ {
public:
inline AppStateSyncKeyFingerprint() : AppStateSyncKeyFingerprint(nullptr) {}
- virtual ~AppStateSyncKeyFingerprint();
+ ~AppStateSyncKeyFingerprint() override;
explicit constexpr AppStateSyncKeyFingerprint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AppStateSyncKeyFingerprint(const AppStateSyncKeyFingerprint& from);
@@ -9782,8 +9761,13 @@ class AppStateSyncKeyFingerprint PROTOBUF_FINAL :
return *this;
}
inline AppStateSyncKeyFingerprint& operator=(AppStateSyncKeyFingerprint&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -9801,10 +9785,10 @@ class AppStateSyncKeyFingerprint PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const AppStateSyncKeyFingerprint& default_instance() {
return *internal_default_instance();
@@ -9821,7 +9805,7 @@ class AppStateSyncKeyFingerprint PROTOBUF_FINAL :
}
inline void Swap(AppStateSyncKeyFingerprint* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -9829,23 +9813,26 @@ class AppStateSyncKeyFingerprint PROTOBUF_FINAL :
}
void UnsafeArenaSwap(AppStateSyncKeyFingerprint* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline AppStateSyncKeyFingerprint* New() const final {
- return CreateMaybeMessage<AppStateSyncKeyFingerprint>(nullptr);
+ return new AppStateSyncKeyFingerprint();
}
AppStateSyncKeyFingerprint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<AppStateSyncKeyFingerprint>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AppStateSyncKeyFingerprint& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const AppStateSyncKeyFingerprint& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -9856,8 +9843,8 @@ class AppStateSyncKeyFingerprint PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AppStateSyncKeyFingerprint* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -9865,19 +9852,17 @@ class AppStateSyncKeyFingerprint PROTOBUF_FINAL :
return "proto.AppStateSyncKeyFingerprint";
}
protected:
- explicit AppStateSyncKeyFingerprint(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -9953,11 +9938,11 @@ class AppStateSyncKeyFingerprint PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class AppStateSyncKeyData PROTOBUF_FINAL :
+class AppStateSyncKeyData final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.AppStateSyncKeyData) */ {
public:
inline AppStateSyncKeyData() : AppStateSyncKeyData(nullptr) {}
- virtual ~AppStateSyncKeyData();
+ ~AppStateSyncKeyData() override;
explicit constexpr AppStateSyncKeyData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AppStateSyncKeyData(const AppStateSyncKeyData& from);
@@ -9971,8 +9956,13 @@ class AppStateSyncKeyData PROTOBUF_FINAL :
return *this;
}
inline AppStateSyncKeyData& operator=(AppStateSyncKeyData&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -9990,10 +9980,10 @@ class AppStateSyncKeyData PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const AppStateSyncKeyData& default_instance() {
return *internal_default_instance();
@@ -10010,7 +10000,7 @@ class AppStateSyncKeyData PROTOBUF_FINAL :
}
inline void Swap(AppStateSyncKeyData* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -10018,23 +10008,26 @@ class AppStateSyncKeyData PROTOBUF_FINAL :
}
void UnsafeArenaSwap(AppStateSyncKeyData* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline AppStateSyncKeyData* New() const final {
- return CreateMaybeMessage<AppStateSyncKeyData>(nullptr);
+ return new AppStateSyncKeyData();
}
AppStateSyncKeyData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<AppStateSyncKeyData>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AppStateSyncKeyData& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const AppStateSyncKeyData& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -10045,8 +10038,8 @@ class AppStateSyncKeyData PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AppStateSyncKeyData* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -10054,19 +10047,17 @@ class AppStateSyncKeyData PROTOBUF_FINAL :
return "proto.AppStateSyncKeyData";
}
protected:
- explicit AppStateSyncKeyData(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -10084,16 +10075,14 @@ class AppStateSyncKeyData PROTOBUF_FINAL :
public:
void clear_keydata();
const std::string& keydata() const;
- void set_keydata(const std::string& value);
- void set_keydata(std::string&& value);
- void set_keydata(const char* value);
- void set_keydata(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_keydata(ArgT0&& arg0, ArgT... args);
std::string* mutable_keydata();
- std::string* release_keydata();
+ PROTOBUF_MUST_USE_RESULT std::string* release_keydata();
void set_allocated_keydata(std::string* keydata);
private:
const std::string& _internal_keydata() const;
- void _internal_set_keydata(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_keydata(const std::string& value);
std::string* _internal_mutable_keydata();
public:
@@ -10104,7 +10093,7 @@ class AppStateSyncKeyData PROTOBUF_FINAL :
public:
void clear_fingerprint();
const ::proto::AppStateSyncKeyFingerprint& fingerprint() const;
- ::proto::AppStateSyncKeyFingerprint* release_fingerprint();
+ PROTOBUF_MUST_USE_RESULT ::proto::AppStateSyncKeyFingerprint* release_fingerprint();
::proto::AppStateSyncKeyFingerprint* mutable_fingerprint();
void set_allocated_fingerprint(::proto::AppStateSyncKeyFingerprint* fingerprint);
private:
@@ -10144,11 +10133,11 @@ class AppStateSyncKeyData PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class AppStateSyncKeyShare PROTOBUF_FINAL :
+class AppStateSyncKeyShare final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.AppStateSyncKeyShare) */ {
public:
inline AppStateSyncKeyShare() : AppStateSyncKeyShare(nullptr) {}
- virtual ~AppStateSyncKeyShare();
+ ~AppStateSyncKeyShare() override;
explicit constexpr AppStateSyncKeyShare(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AppStateSyncKeyShare(const AppStateSyncKeyShare& from);
@@ -10162,8 +10151,13 @@ class AppStateSyncKeyShare PROTOBUF_FINAL :
return *this;
}
inline AppStateSyncKeyShare& operator=(AppStateSyncKeyShare&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -10181,10 +10175,10 @@ class AppStateSyncKeyShare PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const AppStateSyncKeyShare& default_instance() {
return *internal_default_instance();
@@ -10201,7 +10195,7 @@ class AppStateSyncKeyShare PROTOBUF_FINAL :
}
inline void Swap(AppStateSyncKeyShare* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -10209,23 +10203,26 @@ class AppStateSyncKeyShare PROTOBUF_FINAL :
}
void UnsafeArenaSwap(AppStateSyncKeyShare* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline AppStateSyncKeyShare* New() const final {
- return CreateMaybeMessage<AppStateSyncKeyShare>(nullptr);
+ return new AppStateSyncKeyShare();
}
AppStateSyncKeyShare* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<AppStateSyncKeyShare>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AppStateSyncKeyShare& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const AppStateSyncKeyShare& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -10236,8 +10233,8 @@ class AppStateSyncKeyShare PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AppStateSyncKeyShare* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -10245,19 +10242,17 @@ class AppStateSyncKeyShare PROTOBUF_FINAL :
return "proto.AppStateSyncKeyShare";
}
protected:
- explicit AppStateSyncKeyShare(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -10297,11 +10292,11 @@ class AppStateSyncKeyShare PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class AppStateSyncKeyRequest PROTOBUF_FINAL :
+class AppStateSyncKeyRequest final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.AppStateSyncKeyRequest) */ {
public:
inline AppStateSyncKeyRequest() : AppStateSyncKeyRequest(nullptr) {}
- virtual ~AppStateSyncKeyRequest();
+ ~AppStateSyncKeyRequest() override;
explicit constexpr AppStateSyncKeyRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AppStateSyncKeyRequest(const AppStateSyncKeyRequest& from);
@@ -10315,8 +10310,13 @@ class AppStateSyncKeyRequest PROTOBUF_FINAL :
return *this;
}
inline AppStateSyncKeyRequest& operator=(AppStateSyncKeyRequest&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -10334,10 +10334,10 @@ class AppStateSyncKeyRequest PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const AppStateSyncKeyRequest& default_instance() {
return *internal_default_instance();
@@ -10354,7 +10354,7 @@ class AppStateSyncKeyRequest PROTOBUF_FINAL :
}
inline void Swap(AppStateSyncKeyRequest* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -10362,23 +10362,26 @@ class AppStateSyncKeyRequest PROTOBUF_FINAL :
}
void UnsafeArenaSwap(AppStateSyncKeyRequest* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline AppStateSyncKeyRequest* New() const final {
- return CreateMaybeMessage<AppStateSyncKeyRequest>(nullptr);
+ return new AppStateSyncKeyRequest();
}
AppStateSyncKeyRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<AppStateSyncKeyRequest>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AppStateSyncKeyRequest& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const AppStateSyncKeyRequest& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -10389,8 +10392,8 @@ class AppStateSyncKeyRequest PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AppStateSyncKeyRequest* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -10398,19 +10401,17 @@ class AppStateSyncKeyRequest PROTOBUF_FINAL :
return "proto.AppStateSyncKeyRequest";
}
protected:
- explicit AppStateSyncKeyRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -10450,11 +10451,11 @@ class AppStateSyncKeyRequest PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class AppStateFatalExceptionNotification PROTOBUF_FINAL :
+class AppStateFatalExceptionNotification final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.AppStateFatalExceptionNotification) */ {
public:
inline AppStateFatalExceptionNotification() : AppStateFatalExceptionNotification(nullptr) {}
- virtual ~AppStateFatalExceptionNotification();
+ ~AppStateFatalExceptionNotification() override;
explicit constexpr AppStateFatalExceptionNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AppStateFatalExceptionNotification(const AppStateFatalExceptionNotification& from);
@@ -10468,8 +10469,13 @@ class AppStateFatalExceptionNotification PROTOBUF_FINAL :
return *this;
}
inline AppStateFatalExceptionNotification& operator=(AppStateFatalExceptionNotification&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -10487,10 +10493,10 @@ class AppStateFatalExceptionNotification PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const AppStateFatalExceptionNotification& default_instance() {
return *internal_default_instance();
@@ -10507,7 +10513,7 @@ class AppStateFatalExceptionNotification PROTOBUF_FINAL :
}
inline void Swap(AppStateFatalExceptionNotification* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -10515,23 +10521,26 @@ class AppStateFatalExceptionNotification PROTOBUF_FINAL :
}
void UnsafeArenaSwap(AppStateFatalExceptionNotification* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline AppStateFatalExceptionNotification* New() const final {
- return CreateMaybeMessage<AppStateFatalExceptionNotification>(nullptr);
+ return new AppStateFatalExceptionNotification();
}
AppStateFatalExceptionNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<AppStateFatalExceptionNotification>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AppStateFatalExceptionNotification& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const AppStateFatalExceptionNotification& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -10542,8 +10551,8 @@ class AppStateFatalExceptionNotification PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AppStateFatalExceptionNotification* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -10551,19 +10560,17 @@ class AppStateFatalExceptionNotification PROTOBUF_FINAL :
return "proto.AppStateFatalExceptionNotification";
}
protected:
- explicit AppStateFatalExceptionNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -10625,11 +10632,11 @@ class AppStateFatalExceptionNotification PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class InitialSecurityNotificationSettingSync PROTOBUF_FINAL :
+class InitialSecurityNotificationSettingSync final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.InitialSecurityNotificationSettingSync) */ {
public:
inline InitialSecurityNotificationSettingSync() : InitialSecurityNotificationSettingSync(nullptr) {}
- virtual ~InitialSecurityNotificationSettingSync();
+ ~InitialSecurityNotificationSettingSync() override;
explicit constexpr InitialSecurityNotificationSettingSync(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
InitialSecurityNotificationSettingSync(const InitialSecurityNotificationSettingSync& from);
@@ -10643,8 +10650,13 @@ class InitialSecurityNotificationSettingSync PROTOBUF_FINAL :
return *this;
}
inline InitialSecurityNotificationSettingSync& operator=(InitialSecurityNotificationSettingSync&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -10662,10 +10674,10 @@ class InitialSecurityNotificationSettingSync PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const InitialSecurityNotificationSettingSync& default_instance() {
return *internal_default_instance();
@@ -10682,7 +10694,7 @@ class InitialSecurityNotificationSettingSync PROTOBUF_FINAL :
}
inline void Swap(InitialSecurityNotificationSettingSync* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -10690,23 +10702,26 @@ class InitialSecurityNotificationSettingSync PROTOBUF_FINAL :
}
void UnsafeArenaSwap(InitialSecurityNotificationSettingSync* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline InitialSecurityNotificationSettingSync* New() const final {
- return CreateMaybeMessage<InitialSecurityNotificationSettingSync>(nullptr);
+ return new InitialSecurityNotificationSettingSync();
}
InitialSecurityNotificationSettingSync* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<InitialSecurityNotificationSettingSync>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const InitialSecurityNotificationSettingSync& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const InitialSecurityNotificationSettingSync& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -10717,8 +10732,8 @@ class InitialSecurityNotificationSettingSync PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(InitialSecurityNotificationSettingSync* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -10726,19 +10741,17 @@ class InitialSecurityNotificationSettingSync PROTOBUF_FINAL :
return "proto.InitialSecurityNotificationSettingSync";
}
protected:
- explicit InitialSecurityNotificationSettingSync(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -10774,11 +10787,11 @@ class InitialSecurityNotificationSettingSync PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class ContactsArrayMessage PROTOBUF_FINAL :
+class ContactsArrayMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.ContactsArrayMessage) */ {
public:
inline ContactsArrayMessage() : ContactsArrayMessage(nullptr) {}
- virtual ~ContactsArrayMessage();
+ ~ContactsArrayMessage() override;
explicit constexpr ContactsArrayMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ContactsArrayMessage(const ContactsArrayMessage& from);
@@ -10792,8 +10805,13 @@ class ContactsArrayMessage PROTOBUF_FINAL :
return *this;
}
inline ContactsArrayMessage& operator=(ContactsArrayMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -10811,10 +10829,10 @@ class ContactsArrayMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const ContactsArrayMessage& default_instance() {
return *internal_default_instance();
@@ -10831,7 +10849,7 @@ class ContactsArrayMessage PROTOBUF_FINAL :
}
inline void Swap(ContactsArrayMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -10839,23 +10857,26 @@ class ContactsArrayMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(ContactsArrayMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ContactsArrayMessage* New() const final {
- return CreateMaybeMessage<ContactsArrayMessage>(nullptr);
+ return new ContactsArrayMessage();
}
ContactsArrayMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ContactsArrayMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ContactsArrayMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ContactsArrayMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -10866,8 +10887,8 @@ class ContactsArrayMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ContactsArrayMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -10875,19 +10896,17 @@ class ContactsArrayMessage PROTOBUF_FINAL :
return "proto.ContactsArrayMessage";
}
protected:
- explicit ContactsArrayMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -10923,16 +10942,14 @@ class ContactsArrayMessage PROTOBUF_FINAL :
public:
void clear_displayname();
const std::string& displayname() const;
- void set_displayname(const std::string& value);
- void set_displayname(std::string&& value);
- void set_displayname(const char* value);
- void set_displayname(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_displayname(ArgT0&& arg0, ArgT... args);
std::string* mutable_displayname();
- std::string* release_displayname();
+ PROTOBUF_MUST_USE_RESULT std::string* release_displayname();
void set_allocated_displayname(std::string* displayname);
private:
const std::string& _internal_displayname() const;
- void _internal_set_displayname(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_displayname(const std::string& value);
std::string* _internal_mutable_displayname();
public:
@@ -10943,7 +10960,7 @@ class ContactsArrayMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -10970,11 +10987,11 @@ class ContactsArrayMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class HSMCurrency PROTOBUF_FINAL :
+class HSMCurrency final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.HSMCurrency) */ {
public:
inline HSMCurrency() : HSMCurrency(nullptr) {}
- virtual ~HSMCurrency();
+ ~HSMCurrency() override;
explicit constexpr HSMCurrency(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HSMCurrency(const HSMCurrency& from);
@@ -10988,8 +11005,13 @@ class HSMCurrency PROTOBUF_FINAL :
return *this;
}
inline HSMCurrency& operator=(HSMCurrency&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -11007,10 +11029,10 @@ class HSMCurrency PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const HSMCurrency& default_instance() {
return *internal_default_instance();
@@ -11027,7 +11049,7 @@ class HSMCurrency PROTOBUF_FINAL :
}
inline void Swap(HSMCurrency* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -11035,23 +11057,26 @@ class HSMCurrency PROTOBUF_FINAL :
}
void UnsafeArenaSwap(HSMCurrency* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline HSMCurrency* New() const final {
- return CreateMaybeMessage<HSMCurrency>(nullptr);
+ return new HSMCurrency();
}
HSMCurrency* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<HSMCurrency>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HSMCurrency& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const HSMCurrency& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -11062,8 +11087,8 @@ class HSMCurrency PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HSMCurrency* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -11071,19 +11096,17 @@ class HSMCurrency PROTOBUF_FINAL :
return "proto.HSMCurrency";
}
protected:
- explicit HSMCurrency(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -11100,16 +11123,14 @@ class HSMCurrency PROTOBUF_FINAL :
public:
void clear_currencycode();
const std::string& currencycode() const;
- void set_currencycode(const std::string& value);
- void set_currencycode(std::string&& value);
- void set_currencycode(const char* value);
- void set_currencycode(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_currencycode(ArgT0&& arg0, ArgT... args);
std::string* mutable_currencycode();
- std::string* release_currencycode();
+ PROTOBUF_MUST_USE_RESULT std::string* release_currencycode();
void set_allocated_currencycode(std::string* currencycode);
private:
const std::string& _internal_currencycode() const;
- void _internal_set_currencycode(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_currencycode(const std::string& value);
std::string* _internal_mutable_currencycode();
public:
@@ -11141,11 +11162,11 @@ class HSMCurrency PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class HSMDateTimeComponent PROTOBUF_FINAL :
+class HSMDateTimeComponent final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.HSMDateTimeComponent) */ {
public:
inline HSMDateTimeComponent() : HSMDateTimeComponent(nullptr) {}
- virtual ~HSMDateTimeComponent();
+ ~HSMDateTimeComponent() override;
explicit constexpr HSMDateTimeComponent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HSMDateTimeComponent(const HSMDateTimeComponent& from);
@@ -11159,8 +11180,13 @@ class HSMDateTimeComponent PROTOBUF_FINAL :
return *this;
}
inline HSMDateTimeComponent& operator=(HSMDateTimeComponent&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -11178,10 +11204,10 @@ class HSMDateTimeComponent PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const HSMDateTimeComponent& default_instance() {
return *internal_default_instance();
@@ -11198,7 +11224,7 @@ class HSMDateTimeComponent PROTOBUF_FINAL :
}
inline void Swap(HSMDateTimeComponent* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -11206,23 +11232,26 @@ class HSMDateTimeComponent PROTOBUF_FINAL :
}
void UnsafeArenaSwap(HSMDateTimeComponent* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline HSMDateTimeComponent* New() const final {
- return CreateMaybeMessage<HSMDateTimeComponent>(nullptr);
+ return new HSMDateTimeComponent();
}
HSMDateTimeComponent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<HSMDateTimeComponent>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HSMDateTimeComponent& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const HSMDateTimeComponent& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -11233,8 +11262,8 @@ class HSMDateTimeComponent PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HSMDateTimeComponent* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -11242,19 +11271,17 @@ class HSMDateTimeComponent PROTOBUF_FINAL :
return "proto.HSMDateTimeComponent";
}
protected:
- explicit HSMDateTimeComponent(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -11450,11 +11477,11 @@ class HSMDateTimeComponent PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class HSMDateTimeUnixEpoch PROTOBUF_FINAL :
+class HSMDateTimeUnixEpoch final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.HSMDateTimeUnixEpoch) */ {
public:
inline HSMDateTimeUnixEpoch() : HSMDateTimeUnixEpoch(nullptr) {}
- virtual ~HSMDateTimeUnixEpoch();
+ ~HSMDateTimeUnixEpoch() override;
explicit constexpr HSMDateTimeUnixEpoch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HSMDateTimeUnixEpoch(const HSMDateTimeUnixEpoch& from);
@@ -11468,8 +11495,13 @@ class HSMDateTimeUnixEpoch PROTOBUF_FINAL :
return *this;
}
inline HSMDateTimeUnixEpoch& operator=(HSMDateTimeUnixEpoch&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -11487,10 +11519,10 @@ class HSMDateTimeUnixEpoch PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const HSMDateTimeUnixEpoch& default_instance() {
return *internal_default_instance();
@@ -11507,7 +11539,7 @@ class HSMDateTimeUnixEpoch PROTOBUF_FINAL :
}
inline void Swap(HSMDateTimeUnixEpoch* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -11515,23 +11547,26 @@ class HSMDateTimeUnixEpoch PROTOBUF_FINAL :
}
void UnsafeArenaSwap(HSMDateTimeUnixEpoch* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline HSMDateTimeUnixEpoch* New() const final {
- return CreateMaybeMessage<HSMDateTimeUnixEpoch>(nullptr);
+ return new HSMDateTimeUnixEpoch();
}
HSMDateTimeUnixEpoch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<HSMDateTimeUnixEpoch>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HSMDateTimeUnixEpoch& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const HSMDateTimeUnixEpoch& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -11542,8 +11577,8 @@ class HSMDateTimeUnixEpoch PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HSMDateTimeUnixEpoch* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -11551,19 +11586,17 @@ class HSMDateTimeUnixEpoch PROTOBUF_FINAL :
return "proto.HSMDateTimeUnixEpoch";
}
protected:
- explicit HSMDateTimeUnixEpoch(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -11599,11 +11632,11 @@ class HSMDateTimeUnixEpoch PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class HSMDateTime PROTOBUF_FINAL :
+class HSMDateTime final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.HSMDateTime) */ {
public:
inline HSMDateTime() : HSMDateTime(nullptr) {}
- virtual ~HSMDateTime();
+ ~HSMDateTime() override;
explicit constexpr HSMDateTime(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HSMDateTime(const HSMDateTime& from);
@@ -11617,8 +11650,13 @@ class HSMDateTime PROTOBUF_FINAL :
return *this;
}
inline HSMDateTime& operator=(HSMDateTime&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -11636,10 +11674,10 @@ class HSMDateTime PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const HSMDateTime& default_instance() {
return *internal_default_instance();
@@ -11662,7 +11700,7 @@ class HSMDateTime PROTOBUF_FINAL :
}
inline void Swap(HSMDateTime* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -11670,23 +11708,26 @@ class HSMDateTime PROTOBUF_FINAL :
}
void UnsafeArenaSwap(HSMDateTime* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline HSMDateTime* New() const final {
- return CreateMaybeMessage<HSMDateTime>(nullptr);
+ return new HSMDateTime();
}
HSMDateTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<HSMDateTime>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HSMDateTime& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const HSMDateTime& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -11697,8 +11738,8 @@ class HSMDateTime PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HSMDateTime* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -11706,19 +11747,17 @@ class HSMDateTime PROTOBUF_FINAL :
return "proto.HSMDateTime";
}
protected:
- explicit HSMDateTime(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -11735,7 +11774,7 @@ class HSMDateTime PROTOBUF_FINAL :
public:
void clear_component();
const ::proto::HSMDateTimeComponent& component() const;
- ::proto::HSMDateTimeComponent* release_component();
+ PROTOBUF_MUST_USE_RESULT ::proto::HSMDateTimeComponent* release_component();
::proto::HSMDateTimeComponent* mutable_component();
void set_allocated_component(::proto::HSMDateTimeComponent* component);
private:
@@ -11753,7 +11792,7 @@ class HSMDateTime PROTOBUF_FINAL :
public:
void clear_unixepoch();
const ::proto::HSMDateTimeUnixEpoch& unixepoch() const;
- ::proto::HSMDateTimeUnixEpoch* release_unixepoch();
+ PROTOBUF_MUST_USE_RESULT ::proto::HSMDateTimeUnixEpoch* release_unixepoch();
::proto::HSMDateTimeUnixEpoch* mutable_unixepoch();
void set_allocated_unixepoch(::proto::HSMDateTimeUnixEpoch* unixepoch);
private:
@@ -11791,11 +11830,11 @@ class HSMDateTime PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class HSMLocalizableParameter PROTOBUF_FINAL :
+class HSMLocalizableParameter final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.HSMLocalizableParameter) */ {
public:
inline HSMLocalizableParameter() : HSMLocalizableParameter(nullptr) {}
- virtual ~HSMLocalizableParameter();
+ ~HSMLocalizableParameter() override;
explicit constexpr HSMLocalizableParameter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HSMLocalizableParameter(const HSMLocalizableParameter& from);
@@ -11809,8 +11848,13 @@ class HSMLocalizableParameter PROTOBUF_FINAL :
return *this;
}
inline HSMLocalizableParameter& operator=(HSMLocalizableParameter&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -11828,10 +11872,10 @@ class HSMLocalizableParameter PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const HSMLocalizableParameter& default_instance() {
return *internal_default_instance();
@@ -11854,7 +11898,7 @@ class HSMLocalizableParameter PROTOBUF_FINAL :
}
inline void Swap(HSMLocalizableParameter* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -11862,23 +11906,26 @@ class HSMLocalizableParameter PROTOBUF_FINAL :
}
void UnsafeArenaSwap(HSMLocalizableParameter* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline HSMLocalizableParameter* New() const final {
- return CreateMaybeMessage<HSMLocalizableParameter>(nullptr);
+ return new HSMLocalizableParameter();
}
HSMLocalizableParameter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<HSMLocalizableParameter>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HSMLocalizableParameter& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const HSMLocalizableParameter& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -11889,8 +11936,8 @@ class HSMLocalizableParameter PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HSMLocalizableParameter* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -11898,19 +11945,17 @@ class HSMLocalizableParameter PROTOBUF_FINAL :
return "proto.HSMLocalizableParameter";
}
protected:
- explicit HSMLocalizableParameter(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -11928,16 +11973,14 @@ class HSMLocalizableParameter PROTOBUF_FINAL :
public:
void clear_default_();
const std::string& default_() const;
- void set_default_(const std::string& value);
- void set_default_(std::string&& value);
- void set_default_(const char* value);
- void set_default_(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_default_(ArgT0&& arg0, ArgT... args);
std::string* mutable_default_();
- std::string* release_default_();
+ PROTOBUF_MUST_USE_RESULT std::string* release_default_();
void set_allocated_default_(std::string* default_);
private:
const std::string& _internal_default_() const;
- void _internal_set_default_(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_(const std::string& value);
std::string* _internal_mutable_default_();
public:
@@ -11948,7 +11991,7 @@ class HSMLocalizableParameter PROTOBUF_FINAL :
public:
void clear_currency();
const ::proto::HSMCurrency& currency() const;
- ::proto::HSMCurrency* release_currency();
+ PROTOBUF_MUST_USE_RESULT ::proto::HSMCurrency* release_currency();
::proto::HSMCurrency* mutable_currency();
void set_allocated_currency(::proto::HSMCurrency* currency);
private:
@@ -11966,7 +12009,7 @@ class HSMLocalizableParameter PROTOBUF_FINAL :
public:
void clear_datetime();
const ::proto::HSMDateTime& datetime() const;
- ::proto::HSMDateTime* release_datetime();
+ PROTOBUF_MUST_USE_RESULT ::proto::HSMDateTime* release_datetime();
::proto::HSMDateTime* mutable_datetime();
void set_allocated_datetime(::proto::HSMDateTime* datetime);
private:
@@ -12006,11 +12049,11 @@ class HSMLocalizableParameter PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class HighlyStructuredMessage PROTOBUF_FINAL :
+class HighlyStructuredMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.HighlyStructuredMessage) */ {
public:
inline HighlyStructuredMessage() : HighlyStructuredMessage(nullptr) {}
- virtual ~HighlyStructuredMessage();
+ ~HighlyStructuredMessage() override;
explicit constexpr HighlyStructuredMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HighlyStructuredMessage(const HighlyStructuredMessage& from);
@@ -12024,8 +12067,13 @@ class HighlyStructuredMessage PROTOBUF_FINAL :
return *this;
}
inline HighlyStructuredMessage& operator=(HighlyStructuredMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -12043,10 +12091,10 @@ class HighlyStructuredMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const HighlyStructuredMessage& default_instance() {
return *internal_default_instance();
@@ -12063,7 +12111,7 @@ class HighlyStructuredMessage PROTOBUF_FINAL :
}
inline void Swap(HighlyStructuredMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -12071,23 +12119,26 @@ class HighlyStructuredMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(HighlyStructuredMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline HighlyStructuredMessage* New() const final {
- return CreateMaybeMessage<HighlyStructuredMessage>(nullptr);
+ return new HighlyStructuredMessage();
}
HighlyStructuredMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<HighlyStructuredMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HighlyStructuredMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const HighlyStructuredMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -12098,8 +12149,8 @@ class HighlyStructuredMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HighlyStructuredMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -12107,19 +12158,17 @@ class HighlyStructuredMessage PROTOBUF_FINAL :
return "proto.HighlyStructuredMessage";
}
protected:
- explicit HighlyStructuredMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -12185,16 +12234,14 @@ class HighlyStructuredMessage PROTOBUF_FINAL :
public:
void clear_namespace_();
const std::string& namespace_() const;
- void set_namespace_(const std::string& value);
- void set_namespace_(std::string&& value);
- void set_namespace_(const char* value);
- void set_namespace_(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_namespace_(ArgT0&& arg0, ArgT... args);
std::string* mutable_namespace_();
- std::string* release_namespace_();
+ PROTOBUF_MUST_USE_RESULT std::string* release_namespace_();
void set_allocated_namespace_(std::string* namespace_);
private:
const std::string& _internal_namespace_() const;
- void _internal_set_namespace_(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_namespace_(const std::string& value);
std::string* _internal_mutable_namespace_();
public:
@@ -12205,16 +12252,14 @@ class HighlyStructuredMessage PROTOBUF_FINAL :
public:
void clear_elementname();
const std::string& elementname() const;
- void set_elementname(const std::string& value);
- void set_elementname(std::string&& value);
- void set_elementname(const char* value);
- void set_elementname(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_elementname(ArgT0&& arg0, ArgT... args);
std::string* mutable_elementname();
- std::string* release_elementname();
+ PROTOBUF_MUST_USE_RESULT std::string* release_elementname();
void set_allocated_elementname(std::string* elementname);
private:
const std::string& _internal_elementname() const;
- void _internal_set_elementname(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_elementname(const std::string& value);
std::string* _internal_mutable_elementname();
public:
@@ -12225,16 +12270,14 @@ class HighlyStructuredMessage PROTOBUF_FINAL :
public:
void clear_fallbacklg();
const std::string& fallbacklg() const;
- void set_fallbacklg(const std::string& value);
- void set_fallbacklg(std::string&& value);
- void set_fallbacklg(const char* value);
- void set_fallbacklg(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_fallbacklg(ArgT0&& arg0, ArgT... args);
std::string* mutable_fallbacklg();
- std::string* release_fallbacklg();
+ PROTOBUF_MUST_USE_RESULT std::string* release_fallbacklg();
void set_allocated_fallbacklg(std::string* fallbacklg);
private:
const std::string& _internal_fallbacklg() const;
- void _internal_set_fallbacklg(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_fallbacklg(const std::string& value);
std::string* _internal_mutable_fallbacklg();
public:
@@ -12245,16 +12288,14 @@ class HighlyStructuredMessage PROTOBUF_FINAL :
public:
void clear_fallbacklc();
const std::string& fallbacklc() const;
- void set_fallbacklc(const std::string& value);
- void set_fallbacklc(std::string&& value);
- void set_fallbacklc(const char* value);
- void set_fallbacklc(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_fallbacklc(ArgT0&& arg0, ArgT... args);
std::string* mutable_fallbacklc();
- std::string* release_fallbacklc();
+ PROTOBUF_MUST_USE_RESULT std::string* release_fallbacklc();
void set_allocated_fallbacklc(std::string* fallbacklc);
private:
const std::string& _internal_fallbacklc() const;
- void _internal_set_fallbacklc(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_fallbacklc(const std::string& value);
std::string* _internal_mutable_fallbacklc();
public:
@@ -12265,16 +12306,14 @@ class HighlyStructuredMessage PROTOBUF_FINAL :
public:
void clear_deterministiclg();
const std::string& deterministiclg() const;
- void set_deterministiclg(const std::string& value);
- void set_deterministiclg(std::string&& value);
- void set_deterministiclg(const char* value);
- void set_deterministiclg(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_deterministiclg(ArgT0&& arg0, ArgT... args);
std::string* mutable_deterministiclg();
- std::string* release_deterministiclg();
+ PROTOBUF_MUST_USE_RESULT std::string* release_deterministiclg();
void set_allocated_deterministiclg(std::string* deterministiclg);
private:
const std::string& _internal_deterministiclg() const;
- void _internal_set_deterministiclg(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_deterministiclg(const std::string& value);
std::string* _internal_mutable_deterministiclg();
public:
@@ -12285,16 +12324,14 @@ class HighlyStructuredMessage PROTOBUF_FINAL :
public:
void clear_deterministiclc();
const std::string& deterministiclc() const;
- void set_deterministiclc(const std::string& value);
- void set_deterministiclc(std::string&& value);
- void set_deterministiclc(const char* value);
- void set_deterministiclc(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_deterministiclc(ArgT0&& arg0, ArgT... args);
std::string* mutable_deterministiclc();
- std::string* release_deterministiclc();
+ PROTOBUF_MUST_USE_RESULT std::string* release_deterministiclc();
void set_allocated_deterministiclc(std::string* deterministiclc);
private:
const std::string& _internal_deterministiclc() const;
- void _internal_set_deterministiclc(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_deterministiclc(const std::string& value);
std::string* _internal_mutable_deterministiclc();
public:
@@ -12305,7 +12342,7 @@ class HighlyStructuredMessage PROTOBUF_FINAL :
public:
void clear_hydratedhsm();
const ::proto::TemplateMessage& hydratedhsm() const;
- ::proto::TemplateMessage* release_hydratedhsm();
+ PROTOBUF_MUST_USE_RESULT ::proto::TemplateMessage* release_hydratedhsm();
::proto::TemplateMessage* mutable_hydratedhsm();
void set_allocated_hydratedhsm(::proto::TemplateMessage* hydratedhsm);
private:
@@ -12338,11 +12375,11 @@ class HighlyStructuredMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class SendPaymentMessage PROTOBUF_FINAL :
+class SendPaymentMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.SendPaymentMessage) */ {
public:
inline SendPaymentMessage() : SendPaymentMessage(nullptr) {}
- virtual ~SendPaymentMessage();
+ ~SendPaymentMessage() override;
explicit constexpr SendPaymentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
SendPaymentMessage(const SendPaymentMessage& from);
@@ -12356,8 +12393,13 @@ class SendPaymentMessage PROTOBUF_FINAL :
return *this;
}
inline SendPaymentMessage& operator=(SendPaymentMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -12375,10 +12417,10 @@ class SendPaymentMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const SendPaymentMessage& default_instance() {
return *internal_default_instance();
@@ -12395,7 +12437,7 @@ class SendPaymentMessage PROTOBUF_FINAL :
}
inline void Swap(SendPaymentMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -12403,23 +12445,26 @@ class SendPaymentMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(SendPaymentMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline SendPaymentMessage* New() const final {
- return CreateMaybeMessage<SendPaymentMessage>(nullptr);
+ return new SendPaymentMessage();
}
SendPaymentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<SendPaymentMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const SendPaymentMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const SendPaymentMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -12430,8 +12475,8 @@ class SendPaymentMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(SendPaymentMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -12439,19 +12484,17 @@ class SendPaymentMessage PROTOBUF_FINAL :
return "proto.SendPaymentMessage";
}
protected:
- explicit SendPaymentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -12468,7 +12511,7 @@ class SendPaymentMessage PROTOBUF_FINAL :
public:
void clear_notemessage();
const ::proto::Message& notemessage() const;
- ::proto::Message* release_notemessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::Message* release_notemessage();
::proto::Message* mutable_notemessage();
void set_allocated_notemessage(::proto::Message* notemessage);
private:
@@ -12486,7 +12529,7 @@ class SendPaymentMessage PROTOBUF_FINAL :
public:
void clear_requestmessagekey();
const ::proto::MessageKey& requestmessagekey() const;
- ::proto::MessageKey* release_requestmessagekey();
+ PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_requestmessagekey();
::proto::MessageKey* mutable_requestmessagekey();
void set_allocated_requestmessagekey(::proto::MessageKey* requestmessagekey);
private:
@@ -12512,11 +12555,11 @@ class SendPaymentMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class RequestPaymentMessage PROTOBUF_FINAL :
+class RequestPaymentMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.RequestPaymentMessage) */ {
public:
inline RequestPaymentMessage() : RequestPaymentMessage(nullptr) {}
- virtual ~RequestPaymentMessage();
+ ~RequestPaymentMessage() override;
explicit constexpr RequestPaymentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
RequestPaymentMessage(const RequestPaymentMessage& from);
@@ -12530,8 +12573,13 @@ class RequestPaymentMessage PROTOBUF_FINAL :
return *this;
}
inline RequestPaymentMessage& operator=(RequestPaymentMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -12549,10 +12597,10 @@ class RequestPaymentMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const RequestPaymentMessage& default_instance() {
return *internal_default_instance();
@@ -12569,7 +12617,7 @@ class RequestPaymentMessage PROTOBUF_FINAL :
}
inline void Swap(RequestPaymentMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -12577,23 +12625,26 @@ class RequestPaymentMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(RequestPaymentMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline RequestPaymentMessage* New() const final {
- return CreateMaybeMessage<RequestPaymentMessage>(nullptr);
+ return new RequestPaymentMessage();
}
RequestPaymentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<RequestPaymentMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const RequestPaymentMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const RequestPaymentMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -12604,8 +12655,8 @@ class RequestPaymentMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(RequestPaymentMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -12613,19 +12664,17 @@ class RequestPaymentMessage PROTOBUF_FINAL :
return "proto.RequestPaymentMessage";
}
protected:
- explicit RequestPaymentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -12646,16 +12695,14 @@ class RequestPaymentMessage PROTOBUF_FINAL :
public:
void clear_currencycodeiso4217();
const std::string& currencycodeiso4217() const;
- void set_currencycodeiso4217(const std::string& value);
- void set_currencycodeiso4217(std::string&& value);
- void set_currencycodeiso4217(const char* value);
- void set_currencycodeiso4217(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_currencycodeiso4217(ArgT0&& arg0, ArgT... args);
std::string* mutable_currencycodeiso4217();
- std::string* release_currencycodeiso4217();
+ PROTOBUF_MUST_USE_RESULT std::string* release_currencycodeiso4217();
void set_allocated_currencycodeiso4217(std::string* currencycodeiso4217);
private:
const std::string& _internal_currencycodeiso4217() const;
- void _internal_set_currencycodeiso4217(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_currencycodeiso4217(const std::string& value);
std::string* _internal_mutable_currencycodeiso4217();
public:
@@ -12666,16 +12713,14 @@ class RequestPaymentMessage PROTOBUF_FINAL :
public:
void clear_requestfrom();
const std::string& requestfrom() const;
- void set_requestfrom(const std::string& value);
- void set_requestfrom(std::string&& value);
- void set_requestfrom(const char* value);
- void set_requestfrom(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_requestfrom(ArgT0&& arg0, ArgT... args);
std::string* mutable_requestfrom();
- std::string* release_requestfrom();
+ PROTOBUF_MUST_USE_RESULT std::string* release_requestfrom();
void set_allocated_requestfrom(std::string* requestfrom);
private:
const std::string& _internal_requestfrom() const;
- void _internal_set_requestfrom(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_requestfrom(const std::string& value);
std::string* _internal_mutable_requestfrom();
public:
@@ -12686,7 +12731,7 @@ class RequestPaymentMessage PROTOBUF_FINAL :
public:
void clear_notemessage();
const ::proto::Message& notemessage() const;
- ::proto::Message* release_notemessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::Message* release_notemessage();
::proto::Message* mutable_notemessage();
void set_allocated_notemessage(::proto::Message* notemessage);
private:
@@ -12704,7 +12749,7 @@ class RequestPaymentMessage PROTOBUF_FINAL :
public:
void clear_amount();
const ::proto::PaymentMoney& amount() const;
- ::proto::PaymentMoney* release_amount();
+ PROTOBUF_MUST_USE_RESULT ::proto::PaymentMoney* release_amount();
::proto::PaymentMoney* mutable_amount();
void set_allocated_amount(::proto::PaymentMoney* amount);
private:
@@ -12760,11 +12805,11 @@ class RequestPaymentMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class DeclinePaymentRequestMessage PROTOBUF_FINAL :
+class DeclinePaymentRequestMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.DeclinePaymentRequestMessage) */ {
public:
inline DeclinePaymentRequestMessage() : DeclinePaymentRequestMessage(nullptr) {}
- virtual ~DeclinePaymentRequestMessage();
+ ~DeclinePaymentRequestMessage() override;
explicit constexpr DeclinePaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
DeclinePaymentRequestMessage(const DeclinePaymentRequestMessage& from);
@@ -12778,8 +12823,13 @@ class DeclinePaymentRequestMessage PROTOBUF_FINAL :
return *this;
}
inline DeclinePaymentRequestMessage& operator=(DeclinePaymentRequestMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -12797,10 +12847,10 @@ class DeclinePaymentRequestMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const DeclinePaymentRequestMessage& default_instance() {
return *internal_default_instance();
@@ -12817,7 +12867,7 @@ class DeclinePaymentRequestMessage PROTOBUF_FINAL :
}
inline void Swap(DeclinePaymentRequestMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -12825,23 +12875,26 @@ class DeclinePaymentRequestMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(DeclinePaymentRequestMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline DeclinePaymentRequestMessage* New() const final {
- return CreateMaybeMessage<DeclinePaymentRequestMessage>(nullptr);
+ return new DeclinePaymentRequestMessage();
}
DeclinePaymentRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<DeclinePaymentRequestMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const DeclinePaymentRequestMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const DeclinePaymentRequestMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -12852,8 +12905,8 @@ class DeclinePaymentRequestMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(DeclinePaymentRequestMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -12861,19 +12914,17 @@ class DeclinePaymentRequestMessage PROTOBUF_FINAL :
return "proto.DeclinePaymentRequestMessage";
}
protected:
- explicit DeclinePaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -12889,7 +12940,7 @@ class DeclinePaymentRequestMessage PROTOBUF_FINAL :
public:
void clear_key();
const ::proto::MessageKey& key() const;
- ::proto::MessageKey* release_key();
+ PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_key();
::proto::MessageKey* mutable_key();
void set_allocated_key(::proto::MessageKey* key);
private:
@@ -12914,11 +12965,11 @@ class DeclinePaymentRequestMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class CancelPaymentRequestMessage PROTOBUF_FINAL :
+class CancelPaymentRequestMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.CancelPaymentRequestMessage) */ {
public:
inline CancelPaymentRequestMessage() : CancelPaymentRequestMessage(nullptr) {}
- virtual ~CancelPaymentRequestMessage();
+ ~CancelPaymentRequestMessage() override;
explicit constexpr CancelPaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
CancelPaymentRequestMessage(const CancelPaymentRequestMessage& from);
@@ -12932,8 +12983,13 @@ class CancelPaymentRequestMessage PROTOBUF_FINAL :
return *this;
}
inline CancelPaymentRequestMessage& operator=(CancelPaymentRequestMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -12951,10 +13007,10 @@ class CancelPaymentRequestMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const CancelPaymentRequestMessage& default_instance() {
return *internal_default_instance();
@@ -12971,7 +13027,7 @@ class CancelPaymentRequestMessage PROTOBUF_FINAL :
}
inline void Swap(CancelPaymentRequestMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -12979,23 +13035,26 @@ class CancelPaymentRequestMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(CancelPaymentRequestMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline CancelPaymentRequestMessage* New() const final {
- return CreateMaybeMessage<CancelPaymentRequestMessage>(nullptr);
+ return new CancelPaymentRequestMessage();
}
CancelPaymentRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<CancelPaymentRequestMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const CancelPaymentRequestMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const CancelPaymentRequestMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -13006,8 +13065,8 @@ class CancelPaymentRequestMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(CancelPaymentRequestMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -13015,19 +13074,17 @@ class CancelPaymentRequestMessage PROTOBUF_FINAL :
return "proto.CancelPaymentRequestMessage";
}
protected:
- explicit CancelPaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -13043,7 +13100,7 @@ class CancelPaymentRequestMessage PROTOBUF_FINAL :
public:
void clear_key();
const ::proto::MessageKey& key() const;
- ::proto::MessageKey* release_key();
+ PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_key();
::proto::MessageKey* mutable_key();
void set_allocated_key(::proto::MessageKey* key);
private:
@@ -13068,11 +13125,11 @@ class CancelPaymentRequestMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class LiveLocationMessage PROTOBUF_FINAL :
+class LiveLocationMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.LiveLocationMessage) */ {
public:
inline LiveLocationMessage() : LiveLocationMessage(nullptr) {}
- virtual ~LiveLocationMessage();
+ ~LiveLocationMessage() override;
explicit constexpr LiveLocationMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
LiveLocationMessage(const LiveLocationMessage& from);
@@ -13086,8 +13143,13 @@ class LiveLocationMessage PROTOBUF_FINAL :
return *this;
}
inline LiveLocationMessage& operator=(LiveLocationMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -13105,10 +13167,10 @@ class LiveLocationMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const LiveLocationMessage& default_instance() {
return *internal_default_instance();
@@ -13125,7 +13187,7 @@ class LiveLocationMessage PROTOBUF_FINAL :
}
inline void Swap(LiveLocationMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -13133,23 +13195,26 @@ class LiveLocationMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(LiveLocationMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline LiveLocationMessage* New() const final {
- return CreateMaybeMessage<LiveLocationMessage>(nullptr);
+ return new LiveLocationMessage();
}
LiveLocationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<LiveLocationMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const LiveLocationMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const LiveLocationMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -13160,8 +13225,8 @@ class LiveLocationMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(LiveLocationMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -13169,19 +13234,17 @@ class LiveLocationMessage PROTOBUF_FINAL :
return "proto.LiveLocationMessage";
}
protected:
- explicit LiveLocationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -13206,16 +13269,14 @@ class LiveLocationMessage PROTOBUF_FINAL :
public:
void clear_caption();
const std::string& caption() const;
- void set_caption(const std::string& value);
- void set_caption(std::string&& value);
- void set_caption(const char* value);
- void set_caption(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_caption(ArgT0&& arg0, ArgT... args);
std::string* mutable_caption();
- std::string* release_caption();
+ PROTOBUF_MUST_USE_RESULT std::string* release_caption();
void set_allocated_caption(std::string* caption);
private:
const std::string& _internal_caption() const;
- void _internal_set_caption(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_caption(const std::string& value);
std::string* _internal_mutable_caption();
public:
@@ -13226,16 +13287,14 @@ class LiveLocationMessage PROTOBUF_FINAL :
public:
void clear_jpegthumbnail();
const std::string& jpegthumbnail() const;
- void set_jpegthumbnail(const std::string& value);
- void set_jpegthumbnail(std::string&& value);
- void set_jpegthumbnail(const char* value);
- void set_jpegthumbnail(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- std::string* release_jpegthumbnail();
+ PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
- void _internal_set_jpegthumbnail(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_jpegthumbnail(const std::string& value);
std::string* _internal_mutable_jpegthumbnail();
public:
@@ -13246,7 +13305,7 @@ class LiveLocationMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -13371,11 +13430,11 @@ class LiveLocationMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class StickerMessage PROTOBUF_FINAL :
+class StickerMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.StickerMessage) */ {
public:
inline StickerMessage() : StickerMessage(nullptr) {}
- virtual ~StickerMessage();
+ ~StickerMessage() override;
explicit constexpr StickerMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
StickerMessage(const StickerMessage& from);
@@ -13389,8 +13448,13 @@ class StickerMessage PROTOBUF_FINAL :
return *this;
}
inline StickerMessage& operator=(StickerMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -13408,10 +13472,10 @@ class StickerMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const StickerMessage& default_instance() {
return *internal_default_instance();
@@ -13428,7 +13492,7 @@ class StickerMessage PROTOBUF_FINAL :
}
inline void Swap(StickerMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -13436,23 +13500,26 @@ class StickerMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(StickerMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline StickerMessage* New() const final {
- return CreateMaybeMessage<StickerMessage>(nullptr);
+ return new StickerMessage();
}
StickerMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<StickerMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const StickerMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const StickerMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -13463,8 +13530,8 @@ class StickerMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(StickerMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -13472,19 +13539,17 @@ class StickerMessage PROTOBUF_FINAL :
return "proto.StickerMessage";
}
protected:
- explicit StickerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -13514,16 +13579,14 @@ class StickerMessage PROTOBUF_FINAL :
public:
void clear_url();
const std::string& url() const;
- void set_url(const std::string& value);
- void set_url(std::string&& value);
- void set_url(const char* value);
- void set_url(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- std::string* release_url();
+ PROTOBUF_MUST_USE_RESULT std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
- void _internal_set_url(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value);
std::string* _internal_mutable_url();
public:
@@ -13534,16 +13597,14 @@ class StickerMessage PROTOBUF_FINAL :
public:
void clear_filesha256();
const std::string& filesha256() const;
- void set_filesha256(const std::string& value);
- void set_filesha256(std::string&& value);
- void set_filesha256(const char* value);
- void set_filesha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_filesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_filesha256();
- std::string* release_filesha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_filesha256();
void set_allocated_filesha256(std::string* filesha256);
private:
const std::string& _internal_filesha256() const;
- void _internal_set_filesha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_filesha256(const std::string& value);
std::string* _internal_mutable_filesha256();
public:
@@ -13554,16 +13615,14 @@ class StickerMessage PROTOBUF_FINAL :
public:
void clear_fileencsha256();
const std::string& fileencsha256() const;
- void set_fileencsha256(const std::string& value);
- void set_fileencsha256(std::string&& value);
- void set_fileencsha256(const char* value);
- void set_fileencsha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_fileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_fileencsha256();
- std::string* release_fileencsha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256();
void set_allocated_fileencsha256(std::string* fileencsha256);
private:
const std::string& _internal_fileencsha256() const;
- void _internal_set_fileencsha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_fileencsha256(const std::string& value);
std::string* _internal_mutable_fileencsha256();
public:
@@ -13574,16 +13633,14 @@ class StickerMessage PROTOBUF_FINAL :
public:
void clear_mediakey();
const std::string& mediakey() const;
- void set_mediakey(const std::string& value);
- void set_mediakey(std::string&& value);
- void set_mediakey(const char* value);
- void set_mediakey(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_mediakey(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediakey();
- std::string* release_mediakey();
+ PROTOBUF_MUST_USE_RESULT std::string* release_mediakey();
void set_allocated_mediakey(std::string* mediakey);
private:
const std::string& _internal_mediakey() const;
- void _internal_set_mediakey(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_mediakey(const std::string& value);
std::string* _internal_mutable_mediakey();
public:
@@ -13594,16 +13651,14 @@ class StickerMessage PROTOBUF_FINAL :
public:
void clear_mimetype();
const std::string& mimetype() const;
- void set_mimetype(const std::string& value);
- void set_mimetype(std::string&& value);
- void set_mimetype(const char* value);
- void set_mimetype(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_mimetype(ArgT0&& arg0, ArgT... args);
std::string* mutable_mimetype();
- std::string* release_mimetype();
+ PROTOBUF_MUST_USE_RESULT std::string* release_mimetype();
void set_allocated_mimetype(std::string* mimetype);
private:
const std::string& _internal_mimetype() const;
- void _internal_set_mimetype(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_mimetype(const std::string& value);
std::string* _internal_mutable_mimetype();
public:
@@ -13614,16 +13669,14 @@ class StickerMessage PROTOBUF_FINAL :
public:
void clear_directpath();
const std::string& directpath() const;
- void set_directpath(const std::string& value);
- void set_directpath(std::string&& value);
- void set_directpath(const char* value);
- void set_directpath(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_directpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_directpath();
- std::string* release_directpath();
+ PROTOBUF_MUST_USE_RESULT std::string* release_directpath();
void set_allocated_directpath(std::string* directpath);
private:
const std::string& _internal_directpath() const;
- void _internal_set_directpath(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_directpath(const std::string& value);
std::string* _internal_mutable_directpath();
public:
@@ -13634,16 +13687,14 @@ class StickerMessage PROTOBUF_FINAL :
public:
void clear_firstframesidecar();
const std::string& firstframesidecar() const;
- void set_firstframesidecar(const std::string& value);
- void set_firstframesidecar(std::string&& value);
- void set_firstframesidecar(const char* value);
- void set_firstframesidecar(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_firstframesidecar(ArgT0&& arg0, ArgT... args);
std::string* mutable_firstframesidecar();
- std::string* release_firstframesidecar();
+ PROTOBUF_MUST_USE_RESULT std::string* release_firstframesidecar();
void set_allocated_firstframesidecar(std::string* firstframesidecar);
private:
const std::string& _internal_firstframesidecar() const;
- void _internal_set_firstframesidecar(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_firstframesidecar(const std::string& value);
std::string* _internal_mutable_firstframesidecar();
public:
@@ -13654,16 +13705,14 @@ class StickerMessage PROTOBUF_FINAL :
public:
void clear_pngthumbnail();
const std::string& pngthumbnail() const;
- void set_pngthumbnail(const std::string& value);
- void set_pngthumbnail(std::string&& value);
- void set_pngthumbnail(const char* value);
- void set_pngthumbnail(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_pngthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_pngthumbnail();
- std::string* release_pngthumbnail();
+ PROTOBUF_MUST_USE_RESULT std::string* release_pngthumbnail();
void set_allocated_pngthumbnail(std::string* pngthumbnail);
private:
const std::string& _internal_pngthumbnail() const;
- void _internal_set_pngthumbnail(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_pngthumbnail(const std::string& value);
std::string* _internal_mutable_pngthumbnail();
public:
@@ -13674,7 +13723,7 @@ class StickerMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -13791,11 +13840,11 @@ class StickerMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class FourRowTemplate PROTOBUF_FINAL :
+class FourRowTemplate final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.FourRowTemplate) */ {
public:
inline FourRowTemplate() : FourRowTemplate(nullptr) {}
- virtual ~FourRowTemplate();
+ ~FourRowTemplate() override;
explicit constexpr FourRowTemplate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
FourRowTemplate(const FourRowTemplate& from);
@@ -13809,8 +13858,13 @@ class FourRowTemplate PROTOBUF_FINAL :
return *this;
}
inline FourRowTemplate& operator=(FourRowTemplate&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -13828,10 +13882,10 @@ class FourRowTemplate PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const FourRowTemplate& default_instance() {
return *internal_default_instance();
@@ -13857,7 +13911,7 @@ class FourRowTemplate PROTOBUF_FINAL :
}
inline void Swap(FourRowTemplate* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -13865,23 +13919,26 @@ class FourRowTemplate PROTOBUF_FINAL :
}
void UnsafeArenaSwap(FourRowTemplate* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline FourRowTemplate* New() const final {
- return CreateMaybeMessage<FourRowTemplate>(nullptr);
+ return new FourRowTemplate();
}
FourRowTemplate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<FourRowTemplate>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const FourRowTemplate& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const FourRowTemplate& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -13892,8 +13949,8 @@ class FourRowTemplate PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(FourRowTemplate* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -13901,19 +13958,17 @@ class FourRowTemplate PROTOBUF_FINAL :
return "proto.FourRowTemplate";
}
protected:
- explicit FourRowTemplate(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -13954,7 +14009,7 @@ class FourRowTemplate PROTOBUF_FINAL :
public:
void clear_content();
const ::proto::HighlyStructuredMessage& content() const;
- ::proto::HighlyStructuredMessage* release_content();
+ PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_content();
::proto::HighlyStructuredMessage* mutable_content();
void set_allocated_content(::proto::HighlyStructuredMessage* content);
private:
@@ -13972,7 +14027,7 @@ class FourRowTemplate PROTOBUF_FINAL :
public:
void clear_footer();
const ::proto::HighlyStructuredMessage& footer() const;
- ::proto::HighlyStructuredMessage* release_footer();
+ PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_footer();
::proto::HighlyStructuredMessage* mutable_footer();
void set_allocated_footer(::proto::HighlyStructuredMessage* footer);
private:
@@ -13990,7 +14045,7 @@ class FourRowTemplate PROTOBUF_FINAL :
public:
void clear_documentmessage();
const ::proto::DocumentMessage& documentmessage() const;
- ::proto::DocumentMessage* release_documentmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::DocumentMessage* release_documentmessage();
::proto::DocumentMessage* mutable_documentmessage();
void set_allocated_documentmessage(::proto::DocumentMessage* documentmessage);
private:
@@ -14008,7 +14063,7 @@ class FourRowTemplate PROTOBUF_FINAL :
public:
void clear_highlystructuredmessage();
const ::proto::HighlyStructuredMessage& highlystructuredmessage() const;
- ::proto::HighlyStructuredMessage* release_highlystructuredmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_highlystructuredmessage();
::proto::HighlyStructuredMessage* mutable_highlystructuredmessage();
void set_allocated_highlystructuredmessage(::proto::HighlyStructuredMessage* highlystructuredmessage);
private:
@@ -14026,7 +14081,7 @@ class FourRowTemplate PROTOBUF_FINAL :
public:
void clear_imagemessage();
const ::proto::ImageMessage& imagemessage() const;
- ::proto::ImageMessage* release_imagemessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_imagemessage();
::proto::ImageMessage* mutable_imagemessage();
void set_allocated_imagemessage(::proto::ImageMessage* imagemessage);
private:
@@ -14044,7 +14099,7 @@ class FourRowTemplate PROTOBUF_FINAL :
public:
void clear_videomessage();
const ::proto::VideoMessage& videomessage() const;
- ::proto::VideoMessage* release_videomessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::VideoMessage* release_videomessage();
::proto::VideoMessage* mutable_videomessage();
void set_allocated_videomessage(::proto::VideoMessage* videomessage);
private:
@@ -14062,7 +14117,7 @@ class FourRowTemplate PROTOBUF_FINAL :
public:
void clear_locationmessage();
const ::proto::LocationMessage& locationmessage() const;
- ::proto::LocationMessage* release_locationmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::LocationMessage* release_locationmessage();
::proto::LocationMessage* mutable_locationmessage();
void set_allocated_locationmessage(::proto::LocationMessage* locationmessage);
private:
@@ -14110,11 +14165,11 @@ class FourRowTemplate PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class HydratedFourRowTemplate PROTOBUF_FINAL :
+class HydratedFourRowTemplate final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.HydratedFourRowTemplate) */ {
public:
inline HydratedFourRowTemplate() : HydratedFourRowTemplate(nullptr) {}
- virtual ~HydratedFourRowTemplate();
+ ~HydratedFourRowTemplate() override;
explicit constexpr HydratedFourRowTemplate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HydratedFourRowTemplate(const HydratedFourRowTemplate& from);
@@ -14128,8 +14183,13 @@ class HydratedFourRowTemplate PROTOBUF_FINAL :
return *this;
}
inline HydratedFourRowTemplate& operator=(HydratedFourRowTemplate&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -14147,10 +14207,10 @@ class HydratedFourRowTemplate PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const HydratedFourRowTemplate& default_instance() {
return *internal_default_instance();
@@ -14176,7 +14236,7 @@ class HydratedFourRowTemplate PROTOBUF_FINAL :
}
inline void Swap(HydratedFourRowTemplate* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -14184,23 +14244,26 @@ class HydratedFourRowTemplate PROTOBUF_FINAL :
}
void UnsafeArenaSwap(HydratedFourRowTemplate* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline HydratedFourRowTemplate* New() const final {
- return CreateMaybeMessage<HydratedFourRowTemplate>(nullptr);
+ return new HydratedFourRowTemplate();
}
HydratedFourRowTemplate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<HydratedFourRowTemplate>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HydratedFourRowTemplate& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const HydratedFourRowTemplate& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -14211,8 +14274,8 @@ class HydratedFourRowTemplate PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HydratedFourRowTemplate* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -14220,19 +14283,17 @@ class HydratedFourRowTemplate PROTOBUF_FINAL :
return "proto.HydratedFourRowTemplate";
}
protected:
- explicit HydratedFourRowTemplate(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -14274,16 +14335,14 @@ class HydratedFourRowTemplate PROTOBUF_FINAL :
public:
void clear_hydratedcontenttext();
const std::string& hydratedcontenttext() const;
- void set_hydratedcontenttext(const std::string& value);
- void set_hydratedcontenttext(std::string&& value);
- void set_hydratedcontenttext(const char* value);
- void set_hydratedcontenttext(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_hydratedcontenttext(ArgT0&& arg0, ArgT... args);
std::string* mutable_hydratedcontenttext();
- std::string* release_hydratedcontenttext();
+ PROTOBUF_MUST_USE_RESULT std::string* release_hydratedcontenttext();
void set_allocated_hydratedcontenttext(std::string* hydratedcontenttext);
private:
const std::string& _internal_hydratedcontenttext() const;
- void _internal_set_hydratedcontenttext(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_hydratedcontenttext(const std::string& value);
std::string* _internal_mutable_hydratedcontenttext();
public:
@@ -14294,16 +14353,14 @@ class HydratedFourRowTemplate PROTOBUF_FINAL :
public:
void clear_hydratedfootertext();
const std::string& hydratedfootertext() const;
- void set_hydratedfootertext(const std::string& value);
- void set_hydratedfootertext(std::string&& value);
- void set_hydratedfootertext(const char* value);
- void set_hydratedfootertext(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_hydratedfootertext(ArgT0&& arg0, ArgT... args);
std::string* mutable_hydratedfootertext();
- std::string* release_hydratedfootertext();
+ PROTOBUF_MUST_USE_RESULT std::string* release_hydratedfootertext();
void set_allocated_hydratedfootertext(std::string* hydratedfootertext);
private:
const std::string& _internal_hydratedfootertext() const;
- void _internal_set_hydratedfootertext(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_hydratedfootertext(const std::string& value);
std::string* _internal_mutable_hydratedfootertext();
public:
@@ -14314,16 +14371,14 @@ class HydratedFourRowTemplate PROTOBUF_FINAL :
public:
void clear_templateid();
const std::string& templateid() const;
- void set_templateid(const std::string& value);
- void set_templateid(std::string&& value);
- void set_templateid(const char* value);
- void set_templateid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_templateid(ArgT0&& arg0, ArgT... args);
std::string* mutable_templateid();
- std::string* release_templateid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_templateid();
void set_allocated_templateid(std::string* templateid);
private:
const std::string& _internal_templateid() const;
- void _internal_set_templateid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_templateid(const std::string& value);
std::string* _internal_mutable_templateid();
public:
@@ -14334,7 +14389,7 @@ class HydratedFourRowTemplate PROTOBUF_FINAL :
public:
void clear_documentmessage();
const ::proto::DocumentMessage& documentmessage() const;
- ::proto::DocumentMessage* release_documentmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::DocumentMessage* release_documentmessage();
::proto::DocumentMessage* mutable_documentmessage();
void set_allocated_documentmessage(::proto::DocumentMessage* documentmessage);
private:
@@ -14352,16 +14407,14 @@ class HydratedFourRowTemplate PROTOBUF_FINAL :
public:
void clear_hydratedtitletext();
const std::string& hydratedtitletext() const;
- void set_hydratedtitletext(const std::string& value);
- void set_hydratedtitletext(std::string&& value);
- void set_hydratedtitletext(const char* value);
- void set_hydratedtitletext(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_hydratedtitletext(ArgT0&& arg0, ArgT... args);
std::string* mutable_hydratedtitletext();
- std::string* release_hydratedtitletext();
+ PROTOBUF_MUST_USE_RESULT std::string* release_hydratedtitletext();
void set_allocated_hydratedtitletext(std::string* hydratedtitletext);
private:
const std::string& _internal_hydratedtitletext() const;
- void _internal_set_hydratedtitletext(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_hydratedtitletext(const std::string& value);
std::string* _internal_mutable_hydratedtitletext();
public:
@@ -14372,7 +14425,7 @@ class HydratedFourRowTemplate PROTOBUF_FINAL :
public:
void clear_imagemessage();
const ::proto::ImageMessage& imagemessage() const;
- ::proto::ImageMessage* release_imagemessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_imagemessage();
::proto::ImageMessage* mutable_imagemessage();
void set_allocated_imagemessage(::proto::ImageMessage* imagemessage);
private:
@@ -14390,7 +14443,7 @@ class HydratedFourRowTemplate PROTOBUF_FINAL :
public:
void clear_videomessage();
const ::proto::VideoMessage& videomessage() const;
- ::proto::VideoMessage* release_videomessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::VideoMessage* release_videomessage();
::proto::VideoMessage* mutable_videomessage();
void set_allocated_videomessage(::proto::VideoMessage* videomessage);
private:
@@ -14408,7 +14461,7 @@ class HydratedFourRowTemplate PROTOBUF_FINAL :
public:
void clear_locationmessage();
const ::proto::LocationMessage& locationmessage() const;
- ::proto::LocationMessage* release_locationmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::LocationMessage* release_locationmessage();
::proto::LocationMessage* mutable_locationmessage();
void set_allocated_locationmessage(::proto::LocationMessage* locationmessage);
private:
@@ -14457,11 +14510,11 @@ class HydratedFourRowTemplate PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class TemplateMessage PROTOBUF_FINAL :
+class TemplateMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.TemplateMessage) */ {
public:
inline TemplateMessage() : TemplateMessage(nullptr) {}
- virtual ~TemplateMessage();
+ ~TemplateMessage() override;
explicit constexpr TemplateMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
TemplateMessage(const TemplateMessage& from);
@@ -14475,8 +14528,13 @@ class TemplateMessage PROTOBUF_FINAL :
return *this;
}
inline TemplateMessage& operator=(TemplateMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -14494,10 +14552,10 @@ class TemplateMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const TemplateMessage& default_instance() {
return *internal_default_instance();
@@ -14520,7 +14578,7 @@ class TemplateMessage PROTOBUF_FINAL :
}
inline void Swap(TemplateMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -14528,23 +14586,26 @@ class TemplateMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(TemplateMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline TemplateMessage* New() const final {
- return CreateMaybeMessage<TemplateMessage>(nullptr);
+ return new TemplateMessage();
}
TemplateMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<TemplateMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const TemplateMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const TemplateMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -14555,8 +14616,8 @@ class TemplateMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(TemplateMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -14564,19 +14625,17 @@ class TemplateMessage PROTOBUF_FINAL :
return "proto.TemplateMessage";
}
protected:
- explicit TemplateMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -14595,7 +14654,7 @@ class TemplateMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -14613,7 +14672,7 @@ class TemplateMessage PROTOBUF_FINAL :
public:
void clear_hydratedtemplate();
const ::proto::HydratedFourRowTemplate& hydratedtemplate() const;
- ::proto::HydratedFourRowTemplate* release_hydratedtemplate();
+ PROTOBUF_MUST_USE_RESULT ::proto::HydratedFourRowTemplate* release_hydratedtemplate();
::proto::HydratedFourRowTemplate* mutable_hydratedtemplate();
void set_allocated_hydratedtemplate(::proto::HydratedFourRowTemplate* hydratedtemplate);
private:
@@ -14631,7 +14690,7 @@ class TemplateMessage PROTOBUF_FINAL :
public:
void clear_fourrowtemplate();
const ::proto::FourRowTemplate& fourrowtemplate() const;
- ::proto::FourRowTemplate* release_fourrowtemplate();
+ PROTOBUF_MUST_USE_RESULT ::proto::FourRowTemplate* release_fourrowtemplate();
::proto::FourRowTemplate* mutable_fourrowtemplate();
void set_allocated_fourrowtemplate(::proto::FourRowTemplate* fourrowtemplate);
private:
@@ -14649,7 +14708,7 @@ class TemplateMessage PROTOBUF_FINAL :
public:
void clear_hydratedfourrowtemplate();
const ::proto::HydratedFourRowTemplate& hydratedfourrowtemplate() const;
- ::proto::HydratedFourRowTemplate* release_hydratedfourrowtemplate();
+ PROTOBUF_MUST_USE_RESULT ::proto::HydratedFourRowTemplate* release_hydratedfourrowtemplate();
::proto::HydratedFourRowTemplate* mutable_hydratedfourrowtemplate();
void set_allocated_hydratedfourrowtemplate(::proto::HydratedFourRowTemplate* hydratedfourrowtemplate);
private:
@@ -14690,11 +14749,11 @@ class TemplateMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class TemplateButtonReplyMessage PROTOBUF_FINAL :
+class TemplateButtonReplyMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.TemplateButtonReplyMessage) */ {
public:
inline TemplateButtonReplyMessage() : TemplateButtonReplyMessage(nullptr) {}
- virtual ~TemplateButtonReplyMessage();
+ ~TemplateButtonReplyMessage() override;
explicit constexpr TemplateButtonReplyMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
TemplateButtonReplyMessage(const TemplateButtonReplyMessage& from);
@@ -14708,8 +14767,13 @@ class TemplateButtonReplyMessage PROTOBUF_FINAL :
return *this;
}
inline TemplateButtonReplyMessage& operator=(TemplateButtonReplyMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -14727,10 +14791,10 @@ class TemplateButtonReplyMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const TemplateButtonReplyMessage& default_instance() {
return *internal_default_instance();
@@ -14747,7 +14811,7 @@ class TemplateButtonReplyMessage PROTOBUF_FINAL :
}
inline void Swap(TemplateButtonReplyMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -14755,23 +14819,26 @@ class TemplateButtonReplyMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(TemplateButtonReplyMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline TemplateButtonReplyMessage* New() const final {
- return CreateMaybeMessage<TemplateButtonReplyMessage>(nullptr);
+ return new TemplateButtonReplyMessage();
}
TemplateButtonReplyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<TemplateButtonReplyMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const TemplateButtonReplyMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const TemplateButtonReplyMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -14782,8 +14849,8 @@ class TemplateButtonReplyMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(TemplateButtonReplyMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -14791,19 +14858,17 @@ class TemplateButtonReplyMessage PROTOBUF_FINAL :
return "proto.TemplateButtonReplyMessage";
}
protected:
- explicit TemplateButtonReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -14822,16 +14887,14 @@ class TemplateButtonReplyMessage PROTOBUF_FINAL :
public:
void clear_selectedid();
const std::string& selectedid() const;
- void set_selectedid(const std::string& value);
- void set_selectedid(std::string&& value);
- void set_selectedid(const char* value);
- void set_selectedid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_selectedid(ArgT0&& arg0, ArgT... args);
std::string* mutable_selectedid();
- std::string* release_selectedid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_selectedid();
void set_allocated_selectedid(std::string* selectedid);
private:
const std::string& _internal_selectedid() const;
- void _internal_set_selectedid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_selectedid(const std::string& value);
std::string* _internal_mutable_selectedid();
public:
@@ -14842,16 +14905,14 @@ class TemplateButtonReplyMessage PROTOBUF_FINAL :
public:
void clear_selecteddisplaytext();
const std::string& selecteddisplaytext() const;
- void set_selecteddisplaytext(const std::string& value);
- void set_selecteddisplaytext(std::string&& value);
- void set_selecteddisplaytext(const char* value);
- void set_selecteddisplaytext(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_selecteddisplaytext(ArgT0&& arg0, ArgT... args);
std::string* mutable_selecteddisplaytext();
- std::string* release_selecteddisplaytext();
+ PROTOBUF_MUST_USE_RESULT std::string* release_selecteddisplaytext();
void set_allocated_selecteddisplaytext(std::string* selecteddisplaytext);
private:
const std::string& _internal_selecteddisplaytext() const;
- void _internal_set_selecteddisplaytext(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_selecteddisplaytext(const std::string& value);
std::string* _internal_mutable_selecteddisplaytext();
public:
@@ -14862,7 +14923,7 @@ class TemplateButtonReplyMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -14903,11 +14964,11 @@ class TemplateButtonReplyMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class CatalogSnapshot PROTOBUF_FINAL :
+class CatalogSnapshot final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.CatalogSnapshot) */ {
public:
inline CatalogSnapshot() : CatalogSnapshot(nullptr) {}
- virtual ~CatalogSnapshot();
+ ~CatalogSnapshot() override;
explicit constexpr CatalogSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
CatalogSnapshot(const CatalogSnapshot& from);
@@ -14921,8 +14982,13 @@ class CatalogSnapshot PROTOBUF_FINAL :
return *this;
}
inline CatalogSnapshot& operator=(CatalogSnapshot&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -14940,10 +15006,10 @@ class CatalogSnapshot PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const CatalogSnapshot& default_instance() {
return *internal_default_instance();
@@ -14960,7 +15026,7 @@ class CatalogSnapshot PROTOBUF_FINAL :
}
inline void Swap(CatalogSnapshot* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -14968,23 +15034,26 @@ class CatalogSnapshot PROTOBUF_FINAL :
}
void UnsafeArenaSwap(CatalogSnapshot* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline CatalogSnapshot* New() const final {
- return CreateMaybeMessage<CatalogSnapshot>(nullptr);
+ return new CatalogSnapshot();
}
CatalogSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<CatalogSnapshot>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const CatalogSnapshot& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const CatalogSnapshot& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -14995,8 +15064,8 @@ class CatalogSnapshot PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(CatalogSnapshot* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -15004,19 +15073,17 @@ class CatalogSnapshot PROTOBUF_FINAL :
return "proto.CatalogSnapshot";
}
protected:
- explicit CatalogSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -15034,16 +15101,14 @@ class CatalogSnapshot PROTOBUF_FINAL :
public:
void clear_title();
const std::string& title() const;
- void set_title(const std::string& value);
- void set_title(std::string&& value);
- void set_title(const char* value);
- void set_title(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- std::string* release_title();
+ PROTOBUF_MUST_USE_RESULT std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
- void _internal_set_title(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value);
std::string* _internal_mutable_title();
public:
@@ -15054,16 +15119,14 @@ class CatalogSnapshot PROTOBUF_FINAL :
public:
void clear_description();
const std::string& description() const;
- void set_description(const std::string& value);
- void set_description(std::string&& value);
- void set_description(const char* value);
- void set_description(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_description(ArgT0&& arg0, ArgT... args);
std::string* mutable_description();
- std::string* release_description();
+ PROTOBUF_MUST_USE_RESULT std::string* release_description();
void set_allocated_description(std::string* description);
private:
const std::string& _internal_description() const;
- void _internal_set_description(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value);
std::string* _internal_mutable_description();
public:
@@ -15074,7 +15137,7 @@ class CatalogSnapshot PROTOBUF_FINAL :
public:
void clear_catalogimage();
const ::proto::ImageMessage& catalogimage() const;
- ::proto::ImageMessage* release_catalogimage();
+ PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_catalogimage();
::proto::ImageMessage* mutable_catalogimage();
void set_allocated_catalogimage(::proto::ImageMessage* catalogimage);
private:
@@ -15101,11 +15164,11 @@ class CatalogSnapshot PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class ProductSnapshot PROTOBUF_FINAL :
+class ProductSnapshot final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.ProductSnapshot) */ {
public:
inline ProductSnapshot() : ProductSnapshot(nullptr) {}
- virtual ~ProductSnapshot();
+ ~ProductSnapshot() override;
explicit constexpr ProductSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ProductSnapshot(const ProductSnapshot& from);
@@ -15119,8 +15182,13 @@ class ProductSnapshot PROTOBUF_FINAL :
return *this;
}
inline ProductSnapshot& operator=(ProductSnapshot&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -15138,10 +15206,10 @@ class ProductSnapshot PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const ProductSnapshot& default_instance() {
return *internal_default_instance();
@@ -15158,7 +15226,7 @@ class ProductSnapshot PROTOBUF_FINAL :
}
inline void Swap(ProductSnapshot* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -15166,23 +15234,26 @@ class ProductSnapshot PROTOBUF_FINAL :
}
void UnsafeArenaSwap(ProductSnapshot* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ProductSnapshot* New() const final {
- return CreateMaybeMessage<ProductSnapshot>(nullptr);
+ return new ProductSnapshot();
}
ProductSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ProductSnapshot>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ProductSnapshot& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ProductSnapshot& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -15193,8 +15264,8 @@ class ProductSnapshot PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ProductSnapshot* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -15202,19 +15273,17 @@ class ProductSnapshot PROTOBUF_FINAL :
return "proto.ProductSnapshot";
}
protected:
- explicit ProductSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -15239,16 +15308,14 @@ class ProductSnapshot PROTOBUF_FINAL :
public:
void clear_productid();
const std::string& productid() const;
- void set_productid(const std::string& value);
- void set_productid(std::string&& value);
- void set_productid(const char* value);
- void set_productid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_productid(ArgT0&& arg0, ArgT... args);
std::string* mutable_productid();
- std::string* release_productid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_productid();
void set_allocated_productid(std::string* productid);
private:
const std::string& _internal_productid() const;
- void _internal_set_productid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_productid(const std::string& value);
std::string* _internal_mutable_productid();
public:
@@ -15259,16 +15326,14 @@ class ProductSnapshot PROTOBUF_FINAL :
public:
void clear_title();
const std::string& title() const;
- void set_title(const std::string& value);
- void set_title(std::string&& value);
- void set_title(const char* value);
- void set_title(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- std::string* release_title();
+ PROTOBUF_MUST_USE_RESULT std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
- void _internal_set_title(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value);
std::string* _internal_mutable_title();
public:
@@ -15279,16 +15344,14 @@ class ProductSnapshot PROTOBUF_FINAL :
public:
void clear_description();
const std::string& description() const;
- void set_description(const std::string& value);
- void set_description(std::string&& value);
- void set_description(const char* value);
- void set_description(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_description(ArgT0&& arg0, ArgT... args);
std::string* mutable_description();
- std::string* release_description();
+ PROTOBUF_MUST_USE_RESULT std::string* release_description();
void set_allocated_description(std::string* description);
private:
const std::string& _internal_description() const;
- void _internal_set_description(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value);
std::string* _internal_mutable_description();
public:
@@ -15299,16 +15362,14 @@ class ProductSnapshot PROTOBUF_FINAL :
public:
void clear_currencycode();
const std::string& currencycode() const;
- void set_currencycode(const std::string& value);
- void set_currencycode(std::string&& value);
- void set_currencycode(const char* value);
- void set_currencycode(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_currencycode(ArgT0&& arg0, ArgT... args);
std::string* mutable_currencycode();
- std::string* release_currencycode();
+ PROTOBUF_MUST_USE_RESULT std::string* release_currencycode();
void set_allocated_currencycode(std::string* currencycode);
private:
const std::string& _internal_currencycode() const;
- void _internal_set_currencycode(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_currencycode(const std::string& value);
std::string* _internal_mutable_currencycode();
public:
@@ -15319,16 +15380,14 @@ class ProductSnapshot PROTOBUF_FINAL :
public:
void clear_retailerid();
const std::string& retailerid() const;
- void set_retailerid(const std::string& value);
- void set_retailerid(std::string&& value);
- void set_retailerid(const char* value);
- void set_retailerid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_retailerid(ArgT0&& arg0, ArgT... args);
std::string* mutable_retailerid();
- std::string* release_retailerid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_retailerid();
void set_allocated_retailerid(std::string* retailerid);
private:
const std::string& _internal_retailerid() const;
- void _internal_set_retailerid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_retailerid(const std::string& value);
std::string* _internal_mutable_retailerid();
public:
@@ -15339,16 +15398,14 @@ class ProductSnapshot PROTOBUF_FINAL :
public:
void clear_url();
const std::string& url() const;
- void set_url(const std::string& value);
- void set_url(std::string&& value);
- void set_url(const char* value);
- void set_url(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- std::string* release_url();
+ PROTOBUF_MUST_USE_RESULT std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
- void _internal_set_url(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value);
std::string* _internal_mutable_url();
public:
@@ -15359,16 +15416,14 @@ class ProductSnapshot PROTOBUF_FINAL :
public:
void clear_firstimageid();
const std::string& firstimageid() const;
- void set_firstimageid(const std::string& value);
- void set_firstimageid(std::string&& value);
- void set_firstimageid(const char* value);
- void set_firstimageid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_firstimageid(ArgT0&& arg0, ArgT... args);
std::string* mutable_firstimageid();
- std::string* release_firstimageid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_firstimageid();
void set_allocated_firstimageid(std::string* firstimageid);
private:
const std::string& _internal_firstimageid() const;
- void _internal_set_firstimageid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_firstimageid(const std::string& value);
std::string* _internal_mutable_firstimageid();
public:
@@ -15379,7 +15434,7 @@ class ProductSnapshot PROTOBUF_FINAL :
public:
void clear_productimage();
const ::proto::ImageMessage& productimage() const;
- ::proto::ImageMessage* release_productimage();
+ PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_productimage();
::proto::ImageMessage* mutable_productimage();
void set_allocated_productimage(::proto::ImageMessage* productimage);
private:
@@ -15439,11 +15494,11 @@ class ProductSnapshot PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class ProductMessage PROTOBUF_FINAL :
+class ProductMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.ProductMessage) */ {
public:
inline ProductMessage() : ProductMessage(nullptr) {}
- virtual ~ProductMessage();
+ ~ProductMessage() override;
explicit constexpr ProductMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ProductMessage(const ProductMessage& from);
@@ -15457,8 +15512,13 @@ class ProductMessage PROTOBUF_FINAL :
return *this;
}
inline ProductMessage& operator=(ProductMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -15476,10 +15536,10 @@ class ProductMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const ProductMessage& default_instance() {
return *internal_default_instance();
@@ -15496,7 +15556,7 @@ class ProductMessage PROTOBUF_FINAL :
}
inline void Swap(ProductMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -15504,23 +15564,26 @@ class ProductMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(ProductMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ProductMessage* New() const final {
- return CreateMaybeMessage<ProductMessage>(nullptr);
+ return new ProductMessage();
}
ProductMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ProductMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ProductMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ProductMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -15531,8 +15594,8 @@ class ProductMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ProductMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -15540,19 +15603,17 @@ class ProductMessage PROTOBUF_FINAL :
return "proto.ProductMessage";
}
protected:
- explicit ProductMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -15571,16 +15632,14 @@ class ProductMessage PROTOBUF_FINAL :
public:
void clear_businessownerjid();
const std::string& businessownerjid() const;
- void set_businessownerjid(const std::string& value);
- void set_businessownerjid(std::string&& value);
- void set_businessownerjid(const char* value);
- void set_businessownerjid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_businessownerjid(ArgT0&& arg0, ArgT... args);
std::string* mutable_businessownerjid();
- std::string* release_businessownerjid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_businessownerjid();
void set_allocated_businessownerjid(std::string* businessownerjid);
private:
const std::string& _internal_businessownerjid() const;
- void _internal_set_businessownerjid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_businessownerjid(const std::string& value);
std::string* _internal_mutable_businessownerjid();
public:
@@ -15591,7 +15650,7 @@ class ProductMessage PROTOBUF_FINAL :
public:
void clear_product();
const ::proto::ProductSnapshot& product() const;
- ::proto::ProductSnapshot* release_product();
+ PROTOBUF_MUST_USE_RESULT ::proto::ProductSnapshot* release_product();
::proto::ProductSnapshot* mutable_product();
void set_allocated_product(::proto::ProductSnapshot* product);
private:
@@ -15609,7 +15668,7 @@ class ProductMessage PROTOBUF_FINAL :
public:
void clear_catalog();
const ::proto::CatalogSnapshot& catalog() const;
- ::proto::CatalogSnapshot* release_catalog();
+ PROTOBUF_MUST_USE_RESULT ::proto::CatalogSnapshot* release_catalog();
::proto::CatalogSnapshot* mutable_catalog();
void set_allocated_catalog(::proto::CatalogSnapshot* catalog);
private:
@@ -15627,7 +15686,7 @@ class ProductMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -15655,11 +15714,11 @@ class ProductMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class OrderMessage PROTOBUF_FINAL :
+class OrderMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.OrderMessage) */ {
public:
inline OrderMessage() : OrderMessage(nullptr) {}
- virtual ~OrderMessage();
+ ~OrderMessage() override;
explicit constexpr OrderMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
OrderMessage(const OrderMessage& from);
@@ -15673,8 +15732,13 @@ class OrderMessage PROTOBUF_FINAL :
return *this;
}
inline OrderMessage& operator=(OrderMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -15692,10 +15756,10 @@ class OrderMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const OrderMessage& default_instance() {
return *internal_default_instance();
@@ -15712,7 +15776,7 @@ class OrderMessage PROTOBUF_FINAL :
}
inline void Swap(OrderMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -15720,23 +15784,26 @@ class OrderMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(OrderMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline OrderMessage* New() const final {
- return CreateMaybeMessage<OrderMessage>(nullptr);
+ return new OrderMessage();
}
OrderMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<OrderMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const OrderMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const OrderMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -15747,8 +15814,8 @@ class OrderMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(OrderMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -15756,19 +15823,17 @@ class OrderMessage PROTOBUF_FINAL :
return "proto.OrderMessage";
}
protected:
- explicit OrderMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -15851,16 +15916,14 @@ class OrderMessage PROTOBUF_FINAL :
public:
void clear_orderid();
const std::string& orderid() const;
- void set_orderid(const std::string& value);
- void set_orderid(std::string&& value);
- void set_orderid(const char* value);
- void set_orderid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_orderid(ArgT0&& arg0, ArgT... args);
std::string* mutable_orderid();
- std::string* release_orderid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_orderid();
void set_allocated_orderid(std::string* orderid);
private:
const std::string& _internal_orderid() const;
- void _internal_set_orderid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_orderid(const std::string& value);
std::string* _internal_mutable_orderid();
public:
@@ -15871,16 +15934,14 @@ class OrderMessage PROTOBUF_FINAL :
public:
void clear_thumbnail();
const std::string& thumbnail() const;
- void set_thumbnail(const std::string& value);
- void set_thumbnail(std::string&& value);
- void set_thumbnail(const char* value);
- void set_thumbnail(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_thumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnail();
- std::string* release_thumbnail();
+ PROTOBUF_MUST_USE_RESULT std::string* release_thumbnail();
void set_allocated_thumbnail(std::string* thumbnail);
private:
const std::string& _internal_thumbnail() const;
- void _internal_set_thumbnail(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_thumbnail(const std::string& value);
std::string* _internal_mutable_thumbnail();
public:
@@ -15891,16 +15952,14 @@ class OrderMessage PROTOBUF_FINAL :
public:
void clear_message();
const std::string& message() const;
- void set_message(const std::string& value);
- void set_message(std::string&& value);
- void set_message(const char* value);
- void set_message(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_message(ArgT0&& arg0, ArgT... args);
std::string* mutable_message();
- std::string* release_message();
+ PROTOBUF_MUST_USE_RESULT std::string* release_message();
void set_allocated_message(std::string* message);
private:
const std::string& _internal_message() const;
- void _internal_set_message(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value);
std::string* _internal_mutable_message();
public:
@@ -15911,16 +15970,14 @@ class OrderMessage PROTOBUF_FINAL :
public:
void clear_ordertitle();
const std::string& ordertitle() const;
- void set_ordertitle(const std::string& value);
- void set_ordertitle(std::string&& value);
- void set_ordertitle(const char* value);
- void set_ordertitle(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_ordertitle(ArgT0&& arg0, ArgT... args);
std::string* mutable_ordertitle();
- std::string* release_ordertitle();
+ PROTOBUF_MUST_USE_RESULT std::string* release_ordertitle();
void set_allocated_ordertitle(std::string* ordertitle);
private:
const std::string& _internal_ordertitle() const;
- void _internal_set_ordertitle(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_ordertitle(const std::string& value);
std::string* _internal_mutable_ordertitle();
public:
@@ -15931,16 +15988,14 @@ class OrderMessage PROTOBUF_FINAL :
public:
void clear_sellerjid();
const std::string& sellerjid() const;
- void set_sellerjid(const std::string& value);
- void set_sellerjid(std::string&& value);
- void set_sellerjid(const char* value);
- void set_sellerjid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_sellerjid(ArgT0&& arg0, ArgT... args);
std::string* mutable_sellerjid();
- std::string* release_sellerjid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_sellerjid();
void set_allocated_sellerjid(std::string* sellerjid);
private:
const std::string& _internal_sellerjid() const;
- void _internal_set_sellerjid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_sellerjid(const std::string& value);
std::string* _internal_mutable_sellerjid();
public:
@@ -15951,16 +16006,14 @@ class OrderMessage PROTOBUF_FINAL :
public:
void clear_token();
const std::string& token() const;
- void set_token(const std::string& value);
- void set_token(std::string&& value);
- void set_token(const char* value);
- void set_token(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_token(ArgT0&& arg0, ArgT... args);
std::string* mutable_token();
- std::string* release_token();
+ PROTOBUF_MUST_USE_RESULT std::string* release_token();
void set_allocated_token(std::string* token);
private:
const std::string& _internal_token() const;
- void _internal_set_token(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_token(const std::string& value);
std::string* _internal_mutable_token();
public:
@@ -15971,16 +16024,14 @@ class OrderMessage PROTOBUF_FINAL :
public:
void clear_totalcurrencycode();
const std::string& totalcurrencycode() const;
- void set_totalcurrencycode(const std::string& value);
- void set_totalcurrencycode(std::string&& value);
- void set_totalcurrencycode(const char* value);
- void set_totalcurrencycode(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_totalcurrencycode(ArgT0&& arg0, ArgT... args);
std::string* mutable_totalcurrencycode();
- std::string* release_totalcurrencycode();
+ PROTOBUF_MUST_USE_RESULT std::string* release_totalcurrencycode();
void set_allocated_totalcurrencycode(std::string* totalcurrencycode);
private:
const std::string& _internal_totalcurrencycode() const;
- void _internal_set_totalcurrencycode(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_totalcurrencycode(const std::string& value);
std::string* _internal_mutable_totalcurrencycode();
public:
@@ -15991,7 +16042,7 @@ class OrderMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -16079,11 +16130,11 @@ class OrderMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class Row PROTOBUF_FINAL :
+class Row final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.Row) */ {
public:
inline Row() : Row(nullptr) {}
- virtual ~Row();
+ ~Row() override;
explicit constexpr Row(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Row(const Row& from);
@@ -16097,8 +16148,13 @@ class Row PROTOBUF_FINAL :
return *this;
}
inline Row& operator=(Row&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -16116,10 +16172,10 @@ class Row PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const Row& default_instance() {
return *internal_default_instance();
@@ -16136,7 +16192,7 @@ class Row PROTOBUF_FINAL :
}
inline void Swap(Row* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -16144,23 +16200,26 @@ class Row PROTOBUF_FINAL :
}
void UnsafeArenaSwap(Row* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline Row* New() const final {
- return CreateMaybeMessage<Row>(nullptr);
+ return new Row();
}
Row* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<Row>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Row& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const Row& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -16171,8 +16230,8 @@ class Row PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Row* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -16180,19 +16239,17 @@ class Row PROTOBUF_FINAL :
return "proto.Row";
}
protected:
- explicit Row(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -16210,16 +16267,14 @@ class Row PROTOBUF_FINAL :
public:
void clear_title();
const std::string& title() const;
- void set_title(const std::string& value);
- void set_title(std::string&& value);
- void set_title(const char* value);
- void set_title(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- std::string* release_title();
+ PROTOBUF_MUST_USE_RESULT std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
- void _internal_set_title(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value);
std::string* _internal_mutable_title();
public:
@@ -16230,16 +16285,14 @@ class Row PROTOBUF_FINAL :
public:
void clear_description();
const std::string& description() const;
- void set_description(const std::string& value);
- void set_description(std::string&& value);
- void set_description(const char* value);
- void set_description(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_description(ArgT0&& arg0, ArgT... args);
std::string* mutable_description();
- std::string* release_description();
+ PROTOBUF_MUST_USE_RESULT std::string* release_description();
void set_allocated_description(std::string* description);
private:
const std::string& _internal_description() const;
- void _internal_set_description(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value);
std::string* _internal_mutable_description();
public:
@@ -16250,16 +16303,14 @@ class Row PROTOBUF_FINAL :
public:
void clear_rowid();
const std::string& rowid() const;
- void set_rowid(const std::string& value);
- void set_rowid(std::string&& value);
- void set_rowid(const char* value);
- void set_rowid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_rowid(ArgT0&& arg0, ArgT... args);
std::string* mutable_rowid();
- std::string* release_rowid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_rowid();
void set_allocated_rowid(std::string* rowid);
private:
const std::string& _internal_rowid() const;
- void _internal_set_rowid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_rowid(const std::string& value);
std::string* _internal_mutable_rowid();
public:
@@ -16279,11 +16330,11 @@ class Row PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class Section PROTOBUF_FINAL :
+class Section final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.Section) */ {
public:
inline Section() : Section(nullptr) {}
- virtual ~Section();
+ ~Section() override;
explicit constexpr Section(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Section(const Section& from);
@@ -16297,8 +16348,13 @@ class Section PROTOBUF_FINAL :
return *this;
}
inline Section& operator=(Section&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -16316,10 +16372,10 @@ class Section PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const Section& default_instance() {
return *internal_default_instance();
@@ -16336,7 +16392,7 @@ class Section PROTOBUF_FINAL :
}
inline void Swap(Section* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -16344,23 +16400,26 @@ class Section PROTOBUF_FINAL :
}
void UnsafeArenaSwap(Section* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline Section* New() const final {
- return CreateMaybeMessage<Section>(nullptr);
+ return new Section();
}
Section* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<Section>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Section& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const Section& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -16371,8 +16430,8 @@ class Section PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Section* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -16380,19 +16439,17 @@ class Section PROTOBUF_FINAL :
return "proto.Section";
}
protected:
- explicit Section(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -16427,16 +16484,14 @@ class Section PROTOBUF_FINAL :
public:
void clear_title();
const std::string& title() const;
- void set_title(const std::string& value);
- void set_title(std::string&& value);
- void set_title(const char* value);
- void set_title(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- std::string* release_title();
+ PROTOBUF_MUST_USE_RESULT std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
- void _internal_set_title(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value);
std::string* _internal_mutable_title();
public:
@@ -16455,11 +16510,11 @@ class Section PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class ListMessage PROTOBUF_FINAL :
+class ListMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.ListMessage) */ {
public:
inline ListMessage() : ListMessage(nullptr) {}
- virtual ~ListMessage();
+ ~ListMessage() override;
explicit constexpr ListMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ListMessage(const ListMessage& from);
@@ -16473,8 +16528,13 @@ class ListMessage PROTOBUF_FINAL :
return *this;
}
inline ListMessage& operator=(ListMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -16492,10 +16552,10 @@ class ListMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const ListMessage& default_instance() {
return *internal_default_instance();
@@ -16512,7 +16572,7 @@ class ListMessage PROTOBUF_FINAL :
}
inline void Swap(ListMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -16520,23 +16580,26 @@ class ListMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(ListMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ListMessage* New() const final {
- return CreateMaybeMessage<ListMessage>(nullptr);
+ return new ListMessage();
}
ListMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ListMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ListMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ListMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -16547,8 +16610,8 @@ class ListMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ListMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -16556,19 +16619,17 @@ class ListMessage PROTOBUF_FINAL :
return "proto.ListMessage";
}
protected:
- explicit ListMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -16636,16 +16697,14 @@ class ListMessage PROTOBUF_FINAL :
public:
void clear_title();
const std::string& title() const;
- void set_title(const std::string& value);
- void set_title(std::string&& value);
- void set_title(const char* value);
- void set_title(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- std::string* release_title();
+ PROTOBUF_MUST_USE_RESULT std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
- void _internal_set_title(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value);
std::string* _internal_mutable_title();
public:
@@ -16656,16 +16715,14 @@ class ListMessage PROTOBUF_FINAL :
public:
void clear_description();
const std::string& description() const;
- void set_description(const std::string& value);
- void set_description(std::string&& value);
- void set_description(const char* value);
- void set_description(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_description(ArgT0&& arg0, ArgT... args);
std::string* mutable_description();
- std::string* release_description();
+ PROTOBUF_MUST_USE_RESULT std::string* release_description();
void set_allocated_description(std::string* description);
private:
const std::string& _internal_description() const;
- void _internal_set_description(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value);
std::string* _internal_mutable_description();
public:
@@ -16676,16 +16733,14 @@ class ListMessage PROTOBUF_FINAL :
public:
void clear_buttontext();
const std::string& buttontext() const;
- void set_buttontext(const std::string& value);
- void set_buttontext(std::string&& value);
- void set_buttontext(const char* value);
- void set_buttontext(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_buttontext(ArgT0&& arg0, ArgT... args);
std::string* mutable_buttontext();
- std::string* release_buttontext();
+ PROTOBUF_MUST_USE_RESULT std::string* release_buttontext();
void set_allocated_buttontext(std::string* buttontext);
private:
const std::string& _internal_buttontext() const;
- void _internal_set_buttontext(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_buttontext(const std::string& value);
std::string* _internal_mutable_buttontext();
public:
@@ -16720,11 +16775,11 @@ class ListMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class SingleSelectReply PROTOBUF_FINAL :
+class SingleSelectReply final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.SingleSelectReply) */ {
public:
inline SingleSelectReply() : SingleSelectReply(nullptr) {}
- virtual ~SingleSelectReply();
+ ~SingleSelectReply() override;
explicit constexpr SingleSelectReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
SingleSelectReply(const SingleSelectReply& from);
@@ -16738,8 +16793,13 @@ class SingleSelectReply PROTOBUF_FINAL :
return *this;
}
inline SingleSelectReply& operator=(SingleSelectReply&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -16757,10 +16817,10 @@ class SingleSelectReply PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const SingleSelectReply& default_instance() {
return *internal_default_instance();
@@ -16777,7 +16837,7 @@ class SingleSelectReply PROTOBUF_FINAL :
}
inline void Swap(SingleSelectReply* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -16785,23 +16845,26 @@ class SingleSelectReply PROTOBUF_FINAL :
}
void UnsafeArenaSwap(SingleSelectReply* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline SingleSelectReply* New() const final {
- return CreateMaybeMessage<SingleSelectReply>(nullptr);
+ return new SingleSelectReply();
}
SingleSelectReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<SingleSelectReply>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const SingleSelectReply& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const SingleSelectReply& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -16812,8 +16875,8 @@ class SingleSelectReply PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(SingleSelectReply* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -16821,19 +16884,17 @@ class SingleSelectReply PROTOBUF_FINAL :
return "proto.SingleSelectReply";
}
protected:
- explicit SingleSelectReply(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -16849,16 +16910,14 @@ class SingleSelectReply PROTOBUF_FINAL :
public:
void clear_selectedrowid();
const std::string& selectedrowid() const;
- void set_selectedrowid(const std::string& value);
- void set_selectedrowid(std::string&& value);
- void set_selectedrowid(const char* value);
- void set_selectedrowid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_selectedrowid(ArgT0&& arg0, ArgT... args);
std::string* mutable_selectedrowid();
- std::string* release_selectedrowid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_selectedrowid();
void set_allocated_selectedrowid(std::string* selectedrowid);
private:
const std::string& _internal_selectedrowid() const;
- void _internal_set_selectedrowid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_selectedrowid(const std::string& value);
std::string* _internal_mutable_selectedrowid();
public:
@@ -16876,11 +16935,11 @@ class SingleSelectReply PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class ListResponseMessage PROTOBUF_FINAL :
+class ListResponseMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.ListResponseMessage) */ {
public:
inline ListResponseMessage() : ListResponseMessage(nullptr) {}
- virtual ~ListResponseMessage();
+ ~ListResponseMessage() override;
explicit constexpr ListResponseMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ListResponseMessage(const ListResponseMessage& from);
@@ -16894,8 +16953,13 @@ class ListResponseMessage PROTOBUF_FINAL :
return *this;
}
inline ListResponseMessage& operator=(ListResponseMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -16913,10 +16977,10 @@ class ListResponseMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const ListResponseMessage& default_instance() {
return *internal_default_instance();
@@ -16933,7 +16997,7 @@ class ListResponseMessage PROTOBUF_FINAL :
}
inline void Swap(ListResponseMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -16941,23 +17005,26 @@ class ListResponseMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(ListResponseMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ListResponseMessage* New() const final {
- return CreateMaybeMessage<ListResponseMessage>(nullptr);
+ return new ListResponseMessage();
}
ListResponseMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ListResponseMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ListResponseMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ListResponseMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -16968,8 +17035,8 @@ class ListResponseMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ListResponseMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -16977,19 +17044,17 @@ class ListResponseMessage PROTOBUF_FINAL :
return "proto.ListResponseMessage";
}
protected:
- explicit ListResponseMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -17039,16 +17104,14 @@ class ListResponseMessage PROTOBUF_FINAL :
public:
void clear_title();
const std::string& title() const;
- void set_title(const std::string& value);
- void set_title(std::string&& value);
- void set_title(const char* value);
- void set_title(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- std::string* release_title();
+ PROTOBUF_MUST_USE_RESULT std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
- void _internal_set_title(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value);
std::string* _internal_mutable_title();
public:
@@ -17059,16 +17122,14 @@ class ListResponseMessage PROTOBUF_FINAL :
public:
void clear_description();
const std::string& description() const;
- void set_description(const std::string& value);
- void set_description(std::string&& value);
- void set_description(const char* value);
- void set_description(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_description(ArgT0&& arg0, ArgT... args);
std::string* mutable_description();
- std::string* release_description();
+ PROTOBUF_MUST_USE_RESULT std::string* release_description();
void set_allocated_description(std::string* description);
private:
const std::string& _internal_description() const;
- void _internal_set_description(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value);
std::string* _internal_mutable_description();
public:
@@ -17079,7 +17140,7 @@ class ListResponseMessage PROTOBUF_FINAL :
public:
void clear_singleselectreply();
const ::proto::SingleSelectReply& singleselectreply() const;
- ::proto::SingleSelectReply* release_singleselectreply();
+ PROTOBUF_MUST_USE_RESULT ::proto::SingleSelectReply* release_singleselectreply();
::proto::SingleSelectReply* mutable_singleselectreply();
void set_allocated_singleselectreply(::proto::SingleSelectReply* singleselectreply);
private:
@@ -17097,7 +17158,7 @@ class ListResponseMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -17139,11 +17200,11 @@ class ListResponseMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class GroupInviteMessage PROTOBUF_FINAL :
+class GroupInviteMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.GroupInviteMessage) */ {
public:
inline GroupInviteMessage() : GroupInviteMessage(nullptr) {}
- virtual ~GroupInviteMessage();
+ ~GroupInviteMessage() override;
explicit constexpr GroupInviteMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
GroupInviteMessage(const GroupInviteMessage& from);
@@ -17157,8 +17218,13 @@ class GroupInviteMessage PROTOBUF_FINAL :
return *this;
}
inline GroupInviteMessage& operator=(GroupInviteMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -17176,10 +17242,10 @@ class GroupInviteMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const GroupInviteMessage& default_instance() {
return *internal_default_instance();
@@ -17196,7 +17262,7 @@ class GroupInviteMessage PROTOBUF_FINAL :
}
inline void Swap(GroupInviteMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -17204,23 +17270,26 @@ class GroupInviteMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(GroupInviteMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline GroupInviteMessage* New() const final {
- return CreateMaybeMessage<GroupInviteMessage>(nullptr);
+ return new GroupInviteMessage();
}
GroupInviteMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<GroupInviteMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const GroupInviteMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const GroupInviteMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -17231,8 +17300,8 @@ class GroupInviteMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(GroupInviteMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -17240,19 +17309,17 @@ class GroupInviteMessage PROTOBUF_FINAL :
return "proto.GroupInviteMessage";
}
protected:
- explicit GroupInviteMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -17274,16 +17341,14 @@ class GroupInviteMessage PROTOBUF_FINAL :
public:
void clear_groupjid();
const std::string& groupjid() const;
- void set_groupjid(const std::string& value);
- void set_groupjid(std::string&& value);
- void set_groupjid(const char* value);
- void set_groupjid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_groupjid(ArgT0&& arg0, ArgT... args);
std::string* mutable_groupjid();
- std::string* release_groupjid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_groupjid();
void set_allocated_groupjid(std::string* groupjid);
private:
const std::string& _internal_groupjid() const;
- void _internal_set_groupjid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_groupjid(const std::string& value);
std::string* _internal_mutable_groupjid();
public:
@@ -17294,16 +17359,14 @@ class GroupInviteMessage PROTOBUF_FINAL :
public:
void clear_invitecode();
const std::string& invitecode() const;
- void set_invitecode(const std::string& value);
- void set_invitecode(std::string&& value);
- void set_invitecode(const char* value);
- void set_invitecode(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_invitecode(ArgT0&& arg0, ArgT... args);
std::string* mutable_invitecode();
- std::string* release_invitecode();
+ PROTOBUF_MUST_USE_RESULT std::string* release_invitecode();
void set_allocated_invitecode(std::string* invitecode);
private:
const std::string& _internal_invitecode() const;
- void _internal_set_invitecode(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_invitecode(const std::string& value);
std::string* _internal_mutable_invitecode();
public:
@@ -17314,16 +17377,14 @@ class GroupInviteMessage PROTOBUF_FINAL :
public:
void clear_groupname();
const std::string& groupname() const;
- void set_groupname(const std::string& value);
- void set_groupname(std::string&& value);
- void set_groupname(const char* value);
- void set_groupname(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_groupname(ArgT0&& arg0, ArgT... args);
std::string* mutable_groupname();
- std::string* release_groupname();
+ PROTOBUF_MUST_USE_RESULT std::string* release_groupname();
void set_allocated_groupname(std::string* groupname);
private:
const std::string& _internal_groupname() const;
- void _internal_set_groupname(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_groupname(const std::string& value);
std::string* _internal_mutable_groupname();
public:
@@ -17334,16 +17395,14 @@ class GroupInviteMessage PROTOBUF_FINAL :
public:
void clear_jpegthumbnail();
const std::string& jpegthumbnail() const;
- void set_jpegthumbnail(const std::string& value);
- void set_jpegthumbnail(std::string&& value);
- void set_jpegthumbnail(const char* value);
- void set_jpegthumbnail(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- std::string* release_jpegthumbnail();
+ PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
- void _internal_set_jpegthumbnail(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_jpegthumbnail(const std::string& value);
std::string* _internal_mutable_jpegthumbnail();
public:
@@ -17354,16 +17413,14 @@ class GroupInviteMessage PROTOBUF_FINAL :
public:
void clear_caption();
const std::string& caption() const;
- void set_caption(const std::string& value);
- void set_caption(std::string&& value);
- void set_caption(const char* value);
- void set_caption(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_caption(ArgT0&& arg0, ArgT... args);
std::string* mutable_caption();
- std::string* release_caption();
+ PROTOBUF_MUST_USE_RESULT std::string* release_caption();
void set_allocated_caption(std::string* caption);
private:
const std::string& _internal_caption() const;
- void _internal_set_caption(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_caption(const std::string& value);
std::string* _internal_mutable_caption();
public:
@@ -17374,7 +17431,7 @@ class GroupInviteMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -17418,11 +17475,11 @@ class GroupInviteMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class EphemeralSetting PROTOBUF_FINAL :
+class EphemeralSetting final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.EphemeralSetting) */ {
public:
inline EphemeralSetting() : EphemeralSetting(nullptr) {}
- virtual ~EphemeralSetting();
+ ~EphemeralSetting() override;
explicit constexpr EphemeralSetting(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
EphemeralSetting(const EphemeralSetting& from);
@@ -17436,8 +17493,13 @@ class EphemeralSetting PROTOBUF_FINAL :
return *this;
}
inline EphemeralSetting& operator=(EphemeralSetting&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -17455,10 +17517,10 @@ class EphemeralSetting PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const EphemeralSetting& default_instance() {
return *internal_default_instance();
@@ -17475,7 +17537,7 @@ class EphemeralSetting PROTOBUF_FINAL :
}
inline void Swap(EphemeralSetting* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -17483,23 +17545,26 @@ class EphemeralSetting PROTOBUF_FINAL :
}
void UnsafeArenaSwap(EphemeralSetting* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline EphemeralSetting* New() const final {
- return CreateMaybeMessage<EphemeralSetting>(nullptr);
+ return new EphemeralSetting();
}
EphemeralSetting* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<EphemeralSetting>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const EphemeralSetting& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const EphemeralSetting& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -17510,8 +17575,8 @@ class EphemeralSetting PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(EphemeralSetting* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -17519,19 +17584,17 @@ class EphemeralSetting PROTOBUF_FINAL :
return "proto.EphemeralSetting";
}
protected:
- explicit EphemeralSetting(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -17549,16 +17612,14 @@ class EphemeralSetting PROTOBUF_FINAL :
public:
void clear_chatjid();
const std::string& chatjid() const;
- void set_chatjid(const std::string& value);
- void set_chatjid(std::string&& value);
- void set_chatjid(const char* value);
- void set_chatjid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_chatjid(ArgT0&& arg0, ArgT... args);
std::string* mutable_chatjid();
- std::string* release_chatjid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_chatjid();
void set_allocated_chatjid(std::string* chatjid);
private:
const std::string& _internal_chatjid() const;
- void _internal_set_chatjid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_chatjid(const std::string& value);
std::string* _internal_mutable_chatjid();
public:
@@ -17604,11 +17665,11 @@ class EphemeralSetting PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class DeviceSentMessage PROTOBUF_FINAL :
+class DeviceSentMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.DeviceSentMessage) */ {
public:
inline DeviceSentMessage() : DeviceSentMessage(nullptr) {}
- virtual ~DeviceSentMessage();
+ ~DeviceSentMessage() override;
explicit constexpr DeviceSentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
DeviceSentMessage(const DeviceSentMessage& from);
@@ -17622,8 +17683,13 @@ class DeviceSentMessage PROTOBUF_FINAL :
return *this;
}
inline DeviceSentMessage& operator=(DeviceSentMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -17641,10 +17707,10 @@ class DeviceSentMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const DeviceSentMessage& default_instance() {
return *internal_default_instance();
@@ -17661,7 +17727,7 @@ class DeviceSentMessage PROTOBUF_FINAL :
}
inline void Swap(DeviceSentMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -17669,23 +17735,26 @@ class DeviceSentMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(DeviceSentMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline DeviceSentMessage* New() const final {
- return CreateMaybeMessage<DeviceSentMessage>(nullptr);
+ return new DeviceSentMessage();
}
DeviceSentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<DeviceSentMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const DeviceSentMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const DeviceSentMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -17696,8 +17765,8 @@ class DeviceSentMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(DeviceSentMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -17705,19 +17774,17 @@ class DeviceSentMessage PROTOBUF_FINAL :
return "proto.DeviceSentMessage";
}
protected:
- explicit DeviceSentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -17754,16 +17821,14 @@ class DeviceSentMessage PROTOBUF_FINAL :
public:
void clear_destinationjid();
const std::string& destinationjid() const;
- void set_destinationjid(const std::string& value);
- void set_destinationjid(std::string&& value);
- void set_destinationjid(const char* value);
- void set_destinationjid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_destinationjid(ArgT0&& arg0, ArgT... args);
std::string* mutable_destinationjid();
- std::string* release_destinationjid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_destinationjid();
void set_allocated_destinationjid(std::string* destinationjid);
private:
const std::string& _internal_destinationjid() const;
- void _internal_set_destinationjid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_destinationjid(const std::string& value);
std::string* _internal_mutable_destinationjid();
public:
@@ -17774,16 +17839,14 @@ class DeviceSentMessage PROTOBUF_FINAL :
public:
void clear_phash();
const std::string& phash() const;
- void set_phash(const std::string& value);
- void set_phash(std::string&& value);
- void set_phash(const char* value);
- void set_phash(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_phash(ArgT0&& arg0, ArgT... args);
std::string* mutable_phash();
- std::string* release_phash();
+ PROTOBUF_MUST_USE_RESULT std::string* release_phash();
void set_allocated_phash(std::string* phash);
private:
const std::string& _internal_phash() const;
- void _internal_set_phash(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_phash(const std::string& value);
std::string* _internal_mutable_phash();
public:
@@ -17794,7 +17857,7 @@ class DeviceSentMessage PROTOBUF_FINAL :
public:
void clear_message();
const ::proto::Message& message() const;
- ::proto::Message* release_message();
+ PROTOBUF_MUST_USE_RESULT ::proto::Message* release_message();
::proto::Message* mutable_message();
void set_allocated_message(::proto::Message* message);
private:
@@ -17822,11 +17885,11 @@ class DeviceSentMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class FutureProofMessage PROTOBUF_FINAL :
+class FutureProofMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.FutureProofMessage) */ {
public:
inline FutureProofMessage() : FutureProofMessage(nullptr) {}
- virtual ~FutureProofMessage();
+ ~FutureProofMessage() override;
explicit constexpr FutureProofMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
FutureProofMessage(const FutureProofMessage& from);
@@ -17840,8 +17903,13 @@ class FutureProofMessage PROTOBUF_FINAL :
return *this;
}
inline FutureProofMessage& operator=(FutureProofMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -17859,10 +17927,10 @@ class FutureProofMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const FutureProofMessage& default_instance() {
return *internal_default_instance();
@@ -17879,7 +17947,7 @@ class FutureProofMessage PROTOBUF_FINAL :
}
inline void Swap(FutureProofMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -17887,23 +17955,26 @@ class FutureProofMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(FutureProofMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline FutureProofMessage* New() const final {
- return CreateMaybeMessage<FutureProofMessage>(nullptr);
+ return new FutureProofMessage();
}
FutureProofMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<FutureProofMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const FutureProofMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const FutureProofMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -17914,8 +17985,8 @@ class FutureProofMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(FutureProofMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -17923,19 +17994,17 @@ class FutureProofMessage PROTOBUF_FINAL :
return "proto.FutureProofMessage";
}
protected:
- explicit FutureProofMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -17951,7 +18020,7 @@ class FutureProofMessage PROTOBUF_FINAL :
public:
void clear_message();
const ::proto::Message& message() const;
- ::proto::Message* release_message();
+ PROTOBUF_MUST_USE_RESULT ::proto::Message* release_message();
::proto::Message* mutable_message();
void set_allocated_message(::proto::Message* message);
private:
@@ -17976,11 +18045,11 @@ class FutureProofMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class ButtonText PROTOBUF_FINAL :
+class ButtonText final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.ButtonText) */ {
public:
inline ButtonText() : ButtonText(nullptr) {}
- virtual ~ButtonText();
+ ~ButtonText() override;
explicit constexpr ButtonText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ButtonText(const ButtonText& from);
@@ -17994,8 +18063,13 @@ class ButtonText PROTOBUF_FINAL :
return *this;
}
inline ButtonText& operator=(ButtonText&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -18013,10 +18087,10 @@ class ButtonText PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const ButtonText& default_instance() {
return *internal_default_instance();
@@ -18033,7 +18107,7 @@ class ButtonText PROTOBUF_FINAL :
}
inline void Swap(ButtonText* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -18041,23 +18115,26 @@ class ButtonText PROTOBUF_FINAL :
}
void UnsafeArenaSwap(ButtonText* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ButtonText* New() const final {
- return CreateMaybeMessage<ButtonText>(nullptr);
+ return new ButtonText();
}
ButtonText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ButtonText>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ButtonText& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ButtonText& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -18068,8 +18145,8 @@ class ButtonText PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ButtonText* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -18077,19 +18154,17 @@ class ButtonText PROTOBUF_FINAL :
return "proto.ButtonText";
}
protected:
- explicit ButtonText(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ 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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -18105,16 +18180,14 @@ class ButtonText PROTOBUF_FINAL :
public:
void clear_displaytext();
const std::string& displaytext() const;
- void set_displaytext(const std::string& value);
- void set_displaytext(std::string&& value);
- void set_displaytext(const char* value);
- void set_displaytext(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_displaytext(ArgT0&& arg0, ArgT... args);
std::string* mutable_displaytext();
- std::string* release_displaytext();
+ PROTOBUF_MUST_USE_RESULT std::string* release_displaytext();
void set_allocated_displaytext(std::string* displaytext);
private:
const std::string& _internal_displaytext() const;
- void _internal_set_displaytext(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_displaytext(const std::string& value);
std::string* _internal_mutable_displaytext();
public:
@@ -18132,11 +18205,11 @@ class ButtonText PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class Button PROTOBUF_FINAL :
+class Button final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.Button) */ {
public:
inline Button() : Button(nullptr) {}
- virtual ~Button();
+ ~Button() override;
explicit constexpr Button(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Button(const Button& from);
@@ -18150,8 +18223,13 @@ class Button PROTOBUF_FINAL :
return *this;
}
inline Button& operator=(Button&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -18169,10 +18247,10 @@ class Button PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const Button& default_instance() {
return *internal_default_instance();
@@ -18189,7 +18267,7 @@ class Button PROTOBUF_FINAL :
}
inline void Swap(Button* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -18197,23 +18275,26 @@ class Button PROTOBUF_FINAL :
}
void UnsafeArenaSwap(Button* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline Button* New() const final {
- return CreateMaybeMessage<Button>(nullptr);
+ return new Button();
}
Button* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<Button>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Button& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const Button& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -18224,8 +18305,8 @@ class Button PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Button* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -18233,19 +18314,17 @@ class Button PROTOBUF_FINAL :
return "proto.Button";
}
protected:
- explicit Button(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ explicit Button(::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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -18293,16 +18372,14 @@ class Button PROTOBUF_FINAL :
public:
void clear_buttonid();
const std::string& buttonid() const;
- void set_buttonid(const std::string& value);
- void set_buttonid(std::string&& value);
- void set_buttonid(const char* value);
- void set_buttonid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_buttonid(ArgT0&& arg0, ArgT... args);
std::string* mutable_buttonid();
- std::string* release_buttonid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_buttonid();
void set_allocated_buttonid(std::string* buttonid);
private:
const std::string& _internal_buttonid() const;
- void _internal_set_buttonid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_buttonid(const std::string& value);
std::string* _internal_mutable_buttonid();
public:
@@ -18313,7 +18390,7 @@ class Button PROTOBUF_FINAL :
public:
void clear_buttontext();
const ::proto::ButtonText& buttontext() const;
- ::proto::ButtonText* release_buttontext();
+ PROTOBUF_MUST_USE_RESULT ::proto::ButtonText* release_buttontext();
::proto::ButtonText* mutable_buttontext();
void set_allocated_buttontext(::proto::ButtonText* buttontext);
private:
@@ -18353,11 +18430,11 @@ class Button PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class ButtonsMessage PROTOBUF_FINAL :
+class ButtonsMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.ButtonsMessage) */ {
public:
inline ButtonsMessage() : ButtonsMessage(nullptr) {}
- virtual ~ButtonsMessage();
+ ~ButtonsMessage() override;
explicit constexpr ButtonsMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ButtonsMessage(const ButtonsMessage& from);
@@ -18371,8 +18448,13 @@ class ButtonsMessage PROTOBUF_FINAL :
return *this;
}
inline ButtonsMessage& operator=(ButtonsMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -18390,10 +18472,10 @@ class ButtonsMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const ButtonsMessage& default_instance() {
return *internal_default_instance();
@@ -18419,7 +18501,7 @@ class ButtonsMessage PROTOBUF_FINAL :
}
inline void Swap(ButtonsMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -18427,23 +18509,26 @@ class ButtonsMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(ButtonsMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ButtonsMessage* New() const final {
- return CreateMaybeMessage<ButtonsMessage>(nullptr);
+ return new ButtonsMessage();
}
ButtonsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ButtonsMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ButtonsMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ButtonsMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -18454,8 +18539,8 @@ class ButtonsMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ButtonsMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -18463,19 +18548,17 @@ class ButtonsMessage PROTOBUF_FINAL :
return "proto.ButtonsMessage";
}
protected:
- explicit ButtonsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ explicit ButtonsMessage(::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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -18558,16 +18641,14 @@ class ButtonsMessage PROTOBUF_FINAL :
public:
void clear_contenttext();
const std::string& contenttext() const;
- void set_contenttext(const std::string& value);
- void set_contenttext(std::string&& value);
- void set_contenttext(const char* value);
- void set_contenttext(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_contenttext(ArgT0&& arg0, ArgT... args);
std::string* mutable_contenttext();
- std::string* release_contenttext();
+ PROTOBUF_MUST_USE_RESULT std::string* release_contenttext();
void set_allocated_contenttext(std::string* contenttext);
private:
const std::string& _internal_contenttext() const;
- void _internal_set_contenttext(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_contenttext(const std::string& value);
std::string* _internal_mutable_contenttext();
public:
@@ -18578,16 +18659,14 @@ class ButtonsMessage PROTOBUF_FINAL :
public:
void clear_footertext();
const std::string& footertext() const;
- void set_footertext(const std::string& value);
- void set_footertext(std::string&& value);
- void set_footertext(const char* value);
- void set_footertext(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_footertext(ArgT0&& arg0, ArgT... args);
std::string* mutable_footertext();
- std::string* release_footertext();
+ PROTOBUF_MUST_USE_RESULT std::string* release_footertext();
void set_allocated_footertext(std::string* footertext);
private:
const std::string& _internal_footertext() const;
- void _internal_set_footertext(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_footertext(const std::string& value);
std::string* _internal_mutable_footertext();
public:
@@ -18598,7 +18677,7 @@ class ButtonsMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -18629,16 +18708,14 @@ class ButtonsMessage PROTOBUF_FINAL :
public:
void clear_text();
const std::string& text() const;
- void set_text(const std::string& value);
- void set_text(std::string&& value);
- void set_text(const char* value);
- void set_text(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_text(ArgT0&& arg0, ArgT... args);
std::string* mutable_text();
- std::string* release_text();
+ PROTOBUF_MUST_USE_RESULT std::string* release_text();
void set_allocated_text(std::string* text);
private:
const std::string& _internal_text() const;
- void _internal_set_text(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value);
std::string* _internal_mutable_text();
public:
@@ -18649,7 +18726,7 @@ class ButtonsMessage PROTOBUF_FINAL :
public:
void clear_documentmessage();
const ::proto::DocumentMessage& documentmessage() const;
- ::proto::DocumentMessage* release_documentmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::DocumentMessage* release_documentmessage();
::proto::DocumentMessage* mutable_documentmessage();
void set_allocated_documentmessage(::proto::DocumentMessage* documentmessage);
private:
@@ -18667,7 +18744,7 @@ class ButtonsMessage PROTOBUF_FINAL :
public:
void clear_imagemessage();
const ::proto::ImageMessage& imagemessage() const;
- ::proto::ImageMessage* release_imagemessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_imagemessage();
::proto::ImageMessage* mutable_imagemessage();
void set_allocated_imagemessage(::proto::ImageMessage* imagemessage);
private:
@@ -18685,7 +18762,7 @@ class ButtonsMessage PROTOBUF_FINAL :
public:
void clear_videomessage();
const ::proto::VideoMessage& videomessage() const;
- ::proto::VideoMessage* release_videomessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::VideoMessage* release_videomessage();
::proto::VideoMessage* mutable_videomessage();
void set_allocated_videomessage(::proto::VideoMessage* videomessage);
private:
@@ -18703,7 +18780,7 @@ class ButtonsMessage PROTOBUF_FINAL :
public:
void clear_locationmessage();
const ::proto::LocationMessage& locationmessage() const;
- ::proto::LocationMessage* release_locationmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::LocationMessage* release_locationmessage();
::proto::LocationMessage* mutable_locationmessage();
void set_allocated_locationmessage(::proto::LocationMessage* locationmessage);
private:
@@ -18753,11 +18830,11 @@ class ButtonsMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class ButtonsResponseMessage PROTOBUF_FINAL :
+class ButtonsResponseMessage final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.ButtonsResponseMessage) */ {
public:
inline ButtonsResponseMessage() : ButtonsResponseMessage(nullptr) {}
- virtual ~ButtonsResponseMessage();
+ ~ButtonsResponseMessage() override;
explicit constexpr ButtonsResponseMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ButtonsResponseMessage(const ButtonsResponseMessage& from);
@@ -18771,8 +18848,13 @@ class ButtonsResponseMessage PROTOBUF_FINAL :
return *this;
}
inline ButtonsResponseMessage& operator=(ButtonsResponseMessage&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -18790,10 +18872,10 @@ class ButtonsResponseMessage PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const ButtonsResponseMessage& default_instance() {
return *internal_default_instance();
@@ -18815,7 +18897,7 @@ class ButtonsResponseMessage PROTOBUF_FINAL :
}
inline void Swap(ButtonsResponseMessage* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -18823,23 +18905,26 @@ class ButtonsResponseMessage PROTOBUF_FINAL :
}
void UnsafeArenaSwap(ButtonsResponseMessage* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ButtonsResponseMessage* New() const final {
- return CreateMaybeMessage<ButtonsResponseMessage>(nullptr);
+ return new ButtonsResponseMessage();
}
ButtonsResponseMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ButtonsResponseMessage>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ButtonsResponseMessage& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ButtonsResponseMessage& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -18850,8 +18935,8 @@ class ButtonsResponseMessage PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ButtonsResponseMessage* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -18859,19 +18944,17 @@ class ButtonsResponseMessage PROTOBUF_FINAL :
return "proto.ButtonsResponseMessage";
}
protected:
- explicit ButtonsResponseMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ explicit ButtonsResponseMessage(::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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -18920,16 +19003,14 @@ class ButtonsResponseMessage PROTOBUF_FINAL :
public:
void clear_selectedbuttonid();
const std::string& selectedbuttonid() const;
- void set_selectedbuttonid(const std::string& value);
- void set_selectedbuttonid(std::string&& value);
- void set_selectedbuttonid(const char* value);
- void set_selectedbuttonid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_selectedbuttonid(ArgT0&& arg0, ArgT... args);
std::string* mutable_selectedbuttonid();
- std::string* release_selectedbuttonid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_selectedbuttonid();
void set_allocated_selectedbuttonid(std::string* selectedbuttonid);
private:
const std::string& _internal_selectedbuttonid() const;
- void _internal_set_selectedbuttonid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_selectedbuttonid(const std::string& value);
std::string* _internal_mutable_selectedbuttonid();
public:
@@ -18940,7 +19021,7 @@ class ButtonsResponseMessage PROTOBUF_FINAL :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -18971,16 +19052,14 @@ class ButtonsResponseMessage PROTOBUF_FINAL :
public:
void clear_selecteddisplaytext();
const std::string& selecteddisplaytext() const;
- void set_selecteddisplaytext(const std::string& value);
- void set_selecteddisplaytext(std::string&& value);
- void set_selecteddisplaytext(const char* value);
- void set_selecteddisplaytext(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_selecteddisplaytext(ArgT0&& arg0, ArgT... args);
std::string* mutable_selecteddisplaytext();
- std::string* release_selecteddisplaytext();
+ PROTOBUF_MUST_USE_RESULT std::string* release_selecteddisplaytext();
void set_allocated_selecteddisplaytext(std::string* selecteddisplaytext);
private:
const std::string& _internal_selecteddisplaytext() const;
- void _internal_set_selecteddisplaytext(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_selecteddisplaytext(const std::string& value);
std::string* _internal_mutable_selecteddisplaytext();
public:
@@ -19013,11 +19092,11 @@ class ButtonsResponseMessage PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class Message PROTOBUF_FINAL :
+class Message final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.Message) */ {
public:
inline Message() : Message(nullptr) {}
- virtual ~Message();
+ ~Message() override;
explicit constexpr Message(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Message(const Message& from);
@@ -19031,8 +19110,13 @@ class Message PROTOBUF_FINAL :
return *this;
}
inline Message& operator=(Message&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -19050,10 +19134,10 @@ class Message PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const Message& default_instance() {
return *internal_default_instance();
@@ -19070,7 +19154,7 @@ class Message PROTOBUF_FINAL :
}
inline void Swap(Message* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -19078,23 +19162,26 @@ class Message PROTOBUF_FINAL :
}
void UnsafeArenaSwap(Message* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline Message* New() const final {
- return CreateMaybeMessage<Message>(nullptr);
+ return new Message();
}
Message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<Message>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Message& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const Message& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -19105,8 +19192,8 @@ class Message PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Message* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -19114,19 +19201,17 @@ class Message PROTOBUF_FINAL :
return "proto.Message";
}
protected:
- explicit Message(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ explicit Message(::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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -19176,16 +19261,14 @@ class Message PROTOBUF_FINAL :
public:
void clear_conversation();
const std::string& conversation() const;
- void set_conversation(const std::string& value);
- void set_conversation(std::string&& value);
- void set_conversation(const char* value);
- void set_conversation(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_conversation(ArgT0&& arg0, ArgT... args);
std::string* mutable_conversation();
- std::string* release_conversation();
+ PROTOBUF_MUST_USE_RESULT std::string* release_conversation();
void set_allocated_conversation(std::string* conversation);
private:
const std::string& _internal_conversation() const;
- void _internal_set_conversation(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_conversation(const std::string& value);
std::string* _internal_mutable_conversation();
public:
@@ -19196,7 +19279,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_senderkeydistributionmessage();
const ::proto::SenderKeyDistributionMessage& senderkeydistributionmessage() const;
- ::proto::SenderKeyDistributionMessage* release_senderkeydistributionmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::SenderKeyDistributionMessage* release_senderkeydistributionmessage();
::proto::SenderKeyDistributionMessage* mutable_senderkeydistributionmessage();
void set_allocated_senderkeydistributionmessage(::proto::SenderKeyDistributionMessage* senderkeydistributionmessage);
private:
@@ -19214,7 +19297,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_imagemessage();
const ::proto::ImageMessage& imagemessage() const;
- ::proto::ImageMessage* release_imagemessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_imagemessage();
::proto::ImageMessage* mutable_imagemessage();
void set_allocated_imagemessage(::proto::ImageMessage* imagemessage);
private:
@@ -19232,7 +19315,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_contactmessage();
const ::proto::ContactMessage& contactmessage() const;
- ::proto::ContactMessage* release_contactmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContactMessage* release_contactmessage();
::proto::ContactMessage* mutable_contactmessage();
void set_allocated_contactmessage(::proto::ContactMessage* contactmessage);
private:
@@ -19250,7 +19333,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_locationmessage();
const ::proto::LocationMessage& locationmessage() const;
- ::proto::LocationMessage* release_locationmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::LocationMessage* release_locationmessage();
::proto::LocationMessage* mutable_locationmessage();
void set_allocated_locationmessage(::proto::LocationMessage* locationmessage);
private:
@@ -19268,7 +19351,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_extendedtextmessage();
const ::proto::ExtendedTextMessage& extendedtextmessage() const;
- ::proto::ExtendedTextMessage* release_extendedtextmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::ExtendedTextMessage* release_extendedtextmessage();
::proto::ExtendedTextMessage* mutable_extendedtextmessage();
void set_allocated_extendedtextmessage(::proto::ExtendedTextMessage* extendedtextmessage);
private:
@@ -19286,7 +19369,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_documentmessage();
const ::proto::DocumentMessage& documentmessage() const;
- ::proto::DocumentMessage* release_documentmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::DocumentMessage* release_documentmessage();
::proto::DocumentMessage* mutable_documentmessage();
void set_allocated_documentmessage(::proto::DocumentMessage* documentmessage);
private:
@@ -19304,7 +19387,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_audiomessage();
const ::proto::AudioMessage& audiomessage() const;
- ::proto::AudioMessage* release_audiomessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::AudioMessage* release_audiomessage();
::proto::AudioMessage* mutable_audiomessage();
void set_allocated_audiomessage(::proto::AudioMessage* audiomessage);
private:
@@ -19322,7 +19405,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_videomessage();
const ::proto::VideoMessage& videomessage() const;
- ::proto::VideoMessage* release_videomessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::VideoMessage* release_videomessage();
::proto::VideoMessage* mutable_videomessage();
void set_allocated_videomessage(::proto::VideoMessage* videomessage);
private:
@@ -19340,7 +19423,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_call();
const ::proto::Call& call() const;
- ::proto::Call* release_call();
+ PROTOBUF_MUST_USE_RESULT ::proto::Call* release_call();
::proto::Call* mutable_call();
void set_allocated_call(::proto::Call* call);
private:
@@ -19358,7 +19441,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_chat();
const ::proto::Chat& chat() const;
- ::proto::Chat* release_chat();
+ PROTOBUF_MUST_USE_RESULT ::proto::Chat* release_chat();
::proto::Chat* mutable_chat();
void set_allocated_chat(::proto::Chat* chat);
private:
@@ -19376,7 +19459,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_protocolmessage();
const ::proto::ProtocolMessage& protocolmessage() const;
- ::proto::ProtocolMessage* release_protocolmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::ProtocolMessage* release_protocolmessage();
::proto::ProtocolMessage* mutable_protocolmessage();
void set_allocated_protocolmessage(::proto::ProtocolMessage* protocolmessage);
private:
@@ -19394,7 +19477,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_contactsarraymessage();
const ::proto::ContactsArrayMessage& contactsarraymessage() const;
- ::proto::ContactsArrayMessage* release_contactsarraymessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::ContactsArrayMessage* release_contactsarraymessage();
::proto::ContactsArrayMessage* mutable_contactsarraymessage();
void set_allocated_contactsarraymessage(::proto::ContactsArrayMessage* contactsarraymessage);
private:
@@ -19412,7 +19495,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_highlystructuredmessage();
const ::proto::HighlyStructuredMessage& highlystructuredmessage() const;
- ::proto::HighlyStructuredMessage* release_highlystructuredmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_highlystructuredmessage();
::proto::HighlyStructuredMessage* mutable_highlystructuredmessage();
void set_allocated_highlystructuredmessage(::proto::HighlyStructuredMessage* highlystructuredmessage);
private:
@@ -19430,7 +19513,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_fastratchetkeysenderkeydistributionmessage();
const ::proto::SenderKeyDistributionMessage& fastratchetkeysenderkeydistributionmessage() const;
- ::proto::SenderKeyDistributionMessage* release_fastratchetkeysenderkeydistributionmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::SenderKeyDistributionMessage* release_fastratchetkeysenderkeydistributionmessage();
::proto::SenderKeyDistributionMessage* mutable_fastratchetkeysenderkeydistributionmessage();
void set_allocated_fastratchetkeysenderkeydistributionmessage(::proto::SenderKeyDistributionMessage* fastratchetkeysenderkeydistributionmessage);
private:
@@ -19448,7 +19531,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_sendpaymentmessage();
const ::proto::SendPaymentMessage& sendpaymentmessage() const;
- ::proto::SendPaymentMessage* release_sendpaymentmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::SendPaymentMessage* release_sendpaymentmessage();
::proto::SendPaymentMessage* mutable_sendpaymentmessage();
void set_allocated_sendpaymentmessage(::proto::SendPaymentMessage* sendpaymentmessage);
private:
@@ -19466,7 +19549,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_livelocationmessage();
const ::proto::LiveLocationMessage& livelocationmessage() const;
- ::proto::LiveLocationMessage* release_livelocationmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::LiveLocationMessage* release_livelocationmessage();
::proto::LiveLocationMessage* mutable_livelocationmessage();
void set_allocated_livelocationmessage(::proto::LiveLocationMessage* livelocationmessage);
private:
@@ -19484,7 +19567,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_requestpaymentmessage();
const ::proto::RequestPaymentMessage& requestpaymentmessage() const;
- ::proto::RequestPaymentMessage* release_requestpaymentmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::RequestPaymentMessage* release_requestpaymentmessage();
::proto::RequestPaymentMessage* mutable_requestpaymentmessage();
void set_allocated_requestpaymentmessage(::proto::RequestPaymentMessage* requestpaymentmessage);
private:
@@ -19502,7 +19585,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_declinepaymentrequestmessage();
const ::proto::DeclinePaymentRequestMessage& declinepaymentrequestmessage() const;
- ::proto::DeclinePaymentRequestMessage* release_declinepaymentrequestmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::DeclinePaymentRequestMessage* release_declinepaymentrequestmessage();
::proto::DeclinePaymentRequestMessage* mutable_declinepaymentrequestmessage();
void set_allocated_declinepaymentrequestmessage(::proto::DeclinePaymentRequestMessage* declinepaymentrequestmessage);
private:
@@ -19520,7 +19603,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_cancelpaymentrequestmessage();
const ::proto::CancelPaymentRequestMessage& cancelpaymentrequestmessage() const;
- ::proto::CancelPaymentRequestMessage* release_cancelpaymentrequestmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::CancelPaymentRequestMessage* release_cancelpaymentrequestmessage();
::proto::CancelPaymentRequestMessage* mutable_cancelpaymentrequestmessage();
void set_allocated_cancelpaymentrequestmessage(::proto::CancelPaymentRequestMessage* cancelpaymentrequestmessage);
private:
@@ -19538,7 +19621,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_templatemessage();
const ::proto::TemplateMessage& templatemessage() const;
- ::proto::TemplateMessage* release_templatemessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::TemplateMessage* release_templatemessage();
::proto::TemplateMessage* mutable_templatemessage();
void set_allocated_templatemessage(::proto::TemplateMessage* templatemessage);
private:
@@ -19556,7 +19639,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_stickermessage();
const ::proto::StickerMessage& stickermessage() const;
- ::proto::StickerMessage* release_stickermessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::StickerMessage* release_stickermessage();
::proto::StickerMessage* mutable_stickermessage();
void set_allocated_stickermessage(::proto::StickerMessage* stickermessage);
private:
@@ -19574,7 +19657,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_groupinvitemessage();
const ::proto::GroupInviteMessage& groupinvitemessage() const;
- ::proto::GroupInviteMessage* release_groupinvitemessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::GroupInviteMessage* release_groupinvitemessage();
::proto::GroupInviteMessage* mutable_groupinvitemessage();
void set_allocated_groupinvitemessage(::proto::GroupInviteMessage* groupinvitemessage);
private:
@@ -19592,7 +19675,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_templatebuttonreplymessage();
const ::proto::TemplateButtonReplyMessage& templatebuttonreplymessage() const;
- ::proto::TemplateButtonReplyMessage* release_templatebuttonreplymessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::TemplateButtonReplyMessage* release_templatebuttonreplymessage();
::proto::TemplateButtonReplyMessage* mutable_templatebuttonreplymessage();
void set_allocated_templatebuttonreplymessage(::proto::TemplateButtonReplyMessage* templatebuttonreplymessage);
private:
@@ -19610,7 +19693,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_productmessage();
const ::proto::ProductMessage& productmessage() const;
- ::proto::ProductMessage* release_productmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::ProductMessage* release_productmessage();
::proto::ProductMessage* mutable_productmessage();
void set_allocated_productmessage(::proto::ProductMessage* productmessage);
private:
@@ -19628,7 +19711,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_devicesentmessage();
const ::proto::DeviceSentMessage& devicesentmessage() const;
- ::proto::DeviceSentMessage* release_devicesentmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::DeviceSentMessage* release_devicesentmessage();
::proto::DeviceSentMessage* mutable_devicesentmessage();
void set_allocated_devicesentmessage(::proto::DeviceSentMessage* devicesentmessage);
private:
@@ -19646,7 +19729,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_messagecontextinfo();
const ::proto::MessageContextInfo& messagecontextinfo() const;
- ::proto::MessageContextInfo* release_messagecontextinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::MessageContextInfo* release_messagecontextinfo();
::proto::MessageContextInfo* mutable_messagecontextinfo();
void set_allocated_messagecontextinfo(::proto::MessageContextInfo* messagecontextinfo);
private:
@@ -19664,7 +19747,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_listmessage();
const ::proto::ListMessage& listmessage() const;
- ::proto::ListMessage* release_listmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::ListMessage* release_listmessage();
::proto::ListMessage* mutable_listmessage();
void set_allocated_listmessage(::proto::ListMessage* listmessage);
private:
@@ -19682,7 +19765,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_viewoncemessage();
const ::proto::FutureProofMessage& viewoncemessage() const;
- ::proto::FutureProofMessage* release_viewoncemessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::FutureProofMessage* release_viewoncemessage();
::proto::FutureProofMessage* mutable_viewoncemessage();
void set_allocated_viewoncemessage(::proto::FutureProofMessage* viewoncemessage);
private:
@@ -19700,7 +19783,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_ordermessage();
const ::proto::OrderMessage& ordermessage() const;
- ::proto::OrderMessage* release_ordermessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::OrderMessage* release_ordermessage();
::proto::OrderMessage* mutable_ordermessage();
void set_allocated_ordermessage(::proto::OrderMessage* ordermessage);
private:
@@ -19718,7 +19801,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_listresponsemessage();
const ::proto::ListResponseMessage& listresponsemessage() const;
- ::proto::ListResponseMessage* release_listresponsemessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::ListResponseMessage* release_listresponsemessage();
::proto::ListResponseMessage* mutable_listresponsemessage();
void set_allocated_listresponsemessage(::proto::ListResponseMessage* listresponsemessage);
private:
@@ -19736,7 +19819,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_ephemeralmessage();
const ::proto::FutureProofMessage& ephemeralmessage() const;
- ::proto::FutureProofMessage* release_ephemeralmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::FutureProofMessage* release_ephemeralmessage();
::proto::FutureProofMessage* mutable_ephemeralmessage();
void set_allocated_ephemeralmessage(::proto::FutureProofMessage* ephemeralmessage);
private:
@@ -19754,7 +19837,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_invoicemessage();
const ::proto::InvoiceMessage& invoicemessage() const;
- ::proto::InvoiceMessage* release_invoicemessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::InvoiceMessage* release_invoicemessage();
::proto::InvoiceMessage* mutable_invoicemessage();
void set_allocated_invoicemessage(::proto::InvoiceMessage* invoicemessage);
private:
@@ -19772,7 +19855,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_buttonsmessage();
const ::proto::ButtonsMessage& buttonsmessage() const;
- ::proto::ButtonsMessage* release_buttonsmessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::ButtonsMessage* release_buttonsmessage();
::proto::ButtonsMessage* mutable_buttonsmessage();
void set_allocated_buttonsmessage(::proto::ButtonsMessage* buttonsmessage);
private:
@@ -19790,7 +19873,7 @@ class Message PROTOBUF_FINAL :
public:
void clear_buttonsresponsemessage();
const ::proto::ButtonsResponseMessage& buttonsresponsemessage() const;
- ::proto::ButtonsResponseMessage* release_buttonsresponsemessage();
+ PROTOBUF_MUST_USE_RESULT ::proto::ButtonsResponseMessage* release_buttonsresponsemessage();
::proto::ButtonsResponseMessage* mutable_buttonsresponsemessage();
void set_allocated_buttonsresponsemessage(::proto::ButtonsResponseMessage* buttonsresponsemessage);
private:
@@ -19849,11 +19932,11 @@ class Message PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class MessageKey PROTOBUF_FINAL :
+class MessageKey final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.MessageKey) */ {
public:
inline MessageKey() : MessageKey(nullptr) {}
- virtual ~MessageKey();
+ ~MessageKey() override;
explicit constexpr MessageKey(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
MessageKey(const MessageKey& from);
@@ -19867,8 +19950,13 @@ class MessageKey PROTOBUF_FINAL :
return *this;
}
inline MessageKey& operator=(MessageKey&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -19886,10 +19974,10 @@ class MessageKey PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const MessageKey& default_instance() {
return *internal_default_instance();
@@ -19906,7 +19994,7 @@ class MessageKey PROTOBUF_FINAL :
}
inline void Swap(MessageKey* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -19914,23 +20002,26 @@ class MessageKey PROTOBUF_FINAL :
}
void UnsafeArenaSwap(MessageKey* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline MessageKey* New() const final {
- return CreateMaybeMessage<MessageKey>(nullptr);
+ return new MessageKey();
}
MessageKey* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<MessageKey>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const MessageKey& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const MessageKey& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -19941,8 +20032,8 @@ class MessageKey PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(MessageKey* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -19950,19 +20041,17 @@ class MessageKey PROTOBUF_FINAL :
return "proto.MessageKey";
}
protected:
- explicit MessageKey(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ explicit MessageKey(::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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -19981,16 +20070,14 @@ class MessageKey PROTOBUF_FINAL :
public:
void clear_remotejid();
const std::string& remotejid() const;
- void set_remotejid(const std::string& value);
- void set_remotejid(std::string&& value);
- void set_remotejid(const char* value);
- void set_remotejid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_remotejid(ArgT0&& arg0, ArgT... args);
std::string* mutable_remotejid();
- std::string* release_remotejid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_remotejid();
void set_allocated_remotejid(std::string* remotejid);
private:
const std::string& _internal_remotejid() const;
- void _internal_set_remotejid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_remotejid(const std::string& value);
std::string* _internal_mutable_remotejid();
public:
@@ -20001,16 +20088,14 @@ class MessageKey PROTOBUF_FINAL :
public:
void clear_id();
const std::string& id() const;
- void set_id(const std::string& value);
- void set_id(std::string&& value);
- void set_id(const char* value);
- void set_id(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_id();
- std::string* release_id();
+ PROTOBUF_MUST_USE_RESULT std::string* release_id();
void set_allocated_id(std::string* id);
private:
const std::string& _internal_id() const;
- void _internal_set_id(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value);
std::string* _internal_mutable_id();
public:
@@ -20021,16 +20106,14 @@ class MessageKey PROTOBUF_FINAL :
public:
void clear_participant();
const std::string& participant() const;
- void set_participant(const std::string& value);
- void set_participant(std::string&& value);
- void set_participant(const char* value);
- void set_participant(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_participant(ArgT0&& arg0, ArgT... args);
std::string* mutable_participant();
- std::string* release_participant();
+ PROTOBUF_MUST_USE_RESULT std::string* release_participant();
void set_allocated_participant(std::string* participant);
private:
const std::string& _internal_participant() const;
- void _internal_set_participant(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_participant(const std::string& value);
std::string* _internal_mutable_participant();
public:
@@ -20064,11 +20147,11 @@ class MessageKey PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class WebFeatures PROTOBUF_FINAL :
+class WebFeatures final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.WebFeatures) */ {
public:
inline WebFeatures() : WebFeatures(nullptr) {}
- virtual ~WebFeatures();
+ ~WebFeatures() override;
explicit constexpr WebFeatures(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
WebFeatures(const WebFeatures& from);
@@ -20082,8 +20165,13 @@ class WebFeatures PROTOBUF_FINAL :
return *this;
}
inline WebFeatures& operator=(WebFeatures&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -20101,10 +20189,10 @@ class WebFeatures PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const WebFeatures& default_instance() {
return *internal_default_instance();
@@ -20121,7 +20209,7 @@ class WebFeatures PROTOBUF_FINAL :
}
inline void Swap(WebFeatures* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -20129,23 +20217,26 @@ class WebFeatures PROTOBUF_FINAL :
}
void UnsafeArenaSwap(WebFeatures* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline WebFeatures* New() const final {
- return CreateMaybeMessage<WebFeatures>(nullptr);
+ return new WebFeatures();
}
WebFeatures* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<WebFeatures>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const WebFeatures& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const WebFeatures& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -20156,8 +20247,8 @@ class WebFeatures PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(WebFeatures* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -20165,19 +20256,17 @@ class WebFeatures PROTOBUF_FINAL :
return "proto.WebFeatures";
}
protected:
- explicit WebFeatures(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ explicit WebFeatures(::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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -20832,11 +20921,11 @@ class WebFeatures PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class NotificationMessageInfo PROTOBUF_FINAL :
+class NotificationMessageInfo final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.NotificationMessageInfo) */ {
public:
inline NotificationMessageInfo() : NotificationMessageInfo(nullptr) {}
- virtual ~NotificationMessageInfo();
+ ~NotificationMessageInfo() override;
explicit constexpr NotificationMessageInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
NotificationMessageInfo(const NotificationMessageInfo& from);
@@ -20850,8 +20939,13 @@ class NotificationMessageInfo PROTOBUF_FINAL :
return *this;
}
inline NotificationMessageInfo& operator=(NotificationMessageInfo&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -20869,10 +20963,10 @@ class NotificationMessageInfo PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const NotificationMessageInfo& default_instance() {
return *internal_default_instance();
@@ -20889,7 +20983,7 @@ class NotificationMessageInfo PROTOBUF_FINAL :
}
inline void Swap(NotificationMessageInfo* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -20897,23 +20991,26 @@ class NotificationMessageInfo PROTOBUF_FINAL :
}
void UnsafeArenaSwap(NotificationMessageInfo* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline NotificationMessageInfo* New() const final {
- return CreateMaybeMessage<NotificationMessageInfo>(nullptr);
+ return new NotificationMessageInfo();
}
NotificationMessageInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<NotificationMessageInfo>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const NotificationMessageInfo& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const NotificationMessageInfo& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -20924,8 +21021,8 @@ class NotificationMessageInfo PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(NotificationMessageInfo* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -20933,19 +21030,17 @@ class NotificationMessageInfo PROTOBUF_FINAL :
return "proto.NotificationMessageInfo";
}
protected:
- explicit NotificationMessageInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ explicit NotificationMessageInfo(::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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -20964,16 +21059,14 @@ class NotificationMessageInfo PROTOBUF_FINAL :
public:
void clear_participant();
const std::string& participant() const;
- void set_participant(const std::string& value);
- void set_participant(std::string&& value);
- void set_participant(const char* value);
- void set_participant(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_participant(ArgT0&& arg0, ArgT... args);
std::string* mutable_participant();
- std::string* release_participant();
+ PROTOBUF_MUST_USE_RESULT std::string* release_participant();
void set_allocated_participant(std::string* participant);
private:
const std::string& _internal_participant() const;
- void _internal_set_participant(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_participant(const std::string& value);
std::string* _internal_mutable_participant();
public:
@@ -20984,7 +21077,7 @@ class NotificationMessageInfo PROTOBUF_FINAL :
public:
void clear_key();
const ::proto::MessageKey& key() const;
- ::proto::MessageKey* release_key();
+ PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_key();
::proto::MessageKey* mutable_key();
void set_allocated_key(::proto::MessageKey* key);
private:
@@ -21002,7 +21095,7 @@ class NotificationMessageInfo PROTOBUF_FINAL :
public:
void clear_message();
const ::proto::Message& message() const;
- ::proto::Message* release_message();
+ PROTOBUF_MUST_USE_RESULT ::proto::Message* release_message();
::proto::Message* mutable_message();
void set_allocated_message(::proto::Message* message);
private:
@@ -21043,11 +21136,11 @@ class NotificationMessageInfo PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class WebNotificationsInfo PROTOBUF_FINAL :
+class WebNotificationsInfo final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.WebNotificationsInfo) */ {
public:
inline WebNotificationsInfo() : WebNotificationsInfo(nullptr) {}
- virtual ~WebNotificationsInfo();
+ ~WebNotificationsInfo() override;
explicit constexpr WebNotificationsInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
WebNotificationsInfo(const WebNotificationsInfo& from);
@@ -21061,8 +21154,13 @@ class WebNotificationsInfo PROTOBUF_FINAL :
return *this;
}
inline WebNotificationsInfo& operator=(WebNotificationsInfo&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -21080,10 +21178,10 @@ class WebNotificationsInfo PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const WebNotificationsInfo& default_instance() {
return *internal_default_instance();
@@ -21100,7 +21198,7 @@ class WebNotificationsInfo PROTOBUF_FINAL :
}
inline void Swap(WebNotificationsInfo* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -21108,23 +21206,26 @@ class WebNotificationsInfo PROTOBUF_FINAL :
}
void UnsafeArenaSwap(WebNotificationsInfo* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline WebNotificationsInfo* New() const final {
- return CreateMaybeMessage<WebNotificationsInfo>(nullptr);
+ return new WebNotificationsInfo();
}
WebNotificationsInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<WebNotificationsInfo>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const WebNotificationsInfo& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const WebNotificationsInfo& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -21135,8 +21236,8 @@ class WebNotificationsInfo PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(WebNotificationsInfo* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -21144,19 +21245,17 @@ class WebNotificationsInfo PROTOBUF_FINAL :
return "proto.WebNotificationsInfo";
}
protected:
- explicit WebNotificationsInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ explicit WebNotificationsInfo(::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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -21242,11 +21341,11 @@ class WebNotificationsInfo PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class PaymentInfo PROTOBUF_FINAL :
+class PaymentInfo final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.PaymentInfo) */ {
public:
inline PaymentInfo() : PaymentInfo(nullptr) {}
- virtual ~PaymentInfo();
+ ~PaymentInfo() override;
explicit constexpr PaymentInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
PaymentInfo(const PaymentInfo& from);
@@ -21260,8 +21359,13 @@ class PaymentInfo PROTOBUF_FINAL :
return *this;
}
inline PaymentInfo& operator=(PaymentInfo&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -21279,10 +21383,10 @@ class PaymentInfo PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const PaymentInfo& default_instance() {
return *internal_default_instance();
@@ -21299,7 +21403,7 @@ class PaymentInfo PROTOBUF_FINAL :
}
inline void Swap(PaymentInfo* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -21307,23 +21411,26 @@ class PaymentInfo PROTOBUF_FINAL :
}
void UnsafeArenaSwap(PaymentInfo* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline PaymentInfo* New() const final {
- return CreateMaybeMessage<PaymentInfo>(nullptr);
+ return new PaymentInfo();
}
PaymentInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<PaymentInfo>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const PaymentInfo& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const PaymentInfo& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -21334,8 +21441,8 @@ class PaymentInfo PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(PaymentInfo* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -21343,19 +21450,17 @@ class PaymentInfo PROTOBUF_FINAL :
return "proto.PaymentInfo";
}
protected:
- explicit PaymentInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ explicit PaymentInfo(::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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -21545,16 +21650,14 @@ class PaymentInfo PROTOBUF_FINAL :
public:
void clear_receiverjid();
const std::string& receiverjid() const;
- void set_receiverjid(const std::string& value);
- void set_receiverjid(std::string&& value);
- void set_receiverjid(const char* value);
- void set_receiverjid(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_receiverjid(ArgT0&& arg0, ArgT... args);
std::string* mutable_receiverjid();
- std::string* release_receiverjid();
+ PROTOBUF_MUST_USE_RESULT std::string* release_receiverjid();
void set_allocated_receiverjid(std::string* receiverjid);
private:
const std::string& _internal_receiverjid() const;
- void _internal_set_receiverjid(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_receiverjid(const std::string& value);
std::string* _internal_mutable_receiverjid();
public:
@@ -21565,16 +21668,14 @@ class PaymentInfo PROTOBUF_FINAL :
public:
void clear_currency();
const std::string& currency() const;
- void set_currency(const std::string& value);
- void set_currency(std::string&& value);
- void set_currency(const char* value);
- void set_currency(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_currency(ArgT0&& arg0, ArgT... args);
std::string* mutable_currency();
- std::string* release_currency();
+ PROTOBUF_MUST_USE_RESULT std::string* release_currency();
void set_allocated_currency(std::string* currency);
private:
const std::string& _internal_currency() const;
- void _internal_set_currency(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_currency(const std::string& value);
std::string* _internal_mutable_currency();
public:
@@ -21585,7 +21686,7 @@ class PaymentInfo PROTOBUF_FINAL :
public:
void clear_requestmessagekey();
const ::proto::MessageKey& requestmessagekey() const;
- ::proto::MessageKey* release_requestmessagekey();
+ PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_requestmessagekey();
::proto::MessageKey* mutable_requestmessagekey();
void set_allocated_requestmessagekey(::proto::MessageKey* requestmessagekey);
private:
@@ -21603,7 +21704,7 @@ class PaymentInfo PROTOBUF_FINAL :
public:
void clear_primaryamount();
const ::proto::PaymentMoney& primaryamount() const;
- ::proto::PaymentMoney* release_primaryamount();
+ PROTOBUF_MUST_USE_RESULT ::proto::PaymentMoney* release_primaryamount();
::proto::PaymentMoney* mutable_primaryamount();
void set_allocated_primaryamount(::proto::PaymentMoney* primaryamount);
private:
@@ -21621,7 +21722,7 @@ class PaymentInfo PROTOBUF_FINAL :
public:
void clear_exchangeamount();
const ::proto::PaymentMoney& exchangeamount() const;
- ::proto::PaymentMoney* release_exchangeamount();
+ PROTOBUF_MUST_USE_RESULT ::proto::PaymentMoney* release_exchangeamount();
::proto::PaymentMoney* mutable_exchangeamount();
void set_allocated_exchangeamount(::proto::PaymentMoney* exchangeamount);
private:
@@ -21762,11 +21863,11 @@ class PaymentInfo PROTOBUF_FINAL :
};
// -------------------------------------------------------------------
-class WebMessageInfo PROTOBUF_FINAL :
+class WebMessageInfo final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.WebMessageInfo) */ {
public:
inline WebMessageInfo() : WebMessageInfo(nullptr) {}
- virtual ~WebMessageInfo();
+ ~WebMessageInfo() override;
explicit constexpr WebMessageInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
WebMessageInfo(const WebMessageInfo& from);
@@ -21780,8 +21881,13 @@ class WebMessageInfo PROTOBUF_FINAL :
return *this;
}
inline WebMessageInfo& operator=(WebMessageInfo&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
} else {
CopyFrom(from);
}
@@ -21799,10 +21905,10 @@ class WebMessageInfo PROTOBUF_FINAL :
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
+ return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
+ return default_instance().GetMetadata().reflection;
}
static const WebMessageInfo& default_instance() {
return *internal_default_instance();
@@ -21819,7 +21925,7 @@ class WebMessageInfo PROTOBUF_FINAL :
}
inline void Swap(WebMessageInfo* other) {
if (other == this) return;
- if (GetArena() == other->GetArena()) {
+ if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -21827,23 +21933,26 @@ class WebMessageInfo PROTOBUF_FINAL :
}
void UnsafeArenaSwap(WebMessageInfo* other) {
if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline WebMessageInfo* New() const final {
- return CreateMaybeMessage<WebMessageInfo>(nullptr);
+ return new WebMessageInfo();
}
WebMessageInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<WebMessageInfo>(arena);
}
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const WebMessageInfo& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const WebMessageInfo& from);
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -21854,8 +21963,8 @@ class WebMessageInfo PROTOBUF_FINAL :
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
- inline void SharedCtor();
- inline void SharedDtor();
+ void SharedCtor();
+ void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(WebMessageInfo* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
@@ -21863,19 +21972,17 @@ class WebMessageInfo PROTOBUF_FINAL :
return "proto.WebMessageInfo";
}
protected:
- explicit WebMessageInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena);
+ explicit WebMessageInfo(::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:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- return ::descriptor_table_pmsg_2eproto_metadata_getter(kIndexInFileMessages);
- }
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- public:
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
@@ -22301,16 +22408,14 @@ class WebMessageInfo PROTOBUF_FINAL :
public:
void clear_participant();
const std::string& participant() const;
- void set_participant(const std::string& value);
- void set_participant(std::string&& value);
- void set_participant(const char* value);
- void set_participant(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_participant(ArgT0&& arg0, ArgT... args);
std::string* mutable_participant();
- std::string* release_participant();
+ PROTOBUF_MUST_USE_RESULT std::string* release_participant();
void set_allocated_participant(std::string* participant);
private:
const std::string& _internal_participant() const;
- void _internal_set_participant(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_participant(const std::string& value);
std::string* _internal_mutable_participant();
public:
@@ -22321,16 +22426,14 @@ class WebMessageInfo PROTOBUF_FINAL :
public:
void clear_pushname();
const std::string& pushname() const;
- void set_pushname(const std::string& value);
- void set_pushname(std::string&& value);
- void set_pushname(const char* value);
- void set_pushname(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_pushname(ArgT0&& arg0, ArgT... args);
std::string* mutable_pushname();
- std::string* release_pushname();
+ PROTOBUF_MUST_USE_RESULT std::string* release_pushname();
void set_allocated_pushname(std::string* pushname);
private:
const std::string& _internal_pushname() const;
- void _internal_set_pushname(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_pushname(const std::string& value);
std::string* _internal_mutable_pushname();
public:
@@ -22341,16 +22444,14 @@ class WebMessageInfo PROTOBUF_FINAL :
public:
void clear_mediaciphertextsha256();
const std::string& mediaciphertextsha256() const;
- void set_mediaciphertextsha256(const std::string& value);
- void set_mediaciphertextsha256(std::string&& value);
- void set_mediaciphertextsha256(const char* value);
- void set_mediaciphertextsha256(const void* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_mediaciphertextsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediaciphertextsha256();
- std::string* release_mediaciphertextsha256();
+ PROTOBUF_MUST_USE_RESULT std::string* release_mediaciphertextsha256();
void set_allocated_mediaciphertextsha256(std::string* mediaciphertextsha256);
private:
const std::string& _internal_mediaciphertextsha256() const;
- void _internal_set_mediaciphertextsha256(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_mediaciphertextsha256(const std::string& value);
std::string* _internal_mutable_mediaciphertextsha256();
public:
@@ -22361,16 +22462,14 @@ class WebMessageInfo PROTOBUF_FINAL :
public:
void clear_verifiedbizname();
const std::string& verifiedbizname() const;
- void set_verifiedbizname(const std::string& value);
- void set_verifiedbizname(std::string&& value);
- void set_verifiedbizname(const char* value);
- void set_verifiedbizname(const char* value, size_t size);
+ template <typename ArgT0 = const std::string&, typename... ArgT>
+ void set_verifiedbizname(ArgT0&& arg0, ArgT... args);
std::string* mutable_verifiedbizname();
- std::string* release_verifiedbizname();
+ PROTOBUF_MUST_USE_RESULT std::string* release_verifiedbizname();
void set_allocated_verifiedbizname(std::string* verifiedbizname);
private:
const std::string& _internal_verifiedbizname() const;
- void _internal_set_verifiedbizname(const std::string& value);
+ inline PROTOBUF_ALWAYS_INLINE void _internal_set_verifiedbizname(const std::string& value);
std::string* _internal_mutable_verifiedbizname();
public:
@@ -22381,7 +22480,7 @@ class WebMessageInfo PROTOBUF_FINAL :
public:
void clear_key();
const ::proto::MessageKey& key() const;
- ::proto::MessageKey* release_key();
+ PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_key();
::proto::MessageKey* mutable_key();
void set_allocated_key(::proto::MessageKey* key);
private:
@@ -22399,7 +22498,7 @@ class WebMessageInfo PROTOBUF_FINAL :
public:
void clear_message();
const ::proto::Message& message() const;
- ::proto::Message* release_message();
+ PROTOBUF_MUST_USE_RESULT ::proto::Message* release_message();
::proto::Message* mutable_message();
void set_allocated_message(::proto::Message* message);
private:
@@ -22417,7 +22516,7 @@ class WebMessageInfo PROTOBUF_FINAL :
public:
void clear_paymentinfo();
const ::proto::PaymentInfo& paymentinfo() const;
- ::proto::PaymentInfo* release_paymentinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::PaymentInfo* release_paymentinfo();
::proto::PaymentInfo* mutable_paymentinfo();
void set_allocated_paymentinfo(::proto::PaymentInfo* paymentinfo);
private:
@@ -22435,7 +22534,7 @@ class WebMessageInfo PROTOBUF_FINAL :
public:
void clear_finallivelocation();
const ::proto::LiveLocationMessage& finallivelocation() const;
- ::proto::LiveLocationMessage* release_finallivelocation();
+ PROTOBUF_MUST_USE_RESULT ::proto::LiveLocationMessage* release_finallivelocation();
::proto::LiveLocationMessage* mutable_finallivelocation();
void set_allocated_finallivelocation(::proto::LiveLocationMessage* finallivelocation);
private:
@@ -22453,7 +22552,7 @@ class WebMessageInfo PROTOBUF_FINAL :
public:
void clear_quotedpaymentinfo();
const ::proto::PaymentInfo& quotedpaymentinfo() const;
- ::proto::PaymentInfo* release_quotedpaymentinfo();
+ PROTOBUF_MUST_USE_RESULT ::proto::PaymentInfo* release_quotedpaymentinfo();
::proto::PaymentInfo* mutable_quotedpaymentinfo();
void set_allocated_quotedpaymentinfo(::proto::PaymentInfo* quotedpaymentinfo);
private:
@@ -22730,7 +22829,7 @@ inline bool PaymentMoney::has_value() const {
return _internal_has_value();
}
inline void PaymentMoney::clear_value() {
- value_ = PROTOBUF_LONGLONG(0);
+ value_ = int64_t{0};
_has_bits_[0] &= ~0x00000002u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 PaymentMoney::_internal_value() const {
@@ -22793,43 +22892,28 @@ inline const std::string& PaymentMoney::currencycode() const {
// @@protoc_insertion_point(field_get:proto.PaymentMoney.currencyCode)
return _internal_currencycode();
}
-inline void PaymentMoney::set_currencycode(const std::string& value) {
- _internal_set_currencycode(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void PaymentMoney::set_currencycode(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.PaymentMoney.currencyCode)
}
inline std::string* PaymentMoney::mutable_currencycode() {
+ std::string* _s = _internal_mutable_currencycode();
// @@protoc_insertion_point(field_mutable:proto.PaymentMoney.currencyCode)
- return _internal_mutable_currencycode();
+ return _s;
}
inline const std::string& PaymentMoney::_internal_currencycode() const {
return currencycode_.Get();
}
inline void PaymentMoney::_internal_set_currencycode(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void PaymentMoney::set_currencycode(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- currencycode_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.PaymentMoney.currencyCode)
-}
-inline void PaymentMoney::set_currencycode(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.PaymentMoney.currencyCode)
-}
-inline void PaymentMoney::set_currencycode(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.PaymentMoney.currencyCode)
+ currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PaymentMoney::_internal_mutable_currencycode() {
_has_bits_[0] |= 0x00000001u;
- return currencycode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return currencycode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PaymentMoney::release_currencycode() {
// @@protoc_insertion_point(field_release:proto.PaymentMoney.currencyCode)
@@ -22837,7 +22921,7 @@ inline std::string* PaymentMoney::release_currencycode() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return currencycode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return currencycode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PaymentMoney::set_allocated_currencycode(std::string* currencycode) {
if (currencycode != nullptr) {
@@ -22846,7 +22930,7 @@ inline void PaymentMoney::set_allocated_currencycode(std::string* currencycode)
_has_bits_[0] &= ~0x00000001u;
}
currencycode_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), currencycode,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.PaymentMoney.currencyCode)
}
@@ -22870,43 +22954,28 @@ inline const std::string& HydratedQuickReplyButton::displaytext() const {
// @@protoc_insertion_point(field_get:proto.HydratedQuickReplyButton.displayText)
return _internal_displaytext();
}
-inline void HydratedQuickReplyButton::set_displaytext(const std::string& value) {
- _internal_set_displaytext(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HydratedQuickReplyButton::set_displaytext(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedQuickReplyButton.displayText)
}
inline std::string* HydratedQuickReplyButton::mutable_displaytext() {
+ std::string* _s = _internal_mutable_displaytext();
// @@protoc_insertion_point(field_mutable:proto.HydratedQuickReplyButton.displayText)
- return _internal_mutable_displaytext();
+ return _s;
}
inline const std::string& HydratedQuickReplyButton::_internal_displaytext() const {
return displaytext_.Get();
}
inline void HydratedQuickReplyButton::_internal_set_displaytext(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HydratedQuickReplyButton::set_displaytext(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- displaytext_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HydratedQuickReplyButton.displayText)
-}
-inline void HydratedQuickReplyButton::set_displaytext(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HydratedQuickReplyButton.displayText)
-}
-inline void HydratedQuickReplyButton::set_displaytext(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HydratedQuickReplyButton.displayText)
+ displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HydratedQuickReplyButton::_internal_mutable_displaytext() {
_has_bits_[0] |= 0x00000001u;
- return displaytext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return displaytext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HydratedQuickReplyButton::release_displaytext() {
// @@protoc_insertion_point(field_release:proto.HydratedQuickReplyButton.displayText)
@@ -22914,7 +22983,7 @@ inline std::string* HydratedQuickReplyButton::release_displaytext() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return displaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return displaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HydratedQuickReplyButton::set_allocated_displaytext(std::string* displaytext) {
if (displaytext != nullptr) {
@@ -22923,7 +22992,7 @@ inline void HydratedQuickReplyButton::set_allocated_displaytext(std::string* dis
_has_bits_[0] &= ~0x00000001u;
}
displaytext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), displaytext,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HydratedQuickReplyButton.displayText)
}
@@ -22943,43 +23012,28 @@ inline const std::string& HydratedQuickReplyButton::id() const {
// @@protoc_insertion_point(field_get:proto.HydratedQuickReplyButton.id)
return _internal_id();
}
-inline void HydratedQuickReplyButton::set_id(const std::string& value) {
- _internal_set_id(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HydratedQuickReplyButton::set_id(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedQuickReplyButton.id)
}
inline std::string* HydratedQuickReplyButton::mutable_id() {
+ std::string* _s = _internal_mutable_id();
// @@protoc_insertion_point(field_mutable:proto.HydratedQuickReplyButton.id)
- return _internal_mutable_id();
+ return _s;
}
inline const std::string& HydratedQuickReplyButton::_internal_id() const {
return id_.Get();
}
inline void HydratedQuickReplyButton::_internal_set_id(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HydratedQuickReplyButton::set_id(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- id_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HydratedQuickReplyButton.id)
-}
-inline void HydratedQuickReplyButton::set_id(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HydratedQuickReplyButton.id)
-}
-inline void HydratedQuickReplyButton::set_id(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HydratedQuickReplyButton.id)
+ id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HydratedQuickReplyButton::_internal_mutable_id() {
_has_bits_[0] |= 0x00000002u;
- return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HydratedQuickReplyButton::release_id() {
// @@protoc_insertion_point(field_release:proto.HydratedQuickReplyButton.id)
@@ -22987,7 +23041,7 @@ inline std::string* HydratedQuickReplyButton::release_id() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HydratedQuickReplyButton::set_allocated_id(std::string* id) {
if (id != nullptr) {
@@ -22996,7 +23050,7 @@ inline void HydratedQuickReplyButton::set_allocated_id(std::string* id) {
_has_bits_[0] &= ~0x00000002u;
}
id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HydratedQuickReplyButton.id)
}
@@ -23020,43 +23074,28 @@ inline const std::string& HydratedURLButton::displaytext() const {
// @@protoc_insertion_point(field_get:proto.HydratedURLButton.displayText)
return _internal_displaytext();
}
-inline void HydratedURLButton::set_displaytext(const std::string& value) {
- _internal_set_displaytext(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HydratedURLButton::set_displaytext(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedURLButton.displayText)
}
inline std::string* HydratedURLButton::mutable_displaytext() {
+ std::string* _s = _internal_mutable_displaytext();
// @@protoc_insertion_point(field_mutable:proto.HydratedURLButton.displayText)
- return _internal_mutable_displaytext();
+ return _s;
}
inline const std::string& HydratedURLButton::_internal_displaytext() const {
return displaytext_.Get();
}
inline void HydratedURLButton::_internal_set_displaytext(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HydratedURLButton::set_displaytext(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- displaytext_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HydratedURLButton.displayText)
-}
-inline void HydratedURLButton::set_displaytext(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HydratedURLButton.displayText)
-}
-inline void HydratedURLButton::set_displaytext(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HydratedURLButton.displayText)
+ displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HydratedURLButton::_internal_mutable_displaytext() {
_has_bits_[0] |= 0x00000001u;
- return displaytext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return displaytext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HydratedURLButton::release_displaytext() {
// @@protoc_insertion_point(field_release:proto.HydratedURLButton.displayText)
@@ -23064,7 +23103,7 @@ inline std::string* HydratedURLButton::release_displaytext() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return displaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return displaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HydratedURLButton::set_allocated_displaytext(std::string* displaytext) {
if (displaytext != nullptr) {
@@ -23073,7 +23112,7 @@ inline void HydratedURLButton::set_allocated_displaytext(std::string* displaytex
_has_bits_[0] &= ~0x00000001u;
}
displaytext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), displaytext,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HydratedURLButton.displayText)
}
@@ -23093,43 +23132,28 @@ inline const std::string& HydratedURLButton::url() const {
// @@protoc_insertion_point(field_get:proto.HydratedURLButton.url)
return _internal_url();
}
-inline void HydratedURLButton::set_url(const std::string& value) {
- _internal_set_url(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HydratedURLButton::set_url(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedURLButton.url)
}
inline std::string* HydratedURLButton::mutable_url() {
+ std::string* _s = _internal_mutable_url();
// @@protoc_insertion_point(field_mutable:proto.HydratedURLButton.url)
- return _internal_mutable_url();
+ return _s;
}
inline const std::string& HydratedURLButton::_internal_url() const {
return url_.Get();
}
inline void HydratedURLButton::_internal_set_url(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HydratedURLButton::set_url(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- url_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HydratedURLButton.url)
-}
-inline void HydratedURLButton::set_url(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HydratedURLButton.url)
-}
-inline void HydratedURLButton::set_url(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HydratedURLButton.url)
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HydratedURLButton::_internal_mutable_url() {
_has_bits_[0] |= 0x00000002u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HydratedURLButton::release_url() {
// @@protoc_insertion_point(field_release:proto.HydratedURLButton.url)
@@ -23137,7 +23161,7 @@ inline std::string* HydratedURLButton::release_url() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HydratedURLButton::set_allocated_url(std::string* url) {
if (url != nullptr) {
@@ -23146,7 +23170,7 @@ inline void HydratedURLButton::set_allocated_url(std::string* url) {
_has_bits_[0] &= ~0x00000002u;
}
url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HydratedURLButton.url)
}
@@ -23170,43 +23194,28 @@ inline const std::string& HydratedCallButton::displaytext() const {
// @@protoc_insertion_point(field_get:proto.HydratedCallButton.displayText)
return _internal_displaytext();
}
-inline void HydratedCallButton::set_displaytext(const std::string& value) {
- _internal_set_displaytext(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HydratedCallButton::set_displaytext(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedCallButton.displayText)
}
inline std::string* HydratedCallButton::mutable_displaytext() {
+ std::string* _s = _internal_mutable_displaytext();
// @@protoc_insertion_point(field_mutable:proto.HydratedCallButton.displayText)
- return _internal_mutable_displaytext();
+ return _s;
}
inline const std::string& HydratedCallButton::_internal_displaytext() const {
return displaytext_.Get();
}
inline void HydratedCallButton::_internal_set_displaytext(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HydratedCallButton::set_displaytext(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- displaytext_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HydratedCallButton.displayText)
-}
-inline void HydratedCallButton::set_displaytext(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HydratedCallButton.displayText)
-}
-inline void HydratedCallButton::set_displaytext(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HydratedCallButton.displayText)
+ displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HydratedCallButton::_internal_mutable_displaytext() {
_has_bits_[0] |= 0x00000001u;
- return displaytext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return displaytext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HydratedCallButton::release_displaytext() {
// @@protoc_insertion_point(field_release:proto.HydratedCallButton.displayText)
@@ -23214,7 +23223,7 @@ inline std::string* HydratedCallButton::release_displaytext() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return displaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return displaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HydratedCallButton::set_allocated_displaytext(std::string* displaytext) {
if (displaytext != nullptr) {
@@ -23223,7 +23232,7 @@ inline void HydratedCallButton::set_allocated_displaytext(std::string* displayte
_has_bits_[0] &= ~0x00000001u;
}
displaytext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), displaytext,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HydratedCallButton.displayText)
}
@@ -23243,43 +23252,28 @@ inline const std::string& HydratedCallButton::phonenumber() const {
// @@protoc_insertion_point(field_get:proto.HydratedCallButton.phoneNumber)
return _internal_phonenumber();
}
-inline void HydratedCallButton::set_phonenumber(const std::string& value) {
- _internal_set_phonenumber(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HydratedCallButton::set_phonenumber(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ phonenumber_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedCallButton.phoneNumber)
}
inline std::string* HydratedCallButton::mutable_phonenumber() {
+ std::string* _s = _internal_mutable_phonenumber();
// @@protoc_insertion_point(field_mutable:proto.HydratedCallButton.phoneNumber)
- return _internal_mutable_phonenumber();
+ return _s;
}
inline const std::string& HydratedCallButton::_internal_phonenumber() const {
return phonenumber_.Get();
}
inline void HydratedCallButton::_internal_set_phonenumber(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- phonenumber_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HydratedCallButton::set_phonenumber(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- phonenumber_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HydratedCallButton.phoneNumber)
-}
-inline void HydratedCallButton::set_phonenumber(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- phonenumber_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HydratedCallButton.phoneNumber)
-}
-inline void HydratedCallButton::set_phonenumber(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- phonenumber_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HydratedCallButton.phoneNumber)
+ phonenumber_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HydratedCallButton::_internal_mutable_phonenumber() {
_has_bits_[0] |= 0x00000002u;
- return phonenumber_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return phonenumber_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HydratedCallButton::release_phonenumber() {
// @@protoc_insertion_point(field_release:proto.HydratedCallButton.phoneNumber)
@@ -23287,7 +23281,7 @@ inline std::string* HydratedCallButton::release_phonenumber() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return phonenumber_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return phonenumber_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HydratedCallButton::set_allocated_phonenumber(std::string* phonenumber) {
if (phonenumber != nullptr) {
@@ -23296,7 +23290,7 @@ inline void HydratedCallButton::set_allocated_phonenumber(std::string* phonenumb
_has_bits_[0] &= ~0x00000002u;
}
phonenumber_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), phonenumber,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HydratedCallButton.phoneNumber)
}
@@ -23344,7 +23338,7 @@ inline void HydratedTemplateButton::set_has_quickreplybutton() {
}
inline void HydratedTemplateButton::clear_quickreplybutton() {
if (_internal_has_quickreplybutton()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete hydratedButton_.quickreplybutton_;
}
clear_has_hydratedButton();
@@ -23355,7 +23349,7 @@ inline ::proto::HydratedQuickReplyButton* HydratedTemplateButton::release_quickr
if (_internal_has_quickreplybutton()) {
clear_has_hydratedButton();
::proto::HydratedQuickReplyButton* temp = hydratedButton_.quickreplybutton_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
hydratedButton_.quickreplybutton_ = nullptr;
@@ -23396,13 +23390,14 @@ inline ::proto::HydratedQuickReplyButton* HydratedTemplateButton::_internal_muta
if (!_internal_has_quickreplybutton()) {
clear_hydratedButton();
set_has_quickreplybutton();
- hydratedButton_.quickreplybutton_ = CreateMaybeMessage< ::proto::HydratedQuickReplyButton >(GetArena());
+ hydratedButton_.quickreplybutton_ = CreateMaybeMessage< ::proto::HydratedQuickReplyButton >(GetArenaForAllocation());
}
return hydratedButton_.quickreplybutton_;
}
inline ::proto::HydratedQuickReplyButton* HydratedTemplateButton::mutable_quickreplybutton() {
+ ::proto::HydratedQuickReplyButton* _msg = _internal_mutable_quickreplybutton();
// @@protoc_insertion_point(field_mutable:proto.HydratedTemplateButton.quickReplyButton)
- return _internal_mutable_quickreplybutton();
+ return _msg;
}
// .proto.HydratedURLButton urlButton = 2;
@@ -23417,7 +23412,7 @@ inline void HydratedTemplateButton::set_has_urlbutton() {
}
inline void HydratedTemplateButton::clear_urlbutton() {
if (_internal_has_urlbutton()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete hydratedButton_.urlbutton_;
}
clear_has_hydratedButton();
@@ -23428,7 +23423,7 @@ inline ::proto::HydratedURLButton* HydratedTemplateButton::release_urlbutton() {
if (_internal_has_urlbutton()) {
clear_has_hydratedButton();
::proto::HydratedURLButton* temp = hydratedButton_.urlbutton_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
hydratedButton_.urlbutton_ = nullptr;
@@ -23469,13 +23464,14 @@ inline ::proto::HydratedURLButton* HydratedTemplateButton::_internal_mutable_url
if (!_internal_has_urlbutton()) {
clear_hydratedButton();
set_has_urlbutton();
- hydratedButton_.urlbutton_ = CreateMaybeMessage< ::proto::HydratedURLButton >(GetArena());
+ hydratedButton_.urlbutton_ = CreateMaybeMessage< ::proto::HydratedURLButton >(GetArenaForAllocation());
}
return hydratedButton_.urlbutton_;
}
inline ::proto::HydratedURLButton* HydratedTemplateButton::mutable_urlbutton() {
+ ::proto::HydratedURLButton* _msg = _internal_mutable_urlbutton();
// @@protoc_insertion_point(field_mutable:proto.HydratedTemplateButton.urlButton)
- return _internal_mutable_urlbutton();
+ return _msg;
}
// .proto.HydratedCallButton callButton = 3;
@@ -23490,7 +23486,7 @@ inline void HydratedTemplateButton::set_has_callbutton() {
}
inline void HydratedTemplateButton::clear_callbutton() {
if (_internal_has_callbutton()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete hydratedButton_.callbutton_;
}
clear_has_hydratedButton();
@@ -23501,7 +23497,7 @@ inline ::proto::HydratedCallButton* HydratedTemplateButton::release_callbutton()
if (_internal_has_callbutton()) {
clear_has_hydratedButton();
::proto::HydratedCallButton* temp = hydratedButton_.callbutton_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
hydratedButton_.callbutton_ = nullptr;
@@ -23542,13 +23538,14 @@ inline ::proto::HydratedCallButton* HydratedTemplateButton::_internal_mutable_ca
if (!_internal_has_callbutton()) {
clear_hydratedButton();
set_has_callbutton();
- hydratedButton_.callbutton_ = CreateMaybeMessage< ::proto::HydratedCallButton >(GetArena());
+ hydratedButton_.callbutton_ = CreateMaybeMessage< ::proto::HydratedCallButton >(GetArenaForAllocation());
}
return hydratedButton_.callbutton_;
}
inline ::proto::HydratedCallButton* HydratedTemplateButton::mutable_callbutton() {
+ ::proto::HydratedCallButton* _msg = _internal_mutable_callbutton();
// @@protoc_insertion_point(field_mutable:proto.HydratedTemplateButton.callButton)
- return _internal_mutable_callbutton();
+ return _msg;
}
inline bool HydratedTemplateButton::has_hydratedButton() const {
@@ -23588,7 +23585,7 @@ inline const ::proto::HighlyStructuredMessage& QuickReplyButton::displaytext() c
}
inline void QuickReplyButton::unsafe_arena_set_allocated_displaytext(
::proto::HighlyStructuredMessage* displaytext) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(displaytext_);
}
displaytext_ = displaytext;
@@ -23603,9 +23600,15 @@ inline ::proto::HighlyStructuredMessage* QuickReplyButton::release_displaytext()
_has_bits_[0] &= ~0x00000002u;
::proto::HighlyStructuredMessage* temp = displaytext_;
displaytext_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::HighlyStructuredMessage* QuickReplyButton::unsafe_arena_release_displaytext() {
@@ -23618,23 +23621,24 @@ inline ::proto::HighlyStructuredMessage* QuickReplyButton::unsafe_arena_release_
inline ::proto::HighlyStructuredMessage* QuickReplyButton::_internal_mutable_displaytext() {
_has_bits_[0] |= 0x00000002u;
if (displaytext_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
displaytext_ = p;
}
return displaytext_;
}
inline ::proto::HighlyStructuredMessage* QuickReplyButton::mutable_displaytext() {
+ ::proto::HighlyStructuredMessage* _msg = _internal_mutable_displaytext();
// @@protoc_insertion_point(field_mutable:proto.QuickReplyButton.displayText)
- return _internal_mutable_displaytext();
+ return _msg;
}
inline void QuickReplyButton::set_allocated_displaytext(::proto::HighlyStructuredMessage* displaytext) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete displaytext_;
}
if (displaytext) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(displaytext);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(displaytext);
if (message_arena != submessage_arena) {
displaytext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, displaytext, submessage_arena);
@@ -23663,43 +23667,28 @@ inline const std::string& QuickReplyButton::id() const {
// @@protoc_insertion_point(field_get:proto.QuickReplyButton.id)
return _internal_id();
}
-inline void QuickReplyButton::set_id(const std::string& value) {
- _internal_set_id(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void QuickReplyButton::set_id(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.QuickReplyButton.id)
}
inline std::string* QuickReplyButton::mutable_id() {
+ std::string* _s = _internal_mutable_id();
// @@protoc_insertion_point(field_mutable:proto.QuickReplyButton.id)
- return _internal_mutable_id();
+ return _s;
}
inline const std::string& QuickReplyButton::_internal_id() const {
return id_.Get();
}
inline void QuickReplyButton::_internal_set_id(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void QuickReplyButton::set_id(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- id_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.QuickReplyButton.id)
-}
-inline void QuickReplyButton::set_id(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.QuickReplyButton.id)
-}
-inline void QuickReplyButton::set_id(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.QuickReplyButton.id)
+ id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* QuickReplyButton::_internal_mutable_id() {
_has_bits_[0] |= 0x00000001u;
- return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* QuickReplyButton::release_id() {
// @@protoc_insertion_point(field_release:proto.QuickReplyButton.id)
@@ -23707,7 +23696,7 @@ inline std::string* QuickReplyButton::release_id() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void QuickReplyButton::set_allocated_id(std::string* id) {
if (id != nullptr) {
@@ -23716,7 +23705,7 @@ inline void QuickReplyButton::set_allocated_id(std::string* id) {
_has_bits_[0] &= ~0x00000001u;
}
id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.QuickReplyButton.id)
}
@@ -23748,7 +23737,7 @@ inline const ::proto::HighlyStructuredMessage& URLButton::displaytext() const {
}
inline void URLButton::unsafe_arena_set_allocated_displaytext(
::proto::HighlyStructuredMessage* displaytext) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(displaytext_);
}
displaytext_ = displaytext;
@@ -23763,9 +23752,15 @@ inline ::proto::HighlyStructuredMessage* URLButton::release_displaytext() {
_has_bits_[0] &= ~0x00000001u;
::proto::HighlyStructuredMessage* temp = displaytext_;
displaytext_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::HighlyStructuredMessage* URLButton::unsafe_arena_release_displaytext() {
@@ -23778,23 +23773,24 @@ inline ::proto::HighlyStructuredMessage* URLButton::unsafe_arena_release_display
inline ::proto::HighlyStructuredMessage* URLButton::_internal_mutable_displaytext() {
_has_bits_[0] |= 0x00000001u;
if (displaytext_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
displaytext_ = p;
}
return displaytext_;
}
inline ::proto::HighlyStructuredMessage* URLButton::mutable_displaytext() {
+ ::proto::HighlyStructuredMessage* _msg = _internal_mutable_displaytext();
// @@protoc_insertion_point(field_mutable:proto.URLButton.displayText)
- return _internal_mutable_displaytext();
+ return _msg;
}
inline void URLButton::set_allocated_displaytext(::proto::HighlyStructuredMessage* displaytext) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete displaytext_;
}
if (displaytext) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(displaytext);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(displaytext);
if (message_arena != submessage_arena) {
displaytext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, displaytext, submessage_arena);
@@ -23831,7 +23827,7 @@ inline const ::proto::HighlyStructuredMessage& URLButton::url() const {
}
inline void URLButton::unsafe_arena_set_allocated_url(
::proto::HighlyStructuredMessage* url) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(url_);
}
url_ = url;
@@ -23846,9 +23842,15 @@ inline ::proto::HighlyStructuredMessage* URLButton::release_url() {
_has_bits_[0] &= ~0x00000002u;
::proto::HighlyStructuredMessage* temp = url_;
url_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::HighlyStructuredMessage* URLButton::unsafe_arena_release_url() {
@@ -23861,23 +23863,24 @@ inline ::proto::HighlyStructuredMessage* URLButton::unsafe_arena_release_url() {
inline ::proto::HighlyStructuredMessage* URLButton::_internal_mutable_url() {
_has_bits_[0] |= 0x00000002u;
if (url_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
url_ = p;
}
return url_;
}
inline ::proto::HighlyStructuredMessage* URLButton::mutable_url() {
+ ::proto::HighlyStructuredMessage* _msg = _internal_mutable_url();
// @@protoc_insertion_point(field_mutable:proto.URLButton.url)
- return _internal_mutable_url();
+ return _msg;
}
inline void URLButton::set_allocated_url(::proto::HighlyStructuredMessage* url) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete url_;
}
if (url) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(url);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(url);
if (message_arena != submessage_arena) {
url = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, url, submessage_arena);
@@ -23918,7 +23921,7 @@ inline const ::proto::HighlyStructuredMessage& CallButton::displaytext() const {
}
inline void CallButton::unsafe_arena_set_allocated_displaytext(
::proto::HighlyStructuredMessage* displaytext) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(displaytext_);
}
displaytext_ = displaytext;
@@ -23933,9 +23936,15 @@ inline ::proto::HighlyStructuredMessage* CallButton::release_displaytext() {
_has_bits_[0] &= ~0x00000001u;
::proto::HighlyStructuredMessage* temp = displaytext_;
displaytext_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::HighlyStructuredMessage* CallButton::unsafe_arena_release_displaytext() {
@@ -23948,23 +23957,24 @@ inline ::proto::HighlyStructuredMessage* CallButton::unsafe_arena_release_displa
inline ::proto::HighlyStructuredMessage* CallButton::_internal_mutable_displaytext() {
_has_bits_[0] |= 0x00000001u;
if (displaytext_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
displaytext_ = p;
}
return displaytext_;
}
inline ::proto::HighlyStructuredMessage* CallButton::mutable_displaytext() {
+ ::proto::HighlyStructuredMessage* _msg = _internal_mutable_displaytext();
// @@protoc_insertion_point(field_mutable:proto.CallButton.displayText)
- return _internal_mutable_displaytext();
+ return _msg;
}
inline void CallButton::set_allocated_displaytext(::proto::HighlyStructuredMessage* displaytext) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete displaytext_;
}
if (displaytext) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(displaytext);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(displaytext);
if (message_arena != submessage_arena) {
displaytext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, displaytext, submessage_arena);
@@ -24001,7 +24011,7 @@ inline const ::proto::HighlyStructuredMessage& CallButton::phonenumber() const {
}
inline void CallButton::unsafe_arena_set_allocated_phonenumber(
::proto::HighlyStructuredMessage* phonenumber) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(phonenumber_);
}
phonenumber_ = phonenumber;
@@ -24016,9 +24026,15 @@ inline ::proto::HighlyStructuredMessage* CallButton::release_phonenumber() {
_has_bits_[0] &= ~0x00000002u;
::proto::HighlyStructuredMessage* temp = phonenumber_;
phonenumber_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::HighlyStructuredMessage* CallButton::unsafe_arena_release_phonenumber() {
@@ -24031,23 +24047,24 @@ inline ::proto::HighlyStructuredMessage* CallButton::unsafe_arena_release_phonen
inline ::proto::HighlyStructuredMessage* CallButton::_internal_mutable_phonenumber() {
_has_bits_[0] |= 0x00000002u;
if (phonenumber_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
phonenumber_ = p;
}
return phonenumber_;
}
inline ::proto::HighlyStructuredMessage* CallButton::mutable_phonenumber() {
+ ::proto::HighlyStructuredMessage* _msg = _internal_mutable_phonenumber();
// @@protoc_insertion_point(field_mutable:proto.CallButton.phoneNumber)
- return _internal_mutable_phonenumber();
+ return _msg;
}
inline void CallButton::set_allocated_phonenumber(::proto::HighlyStructuredMessage* phonenumber) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete phonenumber_;
}
if (phonenumber) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(phonenumber);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(phonenumber);
if (message_arena != submessage_arena) {
phonenumber = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, phonenumber, submessage_arena);
@@ -24104,7 +24121,7 @@ inline void TemplateButton::set_has_quickreplybutton() {
}
inline void TemplateButton::clear_quickreplybutton() {
if (_internal_has_quickreplybutton()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete button_.quickreplybutton_;
}
clear_has_button();
@@ -24115,7 +24132,7 @@ inline ::proto::QuickReplyButton* TemplateButton::release_quickreplybutton() {
if (_internal_has_quickreplybutton()) {
clear_has_button();
::proto::QuickReplyButton* temp = button_.quickreplybutton_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
button_.quickreplybutton_ = nullptr;
@@ -24156,13 +24173,14 @@ inline ::proto::QuickReplyButton* TemplateButton::_internal_mutable_quickreplybu
if (!_internal_has_quickreplybutton()) {
clear_button();
set_has_quickreplybutton();
- button_.quickreplybutton_ = CreateMaybeMessage< ::proto::QuickReplyButton >(GetArena());
+ button_.quickreplybutton_ = CreateMaybeMessage< ::proto::QuickReplyButton >(GetArenaForAllocation());
}
return button_.quickreplybutton_;
}
inline ::proto::QuickReplyButton* TemplateButton::mutable_quickreplybutton() {
+ ::proto::QuickReplyButton* _msg = _internal_mutable_quickreplybutton();
// @@protoc_insertion_point(field_mutable:proto.TemplateButton.quickReplyButton)
- return _internal_mutable_quickreplybutton();
+ return _msg;
}
// .proto.URLButton urlButton = 2;
@@ -24177,7 +24195,7 @@ inline void TemplateButton::set_has_urlbutton() {
}
inline void TemplateButton::clear_urlbutton() {
if (_internal_has_urlbutton()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete button_.urlbutton_;
}
clear_has_button();
@@ -24188,7 +24206,7 @@ inline ::proto::URLButton* TemplateButton::release_urlbutton() {
if (_internal_has_urlbutton()) {
clear_has_button();
::proto::URLButton* temp = button_.urlbutton_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
button_.urlbutton_ = nullptr;
@@ -24229,13 +24247,14 @@ inline ::proto::URLButton* TemplateButton::_internal_mutable_urlbutton() {
if (!_internal_has_urlbutton()) {
clear_button();
set_has_urlbutton();
- button_.urlbutton_ = CreateMaybeMessage< ::proto::URLButton >(GetArena());
+ button_.urlbutton_ = CreateMaybeMessage< ::proto::URLButton >(GetArenaForAllocation());
}
return button_.urlbutton_;
}
inline ::proto::URLButton* TemplateButton::mutable_urlbutton() {
+ ::proto::URLButton* _msg = _internal_mutable_urlbutton();
// @@protoc_insertion_point(field_mutable:proto.TemplateButton.urlButton)
- return _internal_mutable_urlbutton();
+ return _msg;
}
// .proto.CallButton callButton = 3;
@@ -24250,7 +24269,7 @@ inline void TemplateButton::set_has_callbutton() {
}
inline void TemplateButton::clear_callbutton() {
if (_internal_has_callbutton()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete button_.callbutton_;
}
clear_has_button();
@@ -24261,7 +24280,7 @@ inline ::proto::CallButton* TemplateButton::release_callbutton() {
if (_internal_has_callbutton()) {
clear_has_button();
::proto::CallButton* temp = button_.callbutton_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
button_.callbutton_ = nullptr;
@@ -24302,13 +24321,14 @@ inline ::proto::CallButton* TemplateButton::_internal_mutable_callbutton() {
if (!_internal_has_callbutton()) {
clear_button();
set_has_callbutton();
- button_.callbutton_ = CreateMaybeMessage< ::proto::CallButton >(GetArena());
+ button_.callbutton_ = CreateMaybeMessage< ::proto::CallButton >(GetArenaForAllocation());
}
return button_.callbutton_;
}
inline ::proto::CallButton* TemplateButton::mutable_callbutton() {
+ ::proto::CallButton* _msg = _internal_mutable_callbutton();
// @@protoc_insertion_point(field_mutable:proto.TemplateButton.callButton)
- return _internal_mutable_callbutton();
+ return _msg;
}
inline bool TemplateButton::has_button() const {
@@ -24396,43 +24416,28 @@ inline const std::string& Location::name() const {
// @@protoc_insertion_point(field_get:proto.Location.name)
return _internal_name();
}
-inline void Location::set_name(const std::string& value) {
- _internal_set_name(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void Location::set_name(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Location.name)
}
inline std::string* Location::mutable_name() {
+ std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:proto.Location.name)
- return _internal_mutable_name();
+ return _s;
}
inline const std::string& Location::_internal_name() const {
return name_.Get();
}
inline void Location::_internal_set_name(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void Location::set_name(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.Location.name)
-}
-inline void Location::set_name(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.Location.name)
-}
-inline void Location::set_name(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.Location.name)
+ name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* Location::_internal_mutable_name() {
_has_bits_[0] |= 0x00000001u;
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* Location::release_name() {
// @@protoc_insertion_point(field_release:proto.Location.name)
@@ -24440,7 +24445,7 @@ inline std::string* Location::release_name() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void Location::set_allocated_name(std::string* name) {
if (name != nullptr) {
@@ -24449,7 +24454,7 @@ inline void Location::set_allocated_name(std::string* name) {
_has_bits_[0] &= ~0x00000001u;
}
name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.Location.name)
}
@@ -24603,8 +24608,9 @@ inline ::proto::Point* InteractiveAnnotation::_internal_add_polygonvertices() {
return polygonvertices_.Add();
}
inline ::proto::Point* InteractiveAnnotation::add_polygonvertices() {
+ ::proto::Point* _add = _internal_add_polygonvertices();
// @@protoc_insertion_point(field_add:proto.InteractiveAnnotation.polygonVertices)
- return _internal_add_polygonvertices();
+ return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Point >&
InteractiveAnnotation::polygonvertices() const {
@@ -24624,7 +24630,7 @@ inline void InteractiveAnnotation::set_has_location() {
}
inline void InteractiveAnnotation::clear_location() {
if (_internal_has_location()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete action_.location_;
}
clear_has_action();
@@ -24635,7 +24641,7 @@ inline ::proto::Location* InteractiveAnnotation::release_location() {
if (_internal_has_location()) {
clear_has_action();
::proto::Location* temp = action_.location_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
action_.location_ = nullptr;
@@ -24676,13 +24682,14 @@ inline ::proto::Location* InteractiveAnnotation::_internal_mutable_location() {
if (!_internal_has_location()) {
clear_action();
set_has_location();
- action_.location_ = CreateMaybeMessage< ::proto::Location >(GetArena());
+ action_.location_ = CreateMaybeMessage< ::proto::Location >(GetArenaForAllocation());
}
return action_.location_;
}
inline ::proto::Location* InteractiveAnnotation::mutable_location() {
+ ::proto::Location* _msg = _internal_mutable_location();
// @@protoc_insertion_point(field_mutable:proto.InteractiveAnnotation.location)
- return _internal_mutable_location();
+ return _msg;
}
inline bool InteractiveAnnotation::has_action() const {
@@ -24714,43 +24721,28 @@ inline const std::string& DeviceListMetadata::senderkeyhash() const {
// @@protoc_insertion_point(field_get:proto.DeviceListMetadata.senderKeyHash)
return _internal_senderkeyhash();
}
-inline void DeviceListMetadata::set_senderkeyhash(const std::string& value) {
- _internal_set_senderkeyhash(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DeviceListMetadata::set_senderkeyhash(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ senderkeyhash_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DeviceListMetadata.senderKeyHash)
}
inline std::string* DeviceListMetadata::mutable_senderkeyhash() {
+ std::string* _s = _internal_mutable_senderkeyhash();
// @@protoc_insertion_point(field_mutable:proto.DeviceListMetadata.senderKeyHash)
- return _internal_mutable_senderkeyhash();
+ return _s;
}
inline const std::string& DeviceListMetadata::_internal_senderkeyhash() const {
return senderkeyhash_.Get();
}
inline void DeviceListMetadata::_internal_set_senderkeyhash(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- senderkeyhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DeviceListMetadata::set_senderkeyhash(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- senderkeyhash_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DeviceListMetadata.senderKeyHash)
-}
-inline void DeviceListMetadata::set_senderkeyhash(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- senderkeyhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DeviceListMetadata.senderKeyHash)
-}
-inline void DeviceListMetadata::set_senderkeyhash(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- senderkeyhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DeviceListMetadata.senderKeyHash)
+ senderkeyhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DeviceListMetadata::_internal_mutable_senderkeyhash() {
_has_bits_[0] |= 0x00000001u;
- return senderkeyhash_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return senderkeyhash_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DeviceListMetadata::release_senderkeyhash() {
// @@protoc_insertion_point(field_release:proto.DeviceListMetadata.senderKeyHash)
@@ -24758,7 +24750,7 @@ inline std::string* DeviceListMetadata::release_senderkeyhash() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return senderkeyhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return senderkeyhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DeviceListMetadata::set_allocated_senderkeyhash(std::string* senderkeyhash) {
if (senderkeyhash != nullptr) {
@@ -24767,7 +24759,7 @@ inline void DeviceListMetadata::set_allocated_senderkeyhash(std::string* senderk
_has_bits_[0] &= ~0x00000001u;
}
senderkeyhash_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), senderkeyhash,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DeviceListMetadata.senderKeyHash)
}
@@ -24780,7 +24772,7 @@ inline bool DeviceListMetadata::has_sendertimestamp() const {
return _internal_has_sendertimestamp();
}
inline void DeviceListMetadata::clear_sendertimestamp() {
- sendertimestamp_ = PROTOBUF_ULONGLONG(0);
+ sendertimestamp_ = uint64_t{0u};
_has_bits_[0] &= ~0x00000004u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 DeviceListMetadata::_internal_sendertimestamp() const {
@@ -24815,43 +24807,28 @@ inline const std::string& DeviceListMetadata::recipientkeyhash() const {
// @@protoc_insertion_point(field_get:proto.DeviceListMetadata.recipientKeyHash)
return _internal_recipientkeyhash();
}
-inline void DeviceListMetadata::set_recipientkeyhash(const std::string& value) {
- _internal_set_recipientkeyhash(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DeviceListMetadata::set_recipientkeyhash(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ recipientkeyhash_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DeviceListMetadata.recipientKeyHash)
}
inline std::string* DeviceListMetadata::mutable_recipientkeyhash() {
+ std::string* _s = _internal_mutable_recipientkeyhash();
// @@protoc_insertion_point(field_mutable:proto.DeviceListMetadata.recipientKeyHash)
- return _internal_mutable_recipientkeyhash();
+ return _s;
}
inline const std::string& DeviceListMetadata::_internal_recipientkeyhash() const {
return recipientkeyhash_.Get();
}
inline void DeviceListMetadata::_internal_set_recipientkeyhash(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- recipientkeyhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DeviceListMetadata::set_recipientkeyhash(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- recipientkeyhash_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DeviceListMetadata.recipientKeyHash)
-}
-inline void DeviceListMetadata::set_recipientkeyhash(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- recipientkeyhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DeviceListMetadata.recipientKeyHash)
-}
-inline void DeviceListMetadata::set_recipientkeyhash(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- recipientkeyhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DeviceListMetadata.recipientKeyHash)
+ recipientkeyhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DeviceListMetadata::_internal_mutable_recipientkeyhash() {
_has_bits_[0] |= 0x00000002u;
- return recipientkeyhash_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return recipientkeyhash_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DeviceListMetadata::release_recipientkeyhash() {
// @@protoc_insertion_point(field_release:proto.DeviceListMetadata.recipientKeyHash)
@@ -24859,7 +24836,7 @@ inline std::string* DeviceListMetadata::release_recipientkeyhash() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return recipientkeyhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return recipientkeyhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DeviceListMetadata::set_allocated_recipientkeyhash(std::string* recipientkeyhash) {
if (recipientkeyhash != nullptr) {
@@ -24868,7 +24845,7 @@ inline void DeviceListMetadata::set_allocated_recipientkeyhash(std::string* reci
_has_bits_[0] &= ~0x00000002u;
}
recipientkeyhash_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), recipientkeyhash,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DeviceListMetadata.recipientKeyHash)
}
@@ -24881,7 +24858,7 @@ inline bool DeviceListMetadata::has_recipienttimestamp() const {
return _internal_has_recipienttimestamp();
}
inline void DeviceListMetadata::clear_recipienttimestamp() {
- recipienttimestamp_ = PROTOBUF_ULONGLONG(0);
+ recipienttimestamp_ = uint64_t{0u};
_has_bits_[0] &= ~0x00000008u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 DeviceListMetadata::_internal_recipienttimestamp() const {
@@ -24928,7 +24905,7 @@ inline const ::proto::DeviceListMetadata& MessageContextInfo::devicelistmetadata
}
inline void MessageContextInfo::unsafe_arena_set_allocated_devicelistmetadata(
::proto::DeviceListMetadata* devicelistmetadata) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(devicelistmetadata_);
}
devicelistmetadata_ = devicelistmetadata;
@@ -24943,9 +24920,15 @@ inline ::proto::DeviceListMetadata* MessageContextInfo::release_devicelistmetada
_has_bits_[0] &= ~0x00000001u;
::proto::DeviceListMetadata* temp = devicelistmetadata_;
devicelistmetadata_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::DeviceListMetadata* MessageContextInfo::unsafe_arena_release_devicelistmetadata() {
@@ -24958,23 +24941,24 @@ inline ::proto::DeviceListMetadata* MessageContextInfo::unsafe_arena_release_dev
inline ::proto::DeviceListMetadata* MessageContextInfo::_internal_mutable_devicelistmetadata() {
_has_bits_[0] |= 0x00000001u;
if (devicelistmetadata_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::DeviceListMetadata>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::DeviceListMetadata>(GetArenaForAllocation());
devicelistmetadata_ = p;
}
return devicelistmetadata_;
}
inline ::proto::DeviceListMetadata* MessageContextInfo::mutable_devicelistmetadata() {
+ ::proto::DeviceListMetadata* _msg = _internal_mutable_devicelistmetadata();
// @@protoc_insertion_point(field_mutable:proto.MessageContextInfo.deviceListMetadata)
- return _internal_mutable_devicelistmetadata();
+ return _msg;
}
inline void MessageContextInfo::set_allocated_devicelistmetadata(::proto::DeviceListMetadata* devicelistmetadata) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete devicelistmetadata_;
}
if (devicelistmetadata) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(devicelistmetadata);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::DeviceListMetadata>::GetOwningArena(devicelistmetadata);
if (message_arena != submessage_arena) {
devicelistmetadata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, devicelistmetadata, submessage_arena);
@@ -25007,43 +24991,28 @@ inline const std::string& AdReplyInfo::advertisername() const {
// @@protoc_insertion_point(field_get:proto.AdReplyInfo.advertiserName)
return _internal_advertisername();
}
-inline void AdReplyInfo::set_advertisername(const std::string& value) {
- _internal_set_advertisername(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void AdReplyInfo::set_advertisername(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ advertisername_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AdReplyInfo.advertiserName)
}
inline std::string* AdReplyInfo::mutable_advertisername() {
+ std::string* _s = _internal_mutable_advertisername();
// @@protoc_insertion_point(field_mutable:proto.AdReplyInfo.advertiserName)
- return _internal_mutable_advertisername();
+ return _s;
}
inline const std::string& AdReplyInfo::_internal_advertisername() const {
return advertisername_.Get();
}
inline void AdReplyInfo::_internal_set_advertisername(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- advertisername_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void AdReplyInfo::set_advertisername(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- advertisername_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.AdReplyInfo.advertiserName)
-}
-inline void AdReplyInfo::set_advertisername(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- advertisername_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.AdReplyInfo.advertiserName)
-}
-inline void AdReplyInfo::set_advertisername(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- advertisername_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.AdReplyInfo.advertiserName)
+ advertisername_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AdReplyInfo::_internal_mutable_advertisername() {
_has_bits_[0] |= 0x00000001u;
- return advertisername_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return advertisername_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AdReplyInfo::release_advertisername() {
// @@protoc_insertion_point(field_release:proto.AdReplyInfo.advertiserName)
@@ -25051,7 +25020,7 @@ inline std::string* AdReplyInfo::release_advertisername() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return advertisername_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return advertisername_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AdReplyInfo::set_allocated_advertisername(std::string* advertisername) {
if (advertisername != nullptr) {
@@ -25060,7 +25029,7 @@ inline void AdReplyInfo::set_allocated_advertisername(std::string* advertisernam
_has_bits_[0] &= ~0x00000001u;
}
advertisername_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), advertisername,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.AdReplyInfo.advertiserName)
}
@@ -25109,43 +25078,28 @@ inline const std::string& AdReplyInfo::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.AdReplyInfo.jpegThumbnail)
return _internal_jpegthumbnail();
}
-inline void AdReplyInfo::set_jpegthumbnail(const std::string& value) {
- _internal_set_jpegthumbnail(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void AdReplyInfo::set_jpegthumbnail(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ jpegthumbnail_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AdReplyInfo.jpegThumbnail)
}
inline std::string* AdReplyInfo::mutable_jpegthumbnail() {
+ std::string* _s = _internal_mutable_jpegthumbnail();
// @@protoc_insertion_point(field_mutable:proto.AdReplyInfo.jpegThumbnail)
- return _internal_mutable_jpegthumbnail();
+ return _s;
}
inline const std::string& AdReplyInfo::_internal_jpegthumbnail() const {
return jpegthumbnail_.Get();
}
inline void AdReplyInfo::_internal_set_jpegthumbnail(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void AdReplyInfo::set_jpegthumbnail(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- jpegthumbnail_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.AdReplyInfo.jpegThumbnail)
-}
-inline void AdReplyInfo::set_jpegthumbnail(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.AdReplyInfo.jpegThumbnail)
-}
-inline void AdReplyInfo::set_jpegthumbnail(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.AdReplyInfo.jpegThumbnail)
+ jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AdReplyInfo::_internal_mutable_jpegthumbnail() {
_has_bits_[0] |= 0x00000002u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AdReplyInfo::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.AdReplyInfo.jpegThumbnail)
@@ -25153,7 +25107,7 @@ inline std::string* AdReplyInfo::release_jpegthumbnail() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AdReplyInfo::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
@@ -25162,7 +25116,7 @@ inline void AdReplyInfo::set_allocated_jpegthumbnail(std::string* jpegthumbnail)
_has_bits_[0] &= ~0x00000002u;
}
jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.AdReplyInfo.jpegThumbnail)
}
@@ -25182,43 +25136,28 @@ inline const std::string& AdReplyInfo::caption() const {
// @@protoc_insertion_point(field_get:proto.AdReplyInfo.caption)
return _internal_caption();
}
-inline void AdReplyInfo::set_caption(const std::string& value) {
- _internal_set_caption(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void AdReplyInfo::set_caption(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AdReplyInfo.caption)
}
inline std::string* AdReplyInfo::mutable_caption() {
+ std::string* _s = _internal_mutable_caption();
// @@protoc_insertion_point(field_mutable:proto.AdReplyInfo.caption)
- return _internal_mutable_caption();
+ return _s;
}
inline const std::string& AdReplyInfo::_internal_caption() const {
return caption_.Get();
}
inline void AdReplyInfo::_internal_set_caption(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void AdReplyInfo::set_caption(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- caption_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.AdReplyInfo.caption)
-}
-inline void AdReplyInfo::set_caption(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.AdReplyInfo.caption)
-}
-inline void AdReplyInfo::set_caption(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.AdReplyInfo.caption)
+ caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AdReplyInfo::_internal_mutable_caption() {
_has_bits_[0] |= 0x00000004u;
- return caption_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return caption_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AdReplyInfo::release_caption() {
// @@protoc_insertion_point(field_release:proto.AdReplyInfo.caption)
@@ -25226,7 +25165,7 @@ inline std::string* AdReplyInfo::release_caption() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return caption_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return caption_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AdReplyInfo::set_allocated_caption(std::string* caption) {
if (caption != nullptr) {
@@ -25235,7 +25174,7 @@ inline void AdReplyInfo::set_allocated_caption(std::string* caption) {
_has_bits_[0] &= ~0x00000004u;
}
caption_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), caption,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.AdReplyInfo.caption)
}
@@ -25259,43 +25198,28 @@ inline const std::string& ExternalAdReplyInfo::title() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.title)
return _internal_title();
}
-inline void ExternalAdReplyInfo::set_title(const std::string& value) {
- _internal_set_title(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ExternalAdReplyInfo::set_title(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.title)
}
inline std::string* ExternalAdReplyInfo::mutable_title() {
+ std::string* _s = _internal_mutable_title();
// @@protoc_insertion_point(field_mutable:proto.ExternalAdReplyInfo.title)
- return _internal_mutable_title();
+ return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_title() const {
return title_.Get();
}
inline void ExternalAdReplyInfo::_internal_set_title(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ExternalAdReplyInfo::set_title(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- title_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ExternalAdReplyInfo.title)
-}
-inline void ExternalAdReplyInfo::set_title(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ExternalAdReplyInfo.title)
-}
-inline void ExternalAdReplyInfo::set_title(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ExternalAdReplyInfo.title)
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_title() {
_has_bits_[0] |= 0x00000001u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_title() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.title)
@@ -25303,7 +25227,7 @@ inline std::string* ExternalAdReplyInfo::release_title() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ExternalAdReplyInfo::set_allocated_title(std::string* title) {
if (title != nullptr) {
@@ -25312,7 +25236,7 @@ inline void ExternalAdReplyInfo::set_allocated_title(std::string* title) {
_has_bits_[0] &= ~0x00000001u;
}
title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.title)
}
@@ -25332,43 +25256,28 @@ inline const std::string& ExternalAdReplyInfo::body() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.body)
return _internal_body();
}
-inline void ExternalAdReplyInfo::set_body(const std::string& value) {
- _internal_set_body(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ExternalAdReplyInfo::set_body(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ body_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.body)
}
inline std::string* ExternalAdReplyInfo::mutable_body() {
+ std::string* _s = _internal_mutable_body();
// @@protoc_insertion_point(field_mutable:proto.ExternalAdReplyInfo.body)
- return _internal_mutable_body();
+ return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_body() const {
return body_.Get();
}
inline void ExternalAdReplyInfo::_internal_set_body(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- body_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ExternalAdReplyInfo::set_body(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- body_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ExternalAdReplyInfo.body)
-}
-inline void ExternalAdReplyInfo::set_body(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- body_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ExternalAdReplyInfo.body)
-}
-inline void ExternalAdReplyInfo::set_body(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- body_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ExternalAdReplyInfo.body)
+ body_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_body() {
_has_bits_[0] |= 0x00000002u;
- return body_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return body_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_body() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.body)
@@ -25376,7 +25285,7 @@ inline std::string* ExternalAdReplyInfo::release_body() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return body_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return body_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ExternalAdReplyInfo::set_allocated_body(std::string* body) {
if (body != nullptr) {
@@ -25385,7 +25294,7 @@ inline void ExternalAdReplyInfo::set_allocated_body(std::string* body) {
_has_bits_[0] &= ~0x00000002u;
}
body_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), body,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.body)
}
@@ -25434,43 +25343,28 @@ inline const std::string& ExternalAdReplyInfo::thumbnailurl() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.thumbnailUrl)
return _internal_thumbnailurl();
}
-inline void ExternalAdReplyInfo::set_thumbnailurl(const std::string& value) {
- _internal_set_thumbnailurl(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ExternalAdReplyInfo::set_thumbnailurl(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ thumbnailurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.thumbnailUrl)
}
inline std::string* ExternalAdReplyInfo::mutable_thumbnailurl() {
+ std::string* _s = _internal_mutable_thumbnailurl();
// @@protoc_insertion_point(field_mutable:proto.ExternalAdReplyInfo.thumbnailUrl)
- return _internal_mutable_thumbnailurl();
+ return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_thumbnailurl() const {
return thumbnailurl_.Get();
}
inline void ExternalAdReplyInfo::_internal_set_thumbnailurl(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- thumbnailurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ExternalAdReplyInfo::set_thumbnailurl(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- thumbnailurl_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ExternalAdReplyInfo.thumbnailUrl)
-}
-inline void ExternalAdReplyInfo::set_thumbnailurl(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- thumbnailurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ExternalAdReplyInfo.thumbnailUrl)
-}
-inline void ExternalAdReplyInfo::set_thumbnailurl(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- thumbnailurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ExternalAdReplyInfo.thumbnailUrl)
+ thumbnailurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_thumbnailurl() {
_has_bits_[0] |= 0x00000004u;
- return thumbnailurl_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return thumbnailurl_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_thumbnailurl() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.thumbnailUrl)
@@ -25478,7 +25372,7 @@ inline std::string* ExternalAdReplyInfo::release_thumbnailurl() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return thumbnailurl_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return thumbnailurl_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ExternalAdReplyInfo::set_allocated_thumbnailurl(std::string* thumbnailurl) {
if (thumbnailurl != nullptr) {
@@ -25487,7 +25381,7 @@ inline void ExternalAdReplyInfo::set_allocated_thumbnailurl(std::string* thumbna
_has_bits_[0] &= ~0x00000004u;
}
thumbnailurl_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnailurl,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.thumbnailUrl)
}
@@ -25507,43 +25401,28 @@ inline const std::string& ExternalAdReplyInfo::mediaurl() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.mediaUrl)
return _internal_mediaurl();
}
-inline void ExternalAdReplyInfo::set_mediaurl(const std::string& value) {
- _internal_set_mediaurl(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ExternalAdReplyInfo::set_mediaurl(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ mediaurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.mediaUrl)
}
inline std::string* ExternalAdReplyInfo::mutable_mediaurl() {
+ std::string* _s = _internal_mutable_mediaurl();
// @@protoc_insertion_point(field_mutable:proto.ExternalAdReplyInfo.mediaUrl)
- return _internal_mutable_mediaurl();
+ return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_mediaurl() const {
return mediaurl_.Get();
}
inline void ExternalAdReplyInfo::_internal_set_mediaurl(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- mediaurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ExternalAdReplyInfo::set_mediaurl(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- mediaurl_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ExternalAdReplyInfo.mediaUrl)
-}
-inline void ExternalAdReplyInfo::set_mediaurl(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- mediaurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ExternalAdReplyInfo.mediaUrl)
-}
-inline void ExternalAdReplyInfo::set_mediaurl(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- mediaurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ExternalAdReplyInfo.mediaUrl)
+ mediaurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_mediaurl() {
_has_bits_[0] |= 0x00000008u;
- return mediaurl_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return mediaurl_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_mediaurl() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.mediaUrl)
@@ -25551,7 +25430,7 @@ inline std::string* ExternalAdReplyInfo::release_mediaurl() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return mediaurl_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return mediaurl_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ExternalAdReplyInfo::set_allocated_mediaurl(std::string* mediaurl) {
if (mediaurl != nullptr) {
@@ -25560,7 +25439,7 @@ inline void ExternalAdReplyInfo::set_allocated_mediaurl(std::string* mediaurl) {
_has_bits_[0] &= ~0x00000008u;
}
mediaurl_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediaurl,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.mediaUrl)
}
@@ -25580,43 +25459,28 @@ inline const std::string& ExternalAdReplyInfo::thumbnail() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.thumbnail)
return _internal_thumbnail();
}
-inline void ExternalAdReplyInfo::set_thumbnail(const std::string& value) {
- _internal_set_thumbnail(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ExternalAdReplyInfo::set_thumbnail(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000010u;
+ thumbnail_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.thumbnail)
}
inline std::string* ExternalAdReplyInfo::mutable_thumbnail() {
+ std::string* _s = _internal_mutable_thumbnail();
// @@protoc_insertion_point(field_mutable:proto.ExternalAdReplyInfo.thumbnail)
- return _internal_mutable_thumbnail();
+ return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_thumbnail() const {
return thumbnail_.Get();
}
inline void ExternalAdReplyInfo::_internal_set_thumbnail(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
- thumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ExternalAdReplyInfo::set_thumbnail(std::string&& value) {
- _has_bits_[0] |= 0x00000010u;
- thumbnail_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ExternalAdReplyInfo.thumbnail)
-}
-inline void ExternalAdReplyInfo::set_thumbnail(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000010u;
- thumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ExternalAdReplyInfo.thumbnail)
-}
-inline void ExternalAdReplyInfo::set_thumbnail(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000010u;
- thumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ExternalAdReplyInfo.thumbnail)
+ thumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_thumbnail() {
_has_bits_[0] |= 0x00000010u;
- return thumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return thumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_thumbnail() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.thumbnail)
@@ -25624,7 +25488,7 @@ inline std::string* ExternalAdReplyInfo::release_thumbnail() {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
- return thumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return thumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ExternalAdReplyInfo::set_allocated_thumbnail(std::string* thumbnail) {
if (thumbnail != nullptr) {
@@ -25633,7 +25497,7 @@ inline void ExternalAdReplyInfo::set_allocated_thumbnail(std::string* thumbnail)
_has_bits_[0] &= ~0x00000010u;
}
thumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnail,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.thumbnail)
}
@@ -25653,43 +25517,28 @@ inline const std::string& ExternalAdReplyInfo::sourcetype() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.sourceType)
return _internal_sourcetype();
}
-inline void ExternalAdReplyInfo::set_sourcetype(const std::string& value) {
- _internal_set_sourcetype(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ExternalAdReplyInfo::set_sourcetype(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000020u;
+ sourcetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.sourceType)
}
inline std::string* ExternalAdReplyInfo::mutable_sourcetype() {
+ std::string* _s = _internal_mutable_sourcetype();
// @@protoc_insertion_point(field_mutable:proto.ExternalAdReplyInfo.sourceType)
- return _internal_mutable_sourcetype();
+ return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_sourcetype() const {
return sourcetype_.Get();
}
inline void ExternalAdReplyInfo::_internal_set_sourcetype(const std::string& value) {
_has_bits_[0] |= 0x00000020u;
- sourcetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ExternalAdReplyInfo::set_sourcetype(std::string&& value) {
- _has_bits_[0] |= 0x00000020u;
- sourcetype_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ExternalAdReplyInfo.sourceType)
-}
-inline void ExternalAdReplyInfo::set_sourcetype(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000020u;
- sourcetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ExternalAdReplyInfo.sourceType)
-}
-inline void ExternalAdReplyInfo::set_sourcetype(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000020u;
- sourcetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ExternalAdReplyInfo.sourceType)
+ sourcetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_sourcetype() {
_has_bits_[0] |= 0x00000020u;
- return sourcetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return sourcetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_sourcetype() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.sourceType)
@@ -25697,7 +25546,7 @@ inline std::string* ExternalAdReplyInfo::release_sourcetype() {
return nullptr;
}
_has_bits_[0] &= ~0x00000020u;
- return sourcetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return sourcetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ExternalAdReplyInfo::set_allocated_sourcetype(std::string* sourcetype) {
if (sourcetype != nullptr) {
@@ -25706,7 +25555,7 @@ inline void ExternalAdReplyInfo::set_allocated_sourcetype(std::string* sourcetyp
_has_bits_[0] &= ~0x00000020u;
}
sourcetype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sourcetype,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.sourceType)
}
@@ -25726,43 +25575,28 @@ inline const std::string& ExternalAdReplyInfo::sourceid() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.sourceId)
return _internal_sourceid();
}
-inline void ExternalAdReplyInfo::set_sourceid(const std::string& value) {
- _internal_set_sourceid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ExternalAdReplyInfo::set_sourceid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000040u;
+ sourceid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.sourceId)
}
inline std::string* ExternalAdReplyInfo::mutable_sourceid() {
+ std::string* _s = _internal_mutable_sourceid();
// @@protoc_insertion_point(field_mutable:proto.ExternalAdReplyInfo.sourceId)
- return _internal_mutable_sourceid();
+ return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_sourceid() const {
return sourceid_.Get();
}
inline void ExternalAdReplyInfo::_internal_set_sourceid(const std::string& value) {
_has_bits_[0] |= 0x00000040u;
- sourceid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ExternalAdReplyInfo::set_sourceid(std::string&& value) {
- _has_bits_[0] |= 0x00000040u;
- sourceid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ExternalAdReplyInfo.sourceId)
-}
-inline void ExternalAdReplyInfo::set_sourceid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000040u;
- sourceid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ExternalAdReplyInfo.sourceId)
-}
-inline void ExternalAdReplyInfo::set_sourceid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000040u;
- sourceid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ExternalAdReplyInfo.sourceId)
+ sourceid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_sourceid() {
_has_bits_[0] |= 0x00000040u;
- return sourceid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return sourceid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_sourceid() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.sourceId)
@@ -25770,7 +25604,7 @@ inline std::string* ExternalAdReplyInfo::release_sourceid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000040u;
- return sourceid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return sourceid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ExternalAdReplyInfo::set_allocated_sourceid(std::string* sourceid) {
if (sourceid != nullptr) {
@@ -25779,7 +25613,7 @@ inline void ExternalAdReplyInfo::set_allocated_sourceid(std::string* sourceid) {
_has_bits_[0] &= ~0x00000040u;
}
sourceid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sourceid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.sourceId)
}
@@ -25799,43 +25633,28 @@ inline const std::string& ExternalAdReplyInfo::sourceurl() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.sourceUrl)
return _internal_sourceurl();
}
-inline void ExternalAdReplyInfo::set_sourceurl(const std::string& value) {
- _internal_set_sourceurl(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ExternalAdReplyInfo::set_sourceurl(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000080u;
+ sourceurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.sourceUrl)
}
inline std::string* ExternalAdReplyInfo::mutable_sourceurl() {
+ std::string* _s = _internal_mutable_sourceurl();
// @@protoc_insertion_point(field_mutable:proto.ExternalAdReplyInfo.sourceUrl)
- return _internal_mutable_sourceurl();
+ return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_sourceurl() const {
return sourceurl_.Get();
}
inline void ExternalAdReplyInfo::_internal_set_sourceurl(const std::string& value) {
_has_bits_[0] |= 0x00000080u;
- sourceurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ExternalAdReplyInfo::set_sourceurl(std::string&& value) {
- _has_bits_[0] |= 0x00000080u;
- sourceurl_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ExternalAdReplyInfo.sourceUrl)
-}
-inline void ExternalAdReplyInfo::set_sourceurl(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000080u;
- sourceurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ExternalAdReplyInfo.sourceUrl)
-}
-inline void ExternalAdReplyInfo::set_sourceurl(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000080u;
- sourceurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ExternalAdReplyInfo.sourceUrl)
+ sourceurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_sourceurl() {
_has_bits_[0] |= 0x00000080u;
- return sourceurl_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return sourceurl_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_sourceurl() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.sourceUrl)
@@ -25843,7 +25662,7 @@ inline std::string* ExternalAdReplyInfo::release_sourceurl() {
return nullptr;
}
_has_bits_[0] &= ~0x00000080u;
- return sourceurl_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return sourceurl_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ExternalAdReplyInfo::set_allocated_sourceurl(std::string* sourceurl) {
if (sourceurl != nullptr) {
@@ -25852,7 +25671,7 @@ inline void ExternalAdReplyInfo::set_allocated_sourceurl(std::string* sourceurl)
_has_bits_[0] &= ~0x00000080u;
}
sourceurl_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sourceurl,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.sourceUrl)
}
@@ -25876,43 +25695,28 @@ inline const std::string& ContextInfo::stanzaid() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.stanzaId)
return _internal_stanzaid();
}
-inline void ContextInfo::set_stanzaid(const std::string& value) {
- _internal_set_stanzaid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ContextInfo::set_stanzaid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ stanzaid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContextInfo.stanzaId)
}
inline std::string* ContextInfo::mutable_stanzaid() {
+ std::string* _s = _internal_mutable_stanzaid();
// @@protoc_insertion_point(field_mutable:proto.ContextInfo.stanzaId)
- return _internal_mutable_stanzaid();
+ return _s;
}
inline const std::string& ContextInfo::_internal_stanzaid() const {
return stanzaid_.Get();
}
inline void ContextInfo::_internal_set_stanzaid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- stanzaid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ContextInfo::set_stanzaid(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- stanzaid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ContextInfo.stanzaId)
-}
-inline void ContextInfo::set_stanzaid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- stanzaid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ContextInfo.stanzaId)
-}
-inline void ContextInfo::set_stanzaid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- stanzaid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ContextInfo.stanzaId)
+ stanzaid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ContextInfo::_internal_mutable_stanzaid() {
_has_bits_[0] |= 0x00000001u;
- return stanzaid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return stanzaid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ContextInfo::release_stanzaid() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.stanzaId)
@@ -25920,7 +25724,7 @@ inline std::string* ContextInfo::release_stanzaid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return stanzaid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return stanzaid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ContextInfo::set_allocated_stanzaid(std::string* stanzaid) {
if (stanzaid != nullptr) {
@@ -25929,7 +25733,7 @@ inline void ContextInfo::set_allocated_stanzaid(std::string* stanzaid) {
_has_bits_[0] &= ~0x00000001u;
}
stanzaid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stanzaid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.stanzaId)
}
@@ -25949,43 +25753,28 @@ inline const std::string& ContextInfo::participant() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.participant)
return _internal_participant();
}
-inline void ContextInfo::set_participant(const std::string& value) {
- _internal_set_participant(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ContextInfo::set_participant(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContextInfo.participant)
}
inline std::string* ContextInfo::mutable_participant() {
+ std::string* _s = _internal_mutable_participant();
// @@protoc_insertion_point(field_mutable:proto.ContextInfo.participant)
- return _internal_mutable_participant();
+ return _s;
}
inline const std::string& ContextInfo::_internal_participant() const {
return participant_.Get();
}
inline void ContextInfo::_internal_set_participant(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ContextInfo::set_participant(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- participant_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ContextInfo.participant)
-}
-inline void ContextInfo::set_participant(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ContextInfo.participant)
-}
-inline void ContextInfo::set_participant(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ContextInfo.participant)
+ participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ContextInfo::_internal_mutable_participant() {
_has_bits_[0] |= 0x00000002u;
- return participant_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return participant_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ContextInfo::release_participant() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.participant)
@@ -25993,7 +25782,7 @@ inline std::string* ContextInfo::release_participant() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return participant_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return participant_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ContextInfo::set_allocated_participant(std::string* participant) {
if (participant != nullptr) {
@@ -26002,7 +25791,7 @@ inline void ContextInfo::set_allocated_participant(std::string* participant) {
_has_bits_[0] &= ~0x00000002u;
}
participant_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), participant,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.participant)
}
@@ -26030,7 +25819,7 @@ inline const ::proto::Message& ContextInfo::quotedmessage() const {
}
inline void ContextInfo::unsafe_arena_set_allocated_quotedmessage(
::proto::Message* quotedmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quotedmessage_);
}
quotedmessage_ = quotedmessage;
@@ -26045,9 +25834,15 @@ inline ::proto::Message* ContextInfo::release_quotedmessage() {
_has_bits_[0] &= ~0x00000040u;
::proto::Message* temp = quotedmessage_;
quotedmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::Message* ContextInfo::unsafe_arena_release_quotedmessage() {
@@ -26060,23 +25855,24 @@ inline ::proto::Message* ContextInfo::unsafe_arena_release_quotedmessage() {
inline ::proto::Message* ContextInfo::_internal_mutable_quotedmessage() {
_has_bits_[0] |= 0x00000040u;
if (quotedmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::Message>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::Message>(GetArenaForAllocation());
quotedmessage_ = p;
}
return quotedmessage_;
}
inline ::proto::Message* ContextInfo::mutable_quotedmessage() {
+ ::proto::Message* _msg = _internal_mutable_quotedmessage();
// @@protoc_insertion_point(field_mutable:proto.ContextInfo.quotedMessage)
- return _internal_mutable_quotedmessage();
+ return _msg;
}
inline void ContextInfo::set_allocated_quotedmessage(::proto::Message* quotedmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete quotedmessage_;
}
if (quotedmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(quotedmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Message>::GetOwningArena(quotedmessage);
if (message_arena != submessage_arena) {
quotedmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, quotedmessage, submessage_arena);
@@ -26105,43 +25901,28 @@ inline const std::string& ContextInfo::remotejid() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.remoteJid)
return _internal_remotejid();
}
-inline void ContextInfo::set_remotejid(const std::string& value) {
- _internal_set_remotejid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ContextInfo::set_remotejid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ remotejid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContextInfo.remoteJid)
}
inline std::string* ContextInfo::mutable_remotejid() {
+ std::string* _s = _internal_mutable_remotejid();
// @@protoc_insertion_point(field_mutable:proto.ContextInfo.remoteJid)
- return _internal_mutable_remotejid();
+ return _s;
}
inline const std::string& ContextInfo::_internal_remotejid() const {
return remotejid_.Get();
}
inline void ContextInfo::_internal_set_remotejid(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- remotejid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ContextInfo::set_remotejid(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- remotejid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ContextInfo.remoteJid)
-}
-inline void ContextInfo::set_remotejid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- remotejid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ContextInfo.remoteJid)
-}
-inline void ContextInfo::set_remotejid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- remotejid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ContextInfo.remoteJid)
+ remotejid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ContextInfo::_internal_mutable_remotejid() {
_has_bits_[0] |= 0x00000004u;
- return remotejid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return remotejid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ContextInfo::release_remotejid() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.remoteJid)
@@ -26149,7 +25930,7 @@ inline std::string* ContextInfo::release_remotejid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return remotejid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return remotejid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ContextInfo::set_allocated_remotejid(std::string* remotejid) {
if (remotejid != nullptr) {
@@ -26158,7 +25939,7 @@ inline void ContextInfo::set_allocated_remotejid(std::string* remotejid) {
_has_bits_[0] &= ~0x00000004u;
}
remotejid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), remotejid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.remoteJid)
}
@@ -26173,8 +25954,9 @@ inline void ContextInfo::clear_mentionedjid() {
mentionedjid_.Clear();
}
inline std::string* ContextInfo::add_mentionedjid() {
+ std::string* _s = _internal_add_mentionedjid();
// @@protoc_insertion_point(field_add_mutable:proto.ContextInfo.mentionedJid)
- return _internal_add_mentionedjid();
+ return _s;
}
inline const std::string& ContextInfo::_internal_mentionedjid(int index) const {
return mentionedjid_.Get(index);
@@ -26188,12 +25970,12 @@ inline std::string* ContextInfo::mutable_mentionedjid(int index) {
return mentionedjid_.Mutable(index);
}
inline void ContextInfo::set_mentionedjid(int index, const std::string& value) {
- // @@protoc_insertion_point(field_set:proto.ContextInfo.mentionedJid)
mentionedjid_.Mutable(index)->assign(value);
+ // @@protoc_insertion_point(field_set:proto.ContextInfo.mentionedJid)
}
inline void ContextInfo::set_mentionedjid(int index, std::string&& value) {
- // @@protoc_insertion_point(field_set:proto.ContextInfo.mentionedJid)
mentionedjid_.Mutable(index)->assign(std::move(value));
+ // @@protoc_insertion_point(field_set:proto.ContextInfo.mentionedJid)
}
inline void ContextInfo::set_mentionedjid(int index, const char* value) {
GOOGLE_DCHECK(value != nullptr);
@@ -26252,43 +26034,28 @@ inline const std::string& ContextInfo::conversionsource() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.conversionSource)
return _internal_conversionsource();
}
-inline void ContextInfo::set_conversionsource(const std::string& value) {
- _internal_set_conversionsource(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ContextInfo::set_conversionsource(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ conversionsource_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContextInfo.conversionSource)
}
inline std::string* ContextInfo::mutable_conversionsource() {
+ std::string* _s = _internal_mutable_conversionsource();
// @@protoc_insertion_point(field_mutable:proto.ContextInfo.conversionSource)
- return _internal_mutable_conversionsource();
+ return _s;
}
inline const std::string& ContextInfo::_internal_conversionsource() const {
return conversionsource_.Get();
}
inline void ContextInfo::_internal_set_conversionsource(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- conversionsource_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ContextInfo::set_conversionsource(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- conversionsource_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ContextInfo.conversionSource)
-}
-inline void ContextInfo::set_conversionsource(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- conversionsource_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ContextInfo.conversionSource)
-}
-inline void ContextInfo::set_conversionsource(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- conversionsource_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ContextInfo.conversionSource)
+ conversionsource_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ContextInfo::_internal_mutable_conversionsource() {
_has_bits_[0] |= 0x00000008u;
- return conversionsource_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return conversionsource_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ContextInfo::release_conversionsource() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.conversionSource)
@@ -26296,7 +26063,7 @@ inline std::string* ContextInfo::release_conversionsource() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return conversionsource_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return conversionsource_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ContextInfo::set_allocated_conversionsource(std::string* conversionsource) {
if (conversionsource != nullptr) {
@@ -26305,7 +26072,7 @@ inline void ContextInfo::set_allocated_conversionsource(std::string* conversions
_has_bits_[0] &= ~0x00000008u;
}
conversionsource_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), conversionsource,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.conversionSource)
}
@@ -26325,43 +26092,28 @@ inline const std::string& ContextInfo::conversiondata() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.conversionData)
return _internal_conversiondata();
}
-inline void ContextInfo::set_conversiondata(const std::string& value) {
- _internal_set_conversiondata(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ContextInfo::set_conversiondata(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000010u;
+ conversiondata_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContextInfo.conversionData)
}
inline std::string* ContextInfo::mutable_conversiondata() {
+ std::string* _s = _internal_mutable_conversiondata();
// @@protoc_insertion_point(field_mutable:proto.ContextInfo.conversionData)
- return _internal_mutable_conversiondata();
+ return _s;
}
inline const std::string& ContextInfo::_internal_conversiondata() const {
return conversiondata_.Get();
}
inline void ContextInfo::_internal_set_conversiondata(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
- conversiondata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ContextInfo::set_conversiondata(std::string&& value) {
- _has_bits_[0] |= 0x00000010u;
- conversiondata_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ContextInfo.conversionData)
-}
-inline void ContextInfo::set_conversiondata(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000010u;
- conversiondata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ContextInfo.conversionData)
-}
-inline void ContextInfo::set_conversiondata(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000010u;
- conversiondata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ContextInfo.conversionData)
+ conversiondata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ContextInfo::_internal_mutable_conversiondata() {
_has_bits_[0] |= 0x00000010u;
- return conversiondata_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return conversiondata_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ContextInfo::release_conversiondata() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.conversionData)
@@ -26369,7 +26121,7 @@ inline std::string* ContextInfo::release_conversiondata() {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
- return conversiondata_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return conversiondata_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ContextInfo::set_allocated_conversiondata(std::string* conversiondata) {
if (conversiondata != nullptr) {
@@ -26378,7 +26130,7 @@ inline void ContextInfo::set_allocated_conversiondata(std::string* conversiondat
_has_bits_[0] &= ~0x00000010u;
}
conversiondata_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), conversiondata,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.conversionData)
}
@@ -26490,7 +26242,7 @@ inline const ::proto::AdReplyInfo& ContextInfo::quotedad() const {
}
inline void ContextInfo::unsafe_arena_set_allocated_quotedad(
::proto::AdReplyInfo* quotedad) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quotedad_);
}
quotedad_ = quotedad;
@@ -26505,9 +26257,15 @@ inline ::proto::AdReplyInfo* ContextInfo::release_quotedad() {
_has_bits_[0] &= ~0x00000080u;
::proto::AdReplyInfo* temp = quotedad_;
quotedad_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::AdReplyInfo* ContextInfo::unsafe_arena_release_quotedad() {
@@ -26520,23 +26278,24 @@ inline ::proto::AdReplyInfo* ContextInfo::unsafe_arena_release_quotedad() {
inline ::proto::AdReplyInfo* ContextInfo::_internal_mutable_quotedad() {
_has_bits_[0] |= 0x00000080u;
if (quotedad_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::AdReplyInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::AdReplyInfo>(GetArenaForAllocation());
quotedad_ = p;
}
return quotedad_;
}
inline ::proto::AdReplyInfo* ContextInfo::mutable_quotedad() {
+ ::proto::AdReplyInfo* _msg = _internal_mutable_quotedad();
// @@protoc_insertion_point(field_mutable:proto.ContextInfo.quotedAd)
- return _internal_mutable_quotedad();
+ return _msg;
}
inline void ContextInfo::set_allocated_quotedad(::proto::AdReplyInfo* quotedad) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete quotedad_;
}
if (quotedad) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(quotedad);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AdReplyInfo>::GetOwningArena(quotedad);
if (message_arena != submessage_arena) {
quotedad = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, quotedad, submessage_arena);
@@ -26573,7 +26332,7 @@ inline const ::proto::MessageKey& ContextInfo::placeholderkey() const {
}
inline void ContextInfo::unsafe_arena_set_allocated_placeholderkey(
::proto::MessageKey* placeholderkey) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(placeholderkey_);
}
placeholderkey_ = placeholderkey;
@@ -26588,9 +26347,15 @@ inline ::proto::MessageKey* ContextInfo::release_placeholderkey() {
_has_bits_[0] &= ~0x00000100u;
::proto::MessageKey* temp = placeholderkey_;
placeholderkey_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::MessageKey* ContextInfo::unsafe_arena_release_placeholderkey() {
@@ -26603,23 +26368,24 @@ inline ::proto::MessageKey* ContextInfo::unsafe_arena_release_placeholderkey() {
inline ::proto::MessageKey* ContextInfo::_internal_mutable_placeholderkey() {
_has_bits_[0] |= 0x00000100u;
if (placeholderkey_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
placeholderkey_ = p;
}
return placeholderkey_;
}
inline ::proto::MessageKey* ContextInfo::mutable_placeholderkey() {
+ ::proto::MessageKey* _msg = _internal_mutable_placeholderkey();
// @@protoc_insertion_point(field_mutable:proto.ContextInfo.placeholderKey)
- return _internal_mutable_placeholderkey();
+ return _msg;
}
inline void ContextInfo::set_allocated_placeholderkey(::proto::MessageKey* placeholderkey) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete placeholderkey_;
}
if (placeholderkey) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(placeholderkey);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(placeholderkey);
if (message_arena != submessage_arena) {
placeholderkey = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, placeholderkey, submessage_arena);
@@ -26669,7 +26435,7 @@ inline bool ContextInfo::has_ephemeralsettingtimestamp() const {
return _internal_has_ephemeralsettingtimestamp();
}
inline void ContextInfo::clear_ephemeralsettingtimestamp() {
- ephemeralsettingtimestamp_ = PROTOBUF_LONGLONG(0);
+ ephemeralsettingtimestamp_ = int64_t{0};
_has_bits_[0] &= ~0x00004000u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 ContextInfo::_internal_ephemeralsettingtimestamp() const {
@@ -26704,43 +26470,28 @@ inline const std::string& ContextInfo::ephemeralsharedsecret() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.ephemeralSharedSecret)
return _internal_ephemeralsharedsecret();
}
-inline void ContextInfo::set_ephemeralsharedsecret(const std::string& value) {
- _internal_set_ephemeralsharedsecret(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ContextInfo::set_ephemeralsharedsecret(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000020u;
+ ephemeralsharedsecret_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContextInfo.ephemeralSharedSecret)
}
inline std::string* ContextInfo::mutable_ephemeralsharedsecret() {
+ std::string* _s = _internal_mutable_ephemeralsharedsecret();
// @@protoc_insertion_point(field_mutable:proto.ContextInfo.ephemeralSharedSecret)
- return _internal_mutable_ephemeralsharedsecret();
+ return _s;
}
inline const std::string& ContextInfo::_internal_ephemeralsharedsecret() const {
return ephemeralsharedsecret_.Get();
}
inline void ContextInfo::_internal_set_ephemeralsharedsecret(const std::string& value) {
_has_bits_[0] |= 0x00000020u;
- ephemeralsharedsecret_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ContextInfo::set_ephemeralsharedsecret(std::string&& value) {
- _has_bits_[0] |= 0x00000020u;
- ephemeralsharedsecret_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ContextInfo.ephemeralSharedSecret)
-}
-inline void ContextInfo::set_ephemeralsharedsecret(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000020u;
- ephemeralsharedsecret_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ContextInfo.ephemeralSharedSecret)
-}
-inline void ContextInfo::set_ephemeralsharedsecret(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000020u;
- ephemeralsharedsecret_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ContextInfo.ephemeralSharedSecret)
+ ephemeralsharedsecret_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ContextInfo::_internal_mutable_ephemeralsharedsecret() {
_has_bits_[0] |= 0x00000020u;
- return ephemeralsharedsecret_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return ephemeralsharedsecret_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ContextInfo::release_ephemeralsharedsecret() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.ephemeralSharedSecret)
@@ -26748,7 +26499,7 @@ inline std::string* ContextInfo::release_ephemeralsharedsecret() {
return nullptr;
}
_has_bits_[0] &= ~0x00000020u;
- return ephemeralsharedsecret_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return ephemeralsharedsecret_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ContextInfo::set_allocated_ephemeralsharedsecret(std::string* ephemeralsharedsecret) {
if (ephemeralsharedsecret != nullptr) {
@@ -26757,7 +26508,7 @@ inline void ContextInfo::set_allocated_ephemeralsharedsecret(std::string* epheme
_has_bits_[0] &= ~0x00000020u;
}
ephemeralsharedsecret_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ephemeralsharedsecret,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.ephemeralSharedSecret)
}
@@ -26785,7 +26536,7 @@ inline const ::proto::ExternalAdReplyInfo& ContextInfo::externaladreply() const
}
inline void ContextInfo::unsafe_arena_set_allocated_externaladreply(
::proto::ExternalAdReplyInfo* externaladreply) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(externaladreply_);
}
externaladreply_ = externaladreply;
@@ -26800,9 +26551,15 @@ inline ::proto::ExternalAdReplyInfo* ContextInfo::release_externaladreply() {
_has_bits_[0] &= ~0x00000200u;
::proto::ExternalAdReplyInfo* temp = externaladreply_;
externaladreply_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ExternalAdReplyInfo* ContextInfo::unsafe_arena_release_externaladreply() {
@@ -26815,23 +26572,24 @@ inline ::proto::ExternalAdReplyInfo* ContextInfo::unsafe_arena_release_externala
inline ::proto::ExternalAdReplyInfo* ContextInfo::_internal_mutable_externaladreply() {
_has_bits_[0] |= 0x00000200u;
if (externaladreply_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ExternalAdReplyInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ExternalAdReplyInfo>(GetArenaForAllocation());
externaladreply_ = p;
}
return externaladreply_;
}
inline ::proto::ExternalAdReplyInfo* ContextInfo::mutable_externaladreply() {
+ ::proto::ExternalAdReplyInfo* _msg = _internal_mutable_externaladreply();
// @@protoc_insertion_point(field_mutable:proto.ContextInfo.externalAdReply)
- return _internal_mutable_externaladreply();
+ return _msg;
}
inline void ContextInfo::set_allocated_externaladreply(::proto::ExternalAdReplyInfo* externaladreply) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete externaladreply_;
}
if (externaladreply) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(externaladreply);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ExternalAdReplyInfo>::GetOwningArena(externaladreply);
if (message_arena != submessage_arena) {
externaladreply = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, externaladreply, submessage_arena);
@@ -26864,43 +26622,28 @@ inline const std::string& SenderKeyDistributionMessage::groupid() const {
// @@protoc_insertion_point(field_get:proto.SenderKeyDistributionMessage.groupId)
return _internal_groupid();
}
-inline void SenderKeyDistributionMessage::set_groupid(const std::string& value) {
- _internal_set_groupid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void SenderKeyDistributionMessage::set_groupid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ groupid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.SenderKeyDistributionMessage.groupId)
}
inline std::string* SenderKeyDistributionMessage::mutable_groupid() {
+ std::string* _s = _internal_mutable_groupid();
// @@protoc_insertion_point(field_mutable:proto.SenderKeyDistributionMessage.groupId)
- return _internal_mutable_groupid();
+ return _s;
}
inline const std::string& SenderKeyDistributionMessage::_internal_groupid() const {
return groupid_.Get();
}
inline void SenderKeyDistributionMessage::_internal_set_groupid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- groupid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void SenderKeyDistributionMessage::set_groupid(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- groupid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.SenderKeyDistributionMessage.groupId)
-}
-inline void SenderKeyDistributionMessage::set_groupid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- groupid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.SenderKeyDistributionMessage.groupId)
-}
-inline void SenderKeyDistributionMessage::set_groupid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- groupid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.SenderKeyDistributionMessage.groupId)
+ groupid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* SenderKeyDistributionMessage::_internal_mutable_groupid() {
_has_bits_[0] |= 0x00000001u;
- return groupid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return groupid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* SenderKeyDistributionMessage::release_groupid() {
// @@protoc_insertion_point(field_release:proto.SenderKeyDistributionMessage.groupId)
@@ -26908,7 +26651,7 @@ inline std::string* SenderKeyDistributionMessage::release_groupid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return groupid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return groupid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void SenderKeyDistributionMessage::set_allocated_groupid(std::string* groupid) {
if (groupid != nullptr) {
@@ -26917,7 +26660,7 @@ inline void SenderKeyDistributionMessage::set_allocated_groupid(std::string* gro
_has_bits_[0] &= ~0x00000001u;
}
groupid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), groupid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.SenderKeyDistributionMessage.groupId)
}
@@ -26937,43 +26680,28 @@ inline const std::string& SenderKeyDistributionMessage::axolotlsenderkeydistribu
// @@protoc_insertion_point(field_get:proto.SenderKeyDistributionMessage.axolotlSenderKeyDistributionMessage)
return _internal_axolotlsenderkeydistributionmessage();
}
-inline void SenderKeyDistributionMessage::set_axolotlsenderkeydistributionmessage(const std::string& value) {
- _internal_set_axolotlsenderkeydistributionmessage(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void SenderKeyDistributionMessage::set_axolotlsenderkeydistributionmessage(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ axolotlsenderkeydistributionmessage_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.SenderKeyDistributionMessage.axolotlSenderKeyDistributionMessage)
}
inline std::string* SenderKeyDistributionMessage::mutable_axolotlsenderkeydistributionmessage() {
+ std::string* _s = _internal_mutable_axolotlsenderkeydistributionmessage();
// @@protoc_insertion_point(field_mutable:proto.SenderKeyDistributionMessage.axolotlSenderKeyDistributionMessage)
- return _internal_mutable_axolotlsenderkeydistributionmessage();
+ return _s;
}
inline const std::string& SenderKeyDistributionMessage::_internal_axolotlsenderkeydistributionmessage() const {
return axolotlsenderkeydistributionmessage_.Get();
}
inline void SenderKeyDistributionMessage::_internal_set_axolotlsenderkeydistributionmessage(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- axolotlsenderkeydistributionmessage_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void SenderKeyDistributionMessage::set_axolotlsenderkeydistributionmessage(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- axolotlsenderkeydistributionmessage_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.SenderKeyDistributionMessage.axolotlSenderKeyDistributionMessage)
-}
-inline void SenderKeyDistributionMessage::set_axolotlsenderkeydistributionmessage(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- axolotlsenderkeydistributionmessage_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.SenderKeyDistributionMessage.axolotlSenderKeyDistributionMessage)
-}
-inline void SenderKeyDistributionMessage::set_axolotlsenderkeydistributionmessage(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- axolotlsenderkeydistributionmessage_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.SenderKeyDistributionMessage.axolotlSenderKeyDistributionMessage)
+ axolotlsenderkeydistributionmessage_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* SenderKeyDistributionMessage::_internal_mutable_axolotlsenderkeydistributionmessage() {
_has_bits_[0] |= 0x00000002u;
- return axolotlsenderkeydistributionmessage_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return axolotlsenderkeydistributionmessage_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* SenderKeyDistributionMessage::release_axolotlsenderkeydistributionmessage() {
// @@protoc_insertion_point(field_release:proto.SenderKeyDistributionMessage.axolotlSenderKeyDistributionMessage)
@@ -26981,7 +26709,7 @@ inline std::string* SenderKeyDistributionMessage::release_axolotlsenderkeydistri
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return axolotlsenderkeydistributionmessage_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return axolotlsenderkeydistributionmessage_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void SenderKeyDistributionMessage::set_allocated_axolotlsenderkeydistributionmessage(std::string* axolotlsenderkeydistributionmessage) {
if (axolotlsenderkeydistributionmessage != nullptr) {
@@ -26990,7 +26718,7 @@ inline void SenderKeyDistributionMessage::set_allocated_axolotlsenderkeydistribu
_has_bits_[0] &= ~0x00000002u;
}
axolotlsenderkeydistributionmessage_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), axolotlsenderkeydistributionmessage,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.SenderKeyDistributionMessage.axolotlSenderKeyDistributionMessage)
}
@@ -27014,43 +26742,28 @@ inline const std::string& ImageMessage::url() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.url)
return _internal_url();
}
-inline void ImageMessage::set_url(const std::string& value) {
- _internal_set_url(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ImageMessage::set_url(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.url)
}
inline std::string* ImageMessage::mutable_url() {
+ std::string* _s = _internal_mutable_url();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.url)
- return _internal_mutable_url();
+ return _s;
}
inline const std::string& ImageMessage::_internal_url() const {
return url_.Get();
}
inline void ImageMessage::_internal_set_url(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ImageMessage::set_url(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- url_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ImageMessage.url)
-}
-inline void ImageMessage::set_url(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ImageMessage.url)
-}
-inline void ImageMessage::set_url(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ImageMessage.url)
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_url() {
_has_bits_[0] |= 0x00000001u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ImageMessage::release_url() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.url)
@@ -27058,7 +26771,7 @@ inline std::string* ImageMessage::release_url() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ImageMessage::set_allocated_url(std::string* url) {
if (url != nullptr) {
@@ -27067,7 +26780,7 @@ inline void ImageMessage::set_allocated_url(std::string* url) {
_has_bits_[0] &= ~0x00000001u;
}
url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.url)
}
@@ -27087,43 +26800,28 @@ inline const std::string& ImageMessage::mimetype() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.mimetype)
return _internal_mimetype();
}
-inline void ImageMessage::set_mimetype(const std::string& value) {
- _internal_set_mimetype(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ImageMessage::set_mimetype(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.mimetype)
}
inline std::string* ImageMessage::mutable_mimetype() {
+ std::string* _s = _internal_mutable_mimetype();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.mimetype)
- return _internal_mutable_mimetype();
+ return _s;
}
inline const std::string& ImageMessage::_internal_mimetype() const {
return mimetype_.Get();
}
inline void ImageMessage::_internal_set_mimetype(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ImageMessage::set_mimetype(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- mimetype_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ImageMessage.mimetype)
-}
-inline void ImageMessage::set_mimetype(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ImageMessage.mimetype)
-}
-inline void ImageMessage::set_mimetype(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ImageMessage.mimetype)
+ mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_mimetype() {
_has_bits_[0] |= 0x00000002u;
- return mimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return mimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ImageMessage::release_mimetype() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.mimetype)
@@ -27131,7 +26829,7 @@ inline std::string* ImageMessage::release_mimetype() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return mimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return mimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ImageMessage::set_allocated_mimetype(std::string* mimetype) {
if (mimetype != nullptr) {
@@ -27140,7 +26838,7 @@ inline void ImageMessage::set_allocated_mimetype(std::string* mimetype) {
_has_bits_[0] &= ~0x00000002u;
}
mimetype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mimetype,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.mimetype)
}
@@ -27160,43 +26858,28 @@ inline const std::string& ImageMessage::caption() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.caption)
return _internal_caption();
}
-inline void ImageMessage::set_caption(const std::string& value) {
- _internal_set_caption(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ImageMessage::set_caption(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.caption)
}
inline std::string* ImageMessage::mutable_caption() {
+ std::string* _s = _internal_mutable_caption();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.caption)
- return _internal_mutable_caption();
+ return _s;
}
inline const std::string& ImageMessage::_internal_caption() const {
return caption_.Get();
}
inline void ImageMessage::_internal_set_caption(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ImageMessage::set_caption(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- caption_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ImageMessage.caption)
-}
-inline void ImageMessage::set_caption(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ImageMessage.caption)
-}
-inline void ImageMessage::set_caption(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ImageMessage.caption)
+ caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_caption() {
_has_bits_[0] |= 0x00000004u;
- return caption_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return caption_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ImageMessage::release_caption() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.caption)
@@ -27204,7 +26887,7 @@ inline std::string* ImageMessage::release_caption() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return caption_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return caption_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ImageMessage::set_allocated_caption(std::string* caption) {
if (caption != nullptr) {
@@ -27213,7 +26896,7 @@ inline void ImageMessage::set_allocated_caption(std::string* caption) {
_has_bits_[0] &= ~0x00000004u;
}
caption_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), caption,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.caption)
}
@@ -27233,43 +26916,28 @@ inline const std::string& ImageMessage::filesha256() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.fileSha256)
return _internal_filesha256();
}
-inline void ImageMessage::set_filesha256(const std::string& value) {
- _internal_set_filesha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ImageMessage::set_filesha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ filesha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.fileSha256)
}
inline std::string* ImageMessage::mutable_filesha256() {
+ std::string* _s = _internal_mutable_filesha256();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.fileSha256)
- return _internal_mutable_filesha256();
+ return _s;
}
inline const std::string& ImageMessage::_internal_filesha256() const {
return filesha256_.Get();
}
inline void ImageMessage::_internal_set_filesha256(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ImageMessage::set_filesha256(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- filesha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ImageMessage.fileSha256)
-}
-inline void ImageMessage::set_filesha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ImageMessage.fileSha256)
-}
-inline void ImageMessage::set_filesha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ImageMessage.fileSha256)
+ filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_filesha256() {
_has_bits_[0] |= 0x00000008u;
- return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ImageMessage::release_filesha256() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.fileSha256)
@@ -27277,7 +26945,7 @@ inline std::string* ImageMessage::release_filesha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ImageMessage::set_allocated_filesha256(std::string* filesha256) {
if (filesha256 != nullptr) {
@@ -27286,7 +26954,7 @@ inline void ImageMessage::set_allocated_filesha256(std::string* filesha256) {
_has_bits_[0] &= ~0x00000008u;
}
filesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), filesha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.fileSha256)
}
@@ -27299,7 +26967,7 @@ inline bool ImageMessage::has_filelength() const {
return _internal_has_filelength();
}
inline void ImageMessage::clear_filelength() {
- filelength_ = PROTOBUF_ULONGLONG(0);
+ filelength_ = uint64_t{0u};
_has_bits_[0] &= ~0x00010000u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 ImageMessage::_internal_filelength() const {
@@ -27390,43 +27058,28 @@ inline const std::string& ImageMessage::mediakey() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.mediaKey)
return _internal_mediakey();
}
-inline void ImageMessage::set_mediakey(const std::string& value) {
- _internal_set_mediakey(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ImageMessage::set_mediakey(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000010u;
+ mediakey_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.mediaKey)
}
inline std::string* ImageMessage::mutable_mediakey() {
+ std::string* _s = _internal_mutable_mediakey();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.mediaKey)
- return _internal_mutable_mediakey();
+ return _s;
}
inline const std::string& ImageMessage::_internal_mediakey() const {
return mediakey_.Get();
}
inline void ImageMessage::_internal_set_mediakey(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ImageMessage::set_mediakey(std::string&& value) {
- _has_bits_[0] |= 0x00000010u;
- mediakey_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ImageMessage.mediaKey)
-}
-inline void ImageMessage::set_mediakey(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000010u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ImageMessage.mediaKey)
-}
-inline void ImageMessage::set_mediakey(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000010u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ImageMessage.mediaKey)
+ mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_mediakey() {
_has_bits_[0] |= 0x00000010u;
- return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ImageMessage::release_mediakey() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.mediaKey)
@@ -27434,7 +27087,7 @@ inline std::string* ImageMessage::release_mediakey() {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
- return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ImageMessage::set_allocated_mediakey(std::string* mediakey) {
if (mediakey != nullptr) {
@@ -27443,7 +27096,7 @@ inline void ImageMessage::set_allocated_mediakey(std::string* mediakey) {
_has_bits_[0] &= ~0x00000010u;
}
mediakey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediakey,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.mediaKey)
}
@@ -27463,43 +27116,28 @@ inline const std::string& ImageMessage::fileencsha256() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.fileEncSha256)
return _internal_fileencsha256();
}
-inline void ImageMessage::set_fileencsha256(const std::string& value) {
- _internal_set_fileencsha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ImageMessage::set_fileencsha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000020u;
+ fileencsha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.fileEncSha256)
}
inline std::string* ImageMessage::mutable_fileencsha256() {
+ std::string* _s = _internal_mutable_fileencsha256();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.fileEncSha256)
- return _internal_mutable_fileencsha256();
+ return _s;
}
inline const std::string& ImageMessage::_internal_fileencsha256() const {
return fileencsha256_.Get();
}
inline void ImageMessage::_internal_set_fileencsha256(const std::string& value) {
_has_bits_[0] |= 0x00000020u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ImageMessage::set_fileencsha256(std::string&& value) {
- _has_bits_[0] |= 0x00000020u;
- fileencsha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ImageMessage.fileEncSha256)
-}
-inline void ImageMessage::set_fileencsha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000020u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ImageMessage.fileEncSha256)
-}
-inline void ImageMessage::set_fileencsha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000020u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ImageMessage.fileEncSha256)
+ fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_fileencsha256() {
_has_bits_[0] |= 0x00000020u;
- return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ImageMessage::release_fileencsha256() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.fileEncSha256)
@@ -27507,7 +27145,7 @@ inline std::string* ImageMessage::release_fileencsha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000020u;
- return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ImageMessage::set_allocated_fileencsha256(std::string* fileencsha256) {
if (fileencsha256 != nullptr) {
@@ -27516,7 +27154,7 @@ inline void ImageMessage::set_allocated_fileencsha256(std::string* fileencsha256
_has_bits_[0] &= ~0x00000020u;
}
fileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fileencsha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.fileEncSha256)
}
@@ -27550,8 +27188,9 @@ inline ::proto::InteractiveAnnotation* ImageMessage::_internal_add_interactivean
return interactiveannotations_.Add();
}
inline ::proto::InteractiveAnnotation* ImageMessage::add_interactiveannotations() {
+ ::proto::InteractiveAnnotation* _add = _internal_add_interactiveannotations();
// @@protoc_insertion_point(field_add:proto.ImageMessage.interactiveAnnotations)
- return _internal_add_interactiveannotations();
+ return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::InteractiveAnnotation >&
ImageMessage::interactiveannotations() const {
@@ -27575,43 +27214,28 @@ inline const std::string& ImageMessage::directpath() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.directPath)
return _internal_directpath();
}
-inline void ImageMessage::set_directpath(const std::string& value) {
- _internal_set_directpath(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ImageMessage::set_directpath(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000040u;
+ directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.directPath)
}
inline std::string* ImageMessage::mutable_directpath() {
+ std::string* _s = _internal_mutable_directpath();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.directPath)
- return _internal_mutable_directpath();
+ return _s;
}
inline const std::string& ImageMessage::_internal_directpath() const {
return directpath_.Get();
}
inline void ImageMessage::_internal_set_directpath(const std::string& value) {
_has_bits_[0] |= 0x00000040u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ImageMessage::set_directpath(std::string&& value) {
- _has_bits_[0] |= 0x00000040u;
- directpath_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ImageMessage.directPath)
-}
-inline void ImageMessage::set_directpath(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000040u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ImageMessage.directPath)
-}
-inline void ImageMessage::set_directpath(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000040u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ImageMessage.directPath)
+ directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_directpath() {
_has_bits_[0] |= 0x00000040u;
- return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ImageMessage::release_directpath() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.directPath)
@@ -27619,7 +27243,7 @@ inline std::string* ImageMessage::release_directpath() {
return nullptr;
}
_has_bits_[0] &= ~0x00000040u;
- return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ImageMessage::set_allocated_directpath(std::string* directpath) {
if (directpath != nullptr) {
@@ -27628,7 +27252,7 @@ inline void ImageMessage::set_allocated_directpath(std::string* directpath) {
_has_bits_[0] &= ~0x00000040u;
}
directpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), directpath,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.directPath)
}
@@ -27641,7 +27265,7 @@ inline bool ImageMessage::has_mediakeytimestamp() const {
return _internal_has_mediakeytimestamp();
}
inline void ImageMessage::clear_mediakeytimestamp() {
- mediakeytimestamp_ = PROTOBUF_LONGLONG(0);
+ mediakeytimestamp_ = int64_t{0};
_has_bits_[0] &= ~0x00080000u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 ImageMessage::_internal_mediakeytimestamp() const {
@@ -27676,43 +27300,28 @@ inline const std::string& ImageMessage::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.jpegThumbnail)
return _internal_jpegthumbnail();
}
-inline void ImageMessage::set_jpegthumbnail(const std::string& value) {
- _internal_set_jpegthumbnail(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ImageMessage::set_jpegthumbnail(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000080u;
+ jpegthumbnail_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.jpegThumbnail)
}
inline std::string* ImageMessage::mutable_jpegthumbnail() {
+ std::string* _s = _internal_mutable_jpegthumbnail();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.jpegThumbnail)
- return _internal_mutable_jpegthumbnail();
+ return _s;
}
inline const std::string& ImageMessage::_internal_jpegthumbnail() const {
return jpegthumbnail_.Get();
}
inline void ImageMessage::_internal_set_jpegthumbnail(const std::string& value) {
_has_bits_[0] |= 0x00000080u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ImageMessage::set_jpegthumbnail(std::string&& value) {
- _has_bits_[0] |= 0x00000080u;
- jpegthumbnail_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ImageMessage.jpegThumbnail)
-}
-inline void ImageMessage::set_jpegthumbnail(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000080u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ImageMessage.jpegThumbnail)
-}
-inline void ImageMessage::set_jpegthumbnail(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000080u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ImageMessage.jpegThumbnail)
+ jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_jpegthumbnail() {
_has_bits_[0] |= 0x00000080u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ImageMessage::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.jpegThumbnail)
@@ -27720,7 +27329,7 @@ inline std::string* ImageMessage::release_jpegthumbnail() {
return nullptr;
}
_has_bits_[0] &= ~0x00000080u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ImageMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
@@ -27729,7 +27338,7 @@ inline void ImageMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail
_has_bits_[0] &= ~0x00000080u;
}
jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.jpegThumbnail)
}
@@ -27757,7 +27366,7 @@ inline const ::proto::ContextInfo& ImageMessage::contextinfo() const {
}
inline void ImageMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -27772,9 +27381,15 @@ inline ::proto::ContextInfo* ImageMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00008000u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* ImageMessage::unsafe_arena_release_contextinfo() {
@@ -27787,23 +27402,24 @@ inline ::proto::ContextInfo* ImageMessage::unsafe_arena_release_contextinfo() {
inline ::proto::ContextInfo* ImageMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00008000u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* ImageMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void ImageMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -27832,43 +27448,28 @@ inline const std::string& ImageMessage::firstscansidecar() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.firstScanSidecar)
return _internal_firstscansidecar();
}
-inline void ImageMessage::set_firstscansidecar(const std::string& value) {
- _internal_set_firstscansidecar(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ImageMessage::set_firstscansidecar(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000100u;
+ firstscansidecar_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.firstScanSidecar)
}
inline std::string* ImageMessage::mutable_firstscansidecar() {
+ std::string* _s = _internal_mutable_firstscansidecar();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.firstScanSidecar)
- return _internal_mutable_firstscansidecar();
+ return _s;
}
inline const std::string& ImageMessage::_internal_firstscansidecar() const {
return firstscansidecar_.Get();
}
inline void ImageMessage::_internal_set_firstscansidecar(const std::string& value) {
_has_bits_[0] |= 0x00000100u;
- firstscansidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ImageMessage::set_firstscansidecar(std::string&& value) {
- _has_bits_[0] |= 0x00000100u;
- firstscansidecar_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ImageMessage.firstScanSidecar)
-}
-inline void ImageMessage::set_firstscansidecar(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000100u;
- firstscansidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ImageMessage.firstScanSidecar)
-}
-inline void ImageMessage::set_firstscansidecar(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000100u;
- firstscansidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ImageMessage.firstScanSidecar)
+ firstscansidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_firstscansidecar() {
_has_bits_[0] |= 0x00000100u;
- return firstscansidecar_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return firstscansidecar_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ImageMessage::release_firstscansidecar() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.firstScanSidecar)
@@ -27876,7 +27477,7 @@ inline std::string* ImageMessage::release_firstscansidecar() {
return nullptr;
}
_has_bits_[0] &= ~0x00000100u;
- return firstscansidecar_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return firstscansidecar_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ImageMessage::set_allocated_firstscansidecar(std::string* firstscansidecar) {
if (firstscansidecar != nullptr) {
@@ -27885,7 +27486,7 @@ inline void ImageMessage::set_allocated_firstscansidecar(std::string* firstscans
_has_bits_[0] &= ~0x00000100u;
}
firstscansidecar_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), firstscansidecar,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.firstScanSidecar)
}
@@ -27961,43 +27562,28 @@ inline const std::string& ImageMessage::scanssidecar() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.scansSidecar)
return _internal_scanssidecar();
}
-inline void ImageMessage::set_scanssidecar(const std::string& value) {
- _internal_set_scanssidecar(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ImageMessage::set_scanssidecar(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000200u;
+ scanssidecar_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.scansSidecar)
}
inline std::string* ImageMessage::mutable_scanssidecar() {
+ std::string* _s = _internal_mutable_scanssidecar();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.scansSidecar)
- return _internal_mutable_scanssidecar();
+ return _s;
}
inline const std::string& ImageMessage::_internal_scanssidecar() const {
return scanssidecar_.Get();
}
inline void ImageMessage::_internal_set_scanssidecar(const std::string& value) {
_has_bits_[0] |= 0x00000200u;
- scanssidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ImageMessage::set_scanssidecar(std::string&& value) {
- _has_bits_[0] |= 0x00000200u;
- scanssidecar_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ImageMessage.scansSidecar)
-}
-inline void ImageMessage::set_scanssidecar(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000200u;
- scanssidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ImageMessage.scansSidecar)
-}
-inline void ImageMessage::set_scanssidecar(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000200u;
- scanssidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ImageMessage.scansSidecar)
+ scanssidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_scanssidecar() {
_has_bits_[0] |= 0x00000200u;
- return scanssidecar_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return scanssidecar_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ImageMessage::release_scanssidecar() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.scansSidecar)
@@ -28005,7 +27591,7 @@ inline std::string* ImageMessage::release_scanssidecar() {
return nullptr;
}
_has_bits_[0] &= ~0x00000200u;
- return scanssidecar_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return scanssidecar_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ImageMessage::set_allocated_scanssidecar(std::string* scanssidecar) {
if (scanssidecar != nullptr) {
@@ -28014,7 +27600,7 @@ inline void ImageMessage::set_allocated_scanssidecar(std::string* scanssidecar)
_has_bits_[0] &= ~0x00000200u;
}
scanssidecar_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), scanssidecar,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.scansSidecar)
}
@@ -28081,43 +27667,28 @@ inline const std::string& ImageMessage::midqualityfilesha256() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.midQualityFileSha256)
return _internal_midqualityfilesha256();
}
-inline void ImageMessage::set_midqualityfilesha256(const std::string& value) {
- _internal_set_midqualityfilesha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ImageMessage::set_midqualityfilesha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000400u;
+ midqualityfilesha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.midQualityFileSha256)
}
inline std::string* ImageMessage::mutable_midqualityfilesha256() {
+ std::string* _s = _internal_mutable_midqualityfilesha256();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.midQualityFileSha256)
- return _internal_mutable_midqualityfilesha256();
+ return _s;
}
inline const std::string& ImageMessage::_internal_midqualityfilesha256() const {
return midqualityfilesha256_.Get();
}
inline void ImageMessage::_internal_set_midqualityfilesha256(const std::string& value) {
_has_bits_[0] |= 0x00000400u;
- midqualityfilesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ImageMessage::set_midqualityfilesha256(std::string&& value) {
- _has_bits_[0] |= 0x00000400u;
- midqualityfilesha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ImageMessage.midQualityFileSha256)
-}
-inline void ImageMessage::set_midqualityfilesha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000400u;
- midqualityfilesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ImageMessage.midQualityFileSha256)
-}
-inline void ImageMessage::set_midqualityfilesha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000400u;
- midqualityfilesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ImageMessage.midQualityFileSha256)
+ midqualityfilesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_midqualityfilesha256() {
_has_bits_[0] |= 0x00000400u;
- return midqualityfilesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return midqualityfilesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ImageMessage::release_midqualityfilesha256() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.midQualityFileSha256)
@@ -28125,7 +27696,7 @@ inline std::string* ImageMessage::release_midqualityfilesha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000400u;
- return midqualityfilesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return midqualityfilesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ImageMessage::set_allocated_midqualityfilesha256(std::string* midqualityfilesha256) {
if (midqualityfilesha256 != nullptr) {
@@ -28134,7 +27705,7 @@ inline void ImageMessage::set_allocated_midqualityfilesha256(std::string* midqua
_has_bits_[0] &= ~0x00000400u;
}
midqualityfilesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), midqualityfilesha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.midQualityFileSha256)
}
@@ -28154,43 +27725,28 @@ inline const std::string& ImageMessage::midqualityfileencsha256() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.midQualityFileEncSha256)
return _internal_midqualityfileencsha256();
}
-inline void ImageMessage::set_midqualityfileencsha256(const std::string& value) {
- _internal_set_midqualityfileencsha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ImageMessage::set_midqualityfileencsha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000800u;
+ midqualityfileencsha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.midQualityFileEncSha256)
}
inline std::string* ImageMessage::mutable_midqualityfileencsha256() {
+ std::string* _s = _internal_mutable_midqualityfileencsha256();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.midQualityFileEncSha256)
- return _internal_mutable_midqualityfileencsha256();
+ return _s;
}
inline const std::string& ImageMessage::_internal_midqualityfileencsha256() const {
return midqualityfileencsha256_.Get();
}
inline void ImageMessage::_internal_set_midqualityfileencsha256(const std::string& value) {
_has_bits_[0] |= 0x00000800u;
- midqualityfileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ImageMessage::set_midqualityfileencsha256(std::string&& value) {
- _has_bits_[0] |= 0x00000800u;
- midqualityfileencsha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ImageMessage.midQualityFileEncSha256)
-}
-inline void ImageMessage::set_midqualityfileencsha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000800u;
- midqualityfileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ImageMessage.midQualityFileEncSha256)
-}
-inline void ImageMessage::set_midqualityfileencsha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000800u;
- midqualityfileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ImageMessage.midQualityFileEncSha256)
+ midqualityfileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_midqualityfileencsha256() {
_has_bits_[0] |= 0x00000800u;
- return midqualityfileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return midqualityfileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ImageMessage::release_midqualityfileencsha256() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.midQualityFileEncSha256)
@@ -28198,7 +27754,7 @@ inline std::string* ImageMessage::release_midqualityfileencsha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000800u;
- return midqualityfileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return midqualityfileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ImageMessage::set_allocated_midqualityfileencsha256(std::string* midqualityfileencsha256) {
if (midqualityfileencsha256 != nullptr) {
@@ -28207,7 +27763,7 @@ inline void ImageMessage::set_allocated_midqualityfileencsha256(std::string* mid
_has_bits_[0] &= ~0x00000800u;
}
midqualityfileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), midqualityfileencsha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.midQualityFileEncSha256)
}
@@ -28255,43 +27811,28 @@ inline const std::string& ImageMessage::thumbnaildirectpath() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.thumbnailDirectPath)
return _internal_thumbnaildirectpath();
}
-inline void ImageMessage::set_thumbnaildirectpath(const std::string& value) {
- _internal_set_thumbnaildirectpath(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ImageMessage::set_thumbnaildirectpath(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00001000u;
+ thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.thumbnailDirectPath)
}
inline std::string* ImageMessage::mutable_thumbnaildirectpath() {
+ std::string* _s = _internal_mutable_thumbnaildirectpath();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.thumbnailDirectPath)
- return _internal_mutable_thumbnaildirectpath();
+ return _s;
}
inline const std::string& ImageMessage::_internal_thumbnaildirectpath() const {
return thumbnaildirectpath_.Get();
}
inline void ImageMessage::_internal_set_thumbnaildirectpath(const std::string& value) {
_has_bits_[0] |= 0x00001000u;
- thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ImageMessage::set_thumbnaildirectpath(std::string&& value) {
- _has_bits_[0] |= 0x00001000u;
- thumbnaildirectpath_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ImageMessage.thumbnailDirectPath)
-}
-inline void ImageMessage::set_thumbnaildirectpath(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00001000u;
- thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ImageMessage.thumbnailDirectPath)
-}
-inline void ImageMessage::set_thumbnaildirectpath(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00001000u;
- thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ImageMessage.thumbnailDirectPath)
+ thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_thumbnaildirectpath() {
_has_bits_[0] |= 0x00001000u;
- return thumbnaildirectpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return thumbnaildirectpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ImageMessage::release_thumbnaildirectpath() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.thumbnailDirectPath)
@@ -28299,7 +27840,7 @@ inline std::string* ImageMessage::release_thumbnaildirectpath() {
return nullptr;
}
_has_bits_[0] &= ~0x00001000u;
- return thumbnaildirectpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return thumbnaildirectpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ImageMessage::set_allocated_thumbnaildirectpath(std::string* thumbnaildirectpath) {
if (thumbnaildirectpath != nullptr) {
@@ -28308,7 +27849,7 @@ inline void ImageMessage::set_allocated_thumbnaildirectpath(std::string* thumbna
_has_bits_[0] &= ~0x00001000u;
}
thumbnaildirectpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnaildirectpath,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.thumbnailDirectPath)
}
@@ -28328,43 +27869,28 @@ inline const std::string& ImageMessage::thumbnailsha256() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.thumbnailSha256)
return _internal_thumbnailsha256();
}
-inline void ImageMessage::set_thumbnailsha256(const std::string& value) {
- _internal_set_thumbnailsha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ImageMessage::set_thumbnailsha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00002000u;
+ thumbnailsha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.thumbnailSha256)
}
inline std::string* ImageMessage::mutable_thumbnailsha256() {
+ std::string* _s = _internal_mutable_thumbnailsha256();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.thumbnailSha256)
- return _internal_mutable_thumbnailsha256();
+ return _s;
}
inline const std::string& ImageMessage::_internal_thumbnailsha256() const {
return thumbnailsha256_.Get();
}
inline void ImageMessage::_internal_set_thumbnailsha256(const std::string& value) {
_has_bits_[0] |= 0x00002000u;
- thumbnailsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ImageMessage::set_thumbnailsha256(std::string&& value) {
- _has_bits_[0] |= 0x00002000u;
- thumbnailsha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ImageMessage.thumbnailSha256)
-}
-inline void ImageMessage::set_thumbnailsha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00002000u;
- thumbnailsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ImageMessage.thumbnailSha256)
-}
-inline void ImageMessage::set_thumbnailsha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00002000u;
- thumbnailsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ImageMessage.thumbnailSha256)
+ thumbnailsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_thumbnailsha256() {
_has_bits_[0] |= 0x00002000u;
- return thumbnailsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return thumbnailsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ImageMessage::release_thumbnailsha256() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.thumbnailSha256)
@@ -28372,7 +27898,7 @@ inline std::string* ImageMessage::release_thumbnailsha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00002000u;
- return thumbnailsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return thumbnailsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ImageMessage::set_allocated_thumbnailsha256(std::string* thumbnailsha256) {
if (thumbnailsha256 != nullptr) {
@@ -28381,7 +27907,7 @@ inline void ImageMessage::set_allocated_thumbnailsha256(std::string* thumbnailsh
_has_bits_[0] &= ~0x00002000u;
}
thumbnailsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnailsha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.thumbnailSha256)
}
@@ -28401,43 +27927,28 @@ inline const std::string& ImageMessage::thumbnailencsha256() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.thumbnailEncSha256)
return _internal_thumbnailencsha256();
}
-inline void ImageMessage::set_thumbnailencsha256(const std::string& value) {
- _internal_set_thumbnailencsha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ImageMessage::set_thumbnailencsha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00004000u;
+ thumbnailencsha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.thumbnailEncSha256)
}
inline std::string* ImageMessage::mutable_thumbnailencsha256() {
+ std::string* _s = _internal_mutable_thumbnailencsha256();
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.thumbnailEncSha256)
- return _internal_mutable_thumbnailencsha256();
+ return _s;
}
inline const std::string& ImageMessage::_internal_thumbnailencsha256() const {
return thumbnailencsha256_.Get();
}
inline void ImageMessage::_internal_set_thumbnailencsha256(const std::string& value) {
_has_bits_[0] |= 0x00004000u;
- thumbnailencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ImageMessage::set_thumbnailencsha256(std::string&& value) {
- _has_bits_[0] |= 0x00004000u;
- thumbnailencsha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ImageMessage.thumbnailEncSha256)
-}
-inline void ImageMessage::set_thumbnailencsha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00004000u;
- thumbnailencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ImageMessage.thumbnailEncSha256)
-}
-inline void ImageMessage::set_thumbnailencsha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00004000u;
- thumbnailencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ImageMessage.thumbnailEncSha256)
+ thumbnailencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_thumbnailencsha256() {
_has_bits_[0] |= 0x00004000u;
- return thumbnailencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return thumbnailencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ImageMessage::release_thumbnailencsha256() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.thumbnailEncSha256)
@@ -28445,7 +27956,7 @@ inline std::string* ImageMessage::release_thumbnailencsha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00004000u;
- return thumbnailencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return thumbnailencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ImageMessage::set_allocated_thumbnailencsha256(std::string* thumbnailencsha256) {
if (thumbnailencsha256 != nullptr) {
@@ -28454,7 +27965,7 @@ inline void ImageMessage::set_allocated_thumbnailencsha256(std::string* thumbnai
_has_bits_[0] &= ~0x00004000u;
}
thumbnailencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnailencsha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.thumbnailEncSha256)
}
@@ -28478,43 +27989,28 @@ inline const std::string& InvoiceMessage::note() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.note)
return _internal_note();
}
-inline void InvoiceMessage::set_note(const std::string& value) {
- _internal_set_note(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void InvoiceMessage::set_note(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ note_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.note)
}
inline std::string* InvoiceMessage::mutable_note() {
+ std::string* _s = _internal_mutable_note();
// @@protoc_insertion_point(field_mutable:proto.InvoiceMessage.note)
- return _internal_mutable_note();
+ return _s;
}
inline const std::string& InvoiceMessage::_internal_note() const {
return note_.Get();
}
inline void InvoiceMessage::_internal_set_note(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- note_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void InvoiceMessage::set_note(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- note_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.InvoiceMessage.note)
-}
-inline void InvoiceMessage::set_note(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- note_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.InvoiceMessage.note)
-}
-inline void InvoiceMessage::set_note(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- note_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.InvoiceMessage.note)
+ note_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_note() {
_has_bits_[0] |= 0x00000001u;
- return note_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return note_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_note() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.note)
@@ -28522,7 +28018,7 @@ inline std::string* InvoiceMessage::release_note() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return note_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return note_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void InvoiceMessage::set_allocated_note(std::string* note) {
if (note != nullptr) {
@@ -28531,7 +28027,7 @@ inline void InvoiceMessage::set_allocated_note(std::string* note) {
_has_bits_[0] &= ~0x00000001u;
}
note_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), note,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.note)
}
@@ -28551,43 +28047,28 @@ inline const std::string& InvoiceMessage::token() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.token)
return _internal_token();
}
-inline void InvoiceMessage::set_token(const std::string& value) {
- _internal_set_token(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void InvoiceMessage::set_token(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.token)
}
inline std::string* InvoiceMessage::mutable_token() {
+ std::string* _s = _internal_mutable_token();
// @@protoc_insertion_point(field_mutable:proto.InvoiceMessage.token)
- return _internal_mutable_token();
+ return _s;
}
inline const std::string& InvoiceMessage::_internal_token() const {
return token_.Get();
}
inline void InvoiceMessage::_internal_set_token(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void InvoiceMessage::set_token(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- token_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.InvoiceMessage.token)
-}
-inline void InvoiceMessage::set_token(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.InvoiceMessage.token)
-}
-inline void InvoiceMessage::set_token(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.InvoiceMessage.token)
+ token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_token() {
_has_bits_[0] |= 0x00000002u;
- return token_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return token_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_token() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.token)
@@ -28595,7 +28076,7 @@ inline std::string* InvoiceMessage::release_token() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return token_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return token_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void InvoiceMessage::set_allocated_token(std::string* token) {
if (token != nullptr) {
@@ -28604,7 +28085,7 @@ inline void InvoiceMessage::set_allocated_token(std::string* token) {
_has_bits_[0] &= ~0x00000002u;
}
token_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), token,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.token)
}
@@ -28653,43 +28134,28 @@ inline const std::string& InvoiceMessage::attachmentmimetype() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.attachmentMimetype)
return _internal_attachmentmimetype();
}
-inline void InvoiceMessage::set_attachmentmimetype(const std::string& value) {
- _internal_set_attachmentmimetype(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void InvoiceMessage::set_attachmentmimetype(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ attachmentmimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.attachmentMimetype)
}
inline std::string* InvoiceMessage::mutable_attachmentmimetype() {
+ std::string* _s = _internal_mutable_attachmentmimetype();
// @@protoc_insertion_point(field_mutable:proto.InvoiceMessage.attachmentMimetype)
- return _internal_mutable_attachmentmimetype();
+ return _s;
}
inline const std::string& InvoiceMessage::_internal_attachmentmimetype() const {
return attachmentmimetype_.Get();
}
inline void InvoiceMessage::_internal_set_attachmentmimetype(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- attachmentmimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void InvoiceMessage::set_attachmentmimetype(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- attachmentmimetype_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.InvoiceMessage.attachmentMimetype)
-}
-inline void InvoiceMessage::set_attachmentmimetype(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- attachmentmimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.InvoiceMessage.attachmentMimetype)
-}
-inline void InvoiceMessage::set_attachmentmimetype(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- attachmentmimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.InvoiceMessage.attachmentMimetype)
+ attachmentmimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_attachmentmimetype() {
_has_bits_[0] |= 0x00000004u;
- return attachmentmimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return attachmentmimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_attachmentmimetype() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.attachmentMimetype)
@@ -28697,7 +28163,7 @@ inline std::string* InvoiceMessage::release_attachmentmimetype() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return attachmentmimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return attachmentmimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void InvoiceMessage::set_allocated_attachmentmimetype(std::string* attachmentmimetype) {
if (attachmentmimetype != nullptr) {
@@ -28706,7 +28172,7 @@ inline void InvoiceMessage::set_allocated_attachmentmimetype(std::string* attach
_has_bits_[0] &= ~0x00000004u;
}
attachmentmimetype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), attachmentmimetype,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.attachmentMimetype)
}
@@ -28726,43 +28192,28 @@ inline const std::string& InvoiceMessage::attachmentmediakey() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.attachmentMediaKey)
return _internal_attachmentmediakey();
}
-inline void InvoiceMessage::set_attachmentmediakey(const std::string& value) {
- _internal_set_attachmentmediakey(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void InvoiceMessage::set_attachmentmediakey(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ attachmentmediakey_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.attachmentMediaKey)
}
inline std::string* InvoiceMessage::mutable_attachmentmediakey() {
+ std::string* _s = _internal_mutable_attachmentmediakey();
// @@protoc_insertion_point(field_mutable:proto.InvoiceMessage.attachmentMediaKey)
- return _internal_mutable_attachmentmediakey();
+ return _s;
}
inline const std::string& InvoiceMessage::_internal_attachmentmediakey() const {
return attachmentmediakey_.Get();
}
inline void InvoiceMessage::_internal_set_attachmentmediakey(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- attachmentmediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void InvoiceMessage::set_attachmentmediakey(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- attachmentmediakey_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.InvoiceMessage.attachmentMediaKey)
-}
-inline void InvoiceMessage::set_attachmentmediakey(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- attachmentmediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.InvoiceMessage.attachmentMediaKey)
-}
-inline void InvoiceMessage::set_attachmentmediakey(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- attachmentmediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.InvoiceMessage.attachmentMediaKey)
+ attachmentmediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_attachmentmediakey() {
_has_bits_[0] |= 0x00000008u;
- return attachmentmediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return attachmentmediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_attachmentmediakey() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.attachmentMediaKey)
@@ -28770,7 +28221,7 @@ inline std::string* InvoiceMessage::release_attachmentmediakey() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return attachmentmediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return attachmentmediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void InvoiceMessage::set_allocated_attachmentmediakey(std::string* attachmentmediakey) {
if (attachmentmediakey != nullptr) {
@@ -28779,7 +28230,7 @@ inline void InvoiceMessage::set_allocated_attachmentmediakey(std::string* attach
_has_bits_[0] &= ~0x00000008u;
}
attachmentmediakey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), attachmentmediakey,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.attachmentMediaKey)
}
@@ -28792,7 +28243,7 @@ inline bool InvoiceMessage::has_attachmentmediakeytimestamp() const {
return _internal_has_attachmentmediakeytimestamp();
}
inline void InvoiceMessage::clear_attachmentmediakeytimestamp() {
- attachmentmediakeytimestamp_ = PROTOBUF_LONGLONG(0);
+ attachmentmediakeytimestamp_ = int64_t{0};
_has_bits_[0] &= ~0x00000100u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 InvoiceMessage::_internal_attachmentmediakeytimestamp() const {
@@ -28827,43 +28278,28 @@ inline const std::string& InvoiceMessage::attachmentfilesha256() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.attachmentFileSha256)
return _internal_attachmentfilesha256();
}
-inline void InvoiceMessage::set_attachmentfilesha256(const std::string& value) {
- _internal_set_attachmentfilesha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void InvoiceMessage::set_attachmentfilesha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000010u;
+ attachmentfilesha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.attachmentFileSha256)
}
inline std::string* InvoiceMessage::mutable_attachmentfilesha256() {
+ std::string* _s = _internal_mutable_attachmentfilesha256();
// @@protoc_insertion_point(field_mutable:proto.InvoiceMessage.attachmentFileSha256)
- return _internal_mutable_attachmentfilesha256();
+ return _s;
}
inline const std::string& InvoiceMessage::_internal_attachmentfilesha256() const {
return attachmentfilesha256_.Get();
}
inline void InvoiceMessage::_internal_set_attachmentfilesha256(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
- attachmentfilesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void InvoiceMessage::set_attachmentfilesha256(std::string&& value) {
- _has_bits_[0] |= 0x00000010u;
- attachmentfilesha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.InvoiceMessage.attachmentFileSha256)
-}
-inline void InvoiceMessage::set_attachmentfilesha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000010u;
- attachmentfilesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.InvoiceMessage.attachmentFileSha256)
-}
-inline void InvoiceMessage::set_attachmentfilesha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000010u;
- attachmentfilesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.InvoiceMessage.attachmentFileSha256)
+ attachmentfilesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_attachmentfilesha256() {
_has_bits_[0] |= 0x00000010u;
- return attachmentfilesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return attachmentfilesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_attachmentfilesha256() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.attachmentFileSha256)
@@ -28871,7 +28307,7 @@ inline std::string* InvoiceMessage::release_attachmentfilesha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
- return attachmentfilesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return attachmentfilesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void InvoiceMessage::set_allocated_attachmentfilesha256(std::string* attachmentfilesha256) {
if (attachmentfilesha256 != nullptr) {
@@ -28880,7 +28316,7 @@ inline void InvoiceMessage::set_allocated_attachmentfilesha256(std::string* atta
_has_bits_[0] &= ~0x00000010u;
}
attachmentfilesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), attachmentfilesha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.attachmentFileSha256)
}
@@ -28900,43 +28336,28 @@ inline const std::string& InvoiceMessage::attachmentfileencsha256() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.attachmentFileEncSha256)
return _internal_attachmentfileencsha256();
}
-inline void InvoiceMessage::set_attachmentfileencsha256(const std::string& value) {
- _internal_set_attachmentfileencsha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void InvoiceMessage::set_attachmentfileencsha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000020u;
+ attachmentfileencsha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.attachmentFileEncSha256)
}
inline std::string* InvoiceMessage::mutable_attachmentfileencsha256() {
+ std::string* _s = _internal_mutable_attachmentfileencsha256();
// @@protoc_insertion_point(field_mutable:proto.InvoiceMessage.attachmentFileEncSha256)
- return _internal_mutable_attachmentfileencsha256();
+ return _s;
}
inline const std::string& InvoiceMessage::_internal_attachmentfileencsha256() const {
return attachmentfileencsha256_.Get();
}
inline void InvoiceMessage::_internal_set_attachmentfileencsha256(const std::string& value) {
_has_bits_[0] |= 0x00000020u;
- attachmentfileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void InvoiceMessage::set_attachmentfileencsha256(std::string&& value) {
- _has_bits_[0] |= 0x00000020u;
- attachmentfileencsha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.InvoiceMessage.attachmentFileEncSha256)
-}
-inline void InvoiceMessage::set_attachmentfileencsha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000020u;
- attachmentfileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.InvoiceMessage.attachmentFileEncSha256)
-}
-inline void InvoiceMessage::set_attachmentfileencsha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000020u;
- attachmentfileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.InvoiceMessage.attachmentFileEncSha256)
+ attachmentfileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_attachmentfileencsha256() {
_has_bits_[0] |= 0x00000020u;
- return attachmentfileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return attachmentfileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_attachmentfileencsha256() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.attachmentFileEncSha256)
@@ -28944,7 +28365,7 @@ inline std::string* InvoiceMessage::release_attachmentfileencsha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000020u;
- return attachmentfileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return attachmentfileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void InvoiceMessage::set_allocated_attachmentfileencsha256(std::string* attachmentfileencsha256) {
if (attachmentfileencsha256 != nullptr) {
@@ -28953,7 +28374,7 @@ inline void InvoiceMessage::set_allocated_attachmentfileencsha256(std::string* a
_has_bits_[0] &= ~0x00000020u;
}
attachmentfileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), attachmentfileencsha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.attachmentFileEncSha256)
}
@@ -28973,43 +28394,28 @@ inline const std::string& InvoiceMessage::attachmentdirectpath() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.attachmentDirectPath)
return _internal_attachmentdirectpath();
}
-inline void InvoiceMessage::set_attachmentdirectpath(const std::string& value) {
- _internal_set_attachmentdirectpath(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void InvoiceMessage::set_attachmentdirectpath(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000040u;
+ attachmentdirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.attachmentDirectPath)
}
inline std::string* InvoiceMessage::mutable_attachmentdirectpath() {
+ std::string* _s = _internal_mutable_attachmentdirectpath();
// @@protoc_insertion_point(field_mutable:proto.InvoiceMessage.attachmentDirectPath)
- return _internal_mutable_attachmentdirectpath();
+ return _s;
}
inline const std::string& InvoiceMessage::_internal_attachmentdirectpath() const {
return attachmentdirectpath_.Get();
}
inline void InvoiceMessage::_internal_set_attachmentdirectpath(const std::string& value) {
_has_bits_[0] |= 0x00000040u;
- attachmentdirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void InvoiceMessage::set_attachmentdirectpath(std::string&& value) {
- _has_bits_[0] |= 0x00000040u;
- attachmentdirectpath_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.InvoiceMessage.attachmentDirectPath)
-}
-inline void InvoiceMessage::set_attachmentdirectpath(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000040u;
- attachmentdirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.InvoiceMessage.attachmentDirectPath)
-}
-inline void InvoiceMessage::set_attachmentdirectpath(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000040u;
- attachmentdirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.InvoiceMessage.attachmentDirectPath)
+ attachmentdirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_attachmentdirectpath() {
_has_bits_[0] |= 0x00000040u;
- return attachmentdirectpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return attachmentdirectpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_attachmentdirectpath() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.attachmentDirectPath)
@@ -29017,7 +28423,7 @@ inline std::string* InvoiceMessage::release_attachmentdirectpath() {
return nullptr;
}
_has_bits_[0] &= ~0x00000040u;
- return attachmentdirectpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return attachmentdirectpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void InvoiceMessage::set_allocated_attachmentdirectpath(std::string* attachmentdirectpath) {
if (attachmentdirectpath != nullptr) {
@@ -29026,7 +28432,7 @@ inline void InvoiceMessage::set_allocated_attachmentdirectpath(std::string* atta
_has_bits_[0] &= ~0x00000040u;
}
attachmentdirectpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), attachmentdirectpath,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.attachmentDirectPath)
}
@@ -29046,43 +28452,28 @@ inline const std::string& InvoiceMessage::attachmentjpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.attachmentJpegThumbnail)
return _internal_attachmentjpegthumbnail();
}
-inline void InvoiceMessage::set_attachmentjpegthumbnail(const std::string& value) {
- _internal_set_attachmentjpegthumbnail(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void InvoiceMessage::set_attachmentjpegthumbnail(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000080u;
+ attachmentjpegthumbnail_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.attachmentJpegThumbnail)
}
inline std::string* InvoiceMessage::mutable_attachmentjpegthumbnail() {
+ std::string* _s = _internal_mutable_attachmentjpegthumbnail();
// @@protoc_insertion_point(field_mutable:proto.InvoiceMessage.attachmentJpegThumbnail)
- return _internal_mutable_attachmentjpegthumbnail();
+ return _s;
}
inline const std::string& InvoiceMessage::_internal_attachmentjpegthumbnail() const {
return attachmentjpegthumbnail_.Get();
}
inline void InvoiceMessage::_internal_set_attachmentjpegthumbnail(const std::string& value) {
_has_bits_[0] |= 0x00000080u;
- attachmentjpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void InvoiceMessage::set_attachmentjpegthumbnail(std::string&& value) {
- _has_bits_[0] |= 0x00000080u;
- attachmentjpegthumbnail_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.InvoiceMessage.attachmentJpegThumbnail)
-}
-inline void InvoiceMessage::set_attachmentjpegthumbnail(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000080u;
- attachmentjpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.InvoiceMessage.attachmentJpegThumbnail)
-}
-inline void InvoiceMessage::set_attachmentjpegthumbnail(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000080u;
- attachmentjpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.InvoiceMessage.attachmentJpegThumbnail)
+ attachmentjpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_attachmentjpegthumbnail() {
_has_bits_[0] |= 0x00000080u;
- return attachmentjpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return attachmentjpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_attachmentjpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.attachmentJpegThumbnail)
@@ -29090,7 +28481,7 @@ inline std::string* InvoiceMessage::release_attachmentjpegthumbnail() {
return nullptr;
}
_has_bits_[0] &= ~0x00000080u;
- return attachmentjpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return attachmentjpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void InvoiceMessage::set_allocated_attachmentjpegthumbnail(std::string* attachmentjpegthumbnail) {
if (attachmentjpegthumbnail != nullptr) {
@@ -29099,7 +28490,7 @@ inline void InvoiceMessage::set_allocated_attachmentjpegthumbnail(std::string* a
_has_bits_[0] &= ~0x00000080u;
}
attachmentjpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), attachmentjpegthumbnail,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.attachmentJpegThumbnail)
}
@@ -29123,43 +28514,28 @@ inline const std::string& ContactMessage::displayname() const {
// @@protoc_insertion_point(field_get:proto.ContactMessage.displayName)
return _internal_displayname();
}
-inline void ContactMessage::set_displayname(const std::string& value) {
- _internal_set_displayname(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ContactMessage::set_displayname(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContactMessage.displayName)
}
inline std::string* ContactMessage::mutable_displayname() {
+ std::string* _s = _internal_mutable_displayname();
// @@protoc_insertion_point(field_mutable:proto.ContactMessage.displayName)
- return _internal_mutable_displayname();
+ return _s;
}
inline const std::string& ContactMessage::_internal_displayname() const {
return displayname_.Get();
}
inline void ContactMessage::_internal_set_displayname(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ContactMessage::set_displayname(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- displayname_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ContactMessage.displayName)
-}
-inline void ContactMessage::set_displayname(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ContactMessage.displayName)
-}
-inline void ContactMessage::set_displayname(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ContactMessage.displayName)
+ displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ContactMessage::_internal_mutable_displayname() {
_has_bits_[0] |= 0x00000001u;
- return displayname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return displayname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ContactMessage::release_displayname() {
// @@protoc_insertion_point(field_release:proto.ContactMessage.displayName)
@@ -29167,7 +28543,7 @@ inline std::string* ContactMessage::release_displayname() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return displayname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return displayname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ContactMessage::set_allocated_displayname(std::string* displayname) {
if (displayname != nullptr) {
@@ -29176,7 +28552,7 @@ inline void ContactMessage::set_allocated_displayname(std::string* displayname)
_has_bits_[0] &= ~0x00000001u;
}
displayname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), displayname,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ContactMessage.displayName)
}
@@ -29196,43 +28572,28 @@ inline const std::string& ContactMessage::vcard() const {
// @@protoc_insertion_point(field_get:proto.ContactMessage.vcard)
return _internal_vcard();
}
-inline void ContactMessage::set_vcard(const std::string& value) {
- _internal_set_vcard(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ContactMessage::set_vcard(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ vcard_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContactMessage.vcard)
}
inline std::string* ContactMessage::mutable_vcard() {
+ std::string* _s = _internal_mutable_vcard();
// @@protoc_insertion_point(field_mutable:proto.ContactMessage.vcard)
- return _internal_mutable_vcard();
+ return _s;
}
inline const std::string& ContactMessage::_internal_vcard() const {
return vcard_.Get();
}
inline void ContactMessage::_internal_set_vcard(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- vcard_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ContactMessage::set_vcard(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- vcard_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ContactMessage.vcard)
-}
-inline void ContactMessage::set_vcard(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- vcard_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ContactMessage.vcard)
-}
-inline void ContactMessage::set_vcard(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- vcard_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ContactMessage.vcard)
+ vcard_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ContactMessage::_internal_mutable_vcard() {
_has_bits_[0] |= 0x00000002u;
- return vcard_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return vcard_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ContactMessage::release_vcard() {
// @@protoc_insertion_point(field_release:proto.ContactMessage.vcard)
@@ -29240,7 +28601,7 @@ inline std::string* ContactMessage::release_vcard() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return vcard_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return vcard_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ContactMessage::set_allocated_vcard(std::string* vcard) {
if (vcard != nullptr) {
@@ -29249,7 +28610,7 @@ inline void ContactMessage::set_allocated_vcard(std::string* vcard) {
_has_bits_[0] &= ~0x00000002u;
}
vcard_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), vcard,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ContactMessage.vcard)
}
@@ -29277,7 +28638,7 @@ inline const ::proto::ContextInfo& ContactMessage::contextinfo() const {
}
inline void ContactMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -29292,9 +28653,15 @@ inline ::proto::ContextInfo* ContactMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00000004u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* ContactMessage::unsafe_arena_release_contextinfo() {
@@ -29307,23 +28674,24 @@ inline ::proto::ContextInfo* ContactMessage::unsafe_arena_release_contextinfo()
inline ::proto::ContextInfo* ContactMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00000004u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* ContactMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.ContactMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void ContactMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -29412,43 +28780,28 @@ inline const std::string& LocationMessage::name() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.name)
return _internal_name();
}
-inline void LocationMessage::set_name(const std::string& value) {
- _internal_set_name(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void LocationMessage::set_name(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.LocationMessage.name)
}
inline std::string* LocationMessage::mutable_name() {
+ std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:proto.LocationMessage.name)
- return _internal_mutable_name();
+ return _s;
}
inline const std::string& LocationMessage::_internal_name() const {
return name_.Get();
}
inline void LocationMessage::_internal_set_name(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void LocationMessage::set_name(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.LocationMessage.name)
-}
-inline void LocationMessage::set_name(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.LocationMessage.name)
-}
-inline void LocationMessage::set_name(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.LocationMessage.name)
+ name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* LocationMessage::_internal_mutable_name() {
_has_bits_[0] |= 0x00000001u;
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* LocationMessage::release_name() {
// @@protoc_insertion_point(field_release:proto.LocationMessage.name)
@@ -29456,7 +28809,7 @@ inline std::string* LocationMessage::release_name() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void LocationMessage::set_allocated_name(std::string* name) {
if (name != nullptr) {
@@ -29465,7 +28818,7 @@ inline void LocationMessage::set_allocated_name(std::string* name) {
_has_bits_[0] &= ~0x00000001u;
}
name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.LocationMessage.name)
}
@@ -29485,43 +28838,28 @@ inline const std::string& LocationMessage::address() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.address)
return _internal_address();
}
-inline void LocationMessage::set_address(const std::string& value) {
- _internal_set_address(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void LocationMessage::set_address(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ address_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.LocationMessage.address)
}
inline std::string* LocationMessage::mutable_address() {
+ std::string* _s = _internal_mutable_address();
// @@protoc_insertion_point(field_mutable:proto.LocationMessage.address)
- return _internal_mutable_address();
+ return _s;
}
inline const std::string& LocationMessage::_internal_address() const {
return address_.Get();
}
inline void LocationMessage::_internal_set_address(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- address_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void LocationMessage::set_address(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- address_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.LocationMessage.address)
-}
-inline void LocationMessage::set_address(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- address_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.LocationMessage.address)
-}
-inline void LocationMessage::set_address(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- address_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.LocationMessage.address)
+ address_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* LocationMessage::_internal_mutable_address() {
_has_bits_[0] |= 0x00000002u;
- return address_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return address_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* LocationMessage::release_address() {
// @@protoc_insertion_point(field_release:proto.LocationMessage.address)
@@ -29529,7 +28867,7 @@ inline std::string* LocationMessage::release_address() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return address_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return address_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void LocationMessage::set_allocated_address(std::string* address) {
if (address != nullptr) {
@@ -29538,7 +28876,7 @@ inline void LocationMessage::set_allocated_address(std::string* address) {
_has_bits_[0] &= ~0x00000002u;
}
address_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), address,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.LocationMessage.address)
}
@@ -29558,43 +28896,28 @@ inline const std::string& LocationMessage::url() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.url)
return _internal_url();
}
-inline void LocationMessage::set_url(const std::string& value) {
- _internal_set_url(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void LocationMessage::set_url(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.LocationMessage.url)
}
inline std::string* LocationMessage::mutable_url() {
+ std::string* _s = _internal_mutable_url();
// @@protoc_insertion_point(field_mutable:proto.LocationMessage.url)
- return _internal_mutable_url();
+ return _s;
}
inline const std::string& LocationMessage::_internal_url() const {
return url_.Get();
}
inline void LocationMessage::_internal_set_url(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void LocationMessage::set_url(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- url_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.LocationMessage.url)
-}
-inline void LocationMessage::set_url(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.LocationMessage.url)
-}
-inline void LocationMessage::set_url(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.LocationMessage.url)
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* LocationMessage::_internal_mutable_url() {
_has_bits_[0] |= 0x00000004u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* LocationMessage::release_url() {
// @@protoc_insertion_point(field_release:proto.LocationMessage.url)
@@ -29602,7 +28925,7 @@ inline std::string* LocationMessage::release_url() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void LocationMessage::set_allocated_url(std::string* url) {
if (url != nullptr) {
@@ -29611,7 +28934,7 @@ inline void LocationMessage::set_allocated_url(std::string* url) {
_has_bits_[0] &= ~0x00000004u;
}
url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.LocationMessage.url)
}
@@ -29743,43 +29066,28 @@ inline const std::string& LocationMessage::comment() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.comment)
return _internal_comment();
}
-inline void LocationMessage::set_comment(const std::string& value) {
- _internal_set_comment(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void LocationMessage::set_comment(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ comment_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.LocationMessage.comment)
}
inline std::string* LocationMessage::mutable_comment() {
+ std::string* _s = _internal_mutable_comment();
// @@protoc_insertion_point(field_mutable:proto.LocationMessage.comment)
- return _internal_mutable_comment();
+ return _s;
}
inline const std::string& LocationMessage::_internal_comment() const {
return comment_.Get();
}
inline void LocationMessage::_internal_set_comment(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- comment_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void LocationMessage::set_comment(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- comment_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.LocationMessage.comment)
-}
-inline void LocationMessage::set_comment(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- comment_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.LocationMessage.comment)
-}
-inline void LocationMessage::set_comment(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- comment_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.LocationMessage.comment)
+ comment_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* LocationMessage::_internal_mutable_comment() {
_has_bits_[0] |= 0x00000008u;
- return comment_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return comment_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* LocationMessage::release_comment() {
// @@protoc_insertion_point(field_release:proto.LocationMessage.comment)
@@ -29787,7 +29095,7 @@ inline std::string* LocationMessage::release_comment() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return comment_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return comment_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void LocationMessage::set_allocated_comment(std::string* comment) {
if (comment != nullptr) {
@@ -29796,7 +29104,7 @@ inline void LocationMessage::set_allocated_comment(std::string* comment) {
_has_bits_[0] &= ~0x00000008u;
}
comment_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), comment,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.LocationMessage.comment)
}
@@ -29816,43 +29124,28 @@ inline const std::string& LocationMessage::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.jpegThumbnail)
return _internal_jpegthumbnail();
}
-inline void LocationMessage::set_jpegthumbnail(const std::string& value) {
- _internal_set_jpegthumbnail(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void LocationMessage::set_jpegthumbnail(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000010u;
+ jpegthumbnail_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.LocationMessage.jpegThumbnail)
}
inline std::string* LocationMessage::mutable_jpegthumbnail() {
+ std::string* _s = _internal_mutable_jpegthumbnail();
// @@protoc_insertion_point(field_mutable:proto.LocationMessage.jpegThumbnail)
- return _internal_mutable_jpegthumbnail();
+ return _s;
}
inline const std::string& LocationMessage::_internal_jpegthumbnail() const {
return jpegthumbnail_.Get();
}
inline void LocationMessage::_internal_set_jpegthumbnail(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void LocationMessage::set_jpegthumbnail(std::string&& value) {
- _has_bits_[0] |= 0x00000010u;
- jpegthumbnail_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.LocationMessage.jpegThumbnail)
-}
-inline void LocationMessage::set_jpegthumbnail(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000010u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.LocationMessage.jpegThumbnail)
-}
-inline void LocationMessage::set_jpegthumbnail(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000010u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.LocationMessage.jpegThumbnail)
+ jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* LocationMessage::_internal_mutable_jpegthumbnail() {
_has_bits_[0] |= 0x00000010u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* LocationMessage::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.LocationMessage.jpegThumbnail)
@@ -29860,7 +29153,7 @@ inline std::string* LocationMessage::release_jpegthumbnail() {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void LocationMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
@@ -29869,7 +29162,7 @@ inline void LocationMessage::set_allocated_jpegthumbnail(std::string* jpegthumbn
_has_bits_[0] &= ~0x00000010u;
}
jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.LocationMessage.jpegThumbnail)
}
@@ -29897,7 +29190,7 @@ inline const ::proto::ContextInfo& LocationMessage::contextinfo() const {
}
inline void LocationMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -29912,9 +29205,15 @@ inline ::proto::ContextInfo* LocationMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00000020u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* LocationMessage::unsafe_arena_release_contextinfo() {
@@ -29927,23 +29226,24 @@ inline ::proto::ContextInfo* LocationMessage::unsafe_arena_release_contextinfo()
inline ::proto::ContextInfo* LocationMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00000020u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* LocationMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.LocationMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void LocationMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -29976,43 +29276,28 @@ inline const std::string& ExtendedTextMessage::text() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.text)
return _internal_text();
}
-inline void ExtendedTextMessage::set_text(const std::string& value) {
- _internal_set_text(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ExtendedTextMessage::set_text(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExtendedTextMessage.text)
}
inline std::string* ExtendedTextMessage::mutable_text() {
+ std::string* _s = _internal_mutable_text();
// @@protoc_insertion_point(field_mutable:proto.ExtendedTextMessage.text)
- return _internal_mutable_text();
+ return _s;
}
inline const std::string& ExtendedTextMessage::_internal_text() const {
return text_.Get();
}
inline void ExtendedTextMessage::_internal_set_text(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ExtendedTextMessage::set_text(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- text_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ExtendedTextMessage.text)
-}
-inline void ExtendedTextMessage::set_text(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ExtendedTextMessage.text)
-}
-inline void ExtendedTextMessage::set_text(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ExtendedTextMessage.text)
+ text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::_internal_mutable_text() {
_has_bits_[0] |= 0x00000001u;
- return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::release_text() {
// @@protoc_insertion_point(field_release:proto.ExtendedTextMessage.text)
@@ -30020,7 +29305,7 @@ inline std::string* ExtendedTextMessage::release_text() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return text_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return text_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ExtendedTextMessage::set_allocated_text(std::string* text) {
if (text != nullptr) {
@@ -30029,7 +29314,7 @@ inline void ExtendedTextMessage::set_allocated_text(std::string* text) {
_has_bits_[0] &= ~0x00000001u;
}
text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ExtendedTextMessage.text)
}
@@ -30049,43 +29334,28 @@ inline const std::string& ExtendedTextMessage::matchedtext() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.matchedText)
return _internal_matchedtext();
}
-inline void ExtendedTextMessage::set_matchedtext(const std::string& value) {
- _internal_set_matchedtext(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ExtendedTextMessage::set_matchedtext(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ matchedtext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExtendedTextMessage.matchedText)
}
inline std::string* ExtendedTextMessage::mutable_matchedtext() {
+ std::string* _s = _internal_mutable_matchedtext();
// @@protoc_insertion_point(field_mutable:proto.ExtendedTextMessage.matchedText)
- return _internal_mutable_matchedtext();
+ return _s;
}
inline const std::string& ExtendedTextMessage::_internal_matchedtext() const {
return matchedtext_.Get();
}
inline void ExtendedTextMessage::_internal_set_matchedtext(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- matchedtext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ExtendedTextMessage::set_matchedtext(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- matchedtext_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ExtendedTextMessage.matchedText)
-}
-inline void ExtendedTextMessage::set_matchedtext(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- matchedtext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ExtendedTextMessage.matchedText)
-}
-inline void ExtendedTextMessage::set_matchedtext(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- matchedtext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ExtendedTextMessage.matchedText)
+ matchedtext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::_internal_mutable_matchedtext() {
_has_bits_[0] |= 0x00000002u;
- return matchedtext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return matchedtext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::release_matchedtext() {
// @@protoc_insertion_point(field_release:proto.ExtendedTextMessage.matchedText)
@@ -30093,7 +29363,7 @@ inline std::string* ExtendedTextMessage::release_matchedtext() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return matchedtext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return matchedtext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ExtendedTextMessage::set_allocated_matchedtext(std::string* matchedtext) {
if (matchedtext != nullptr) {
@@ -30102,7 +29372,7 @@ inline void ExtendedTextMessage::set_allocated_matchedtext(std::string* matchedt
_has_bits_[0] &= ~0x00000002u;
}
matchedtext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), matchedtext,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ExtendedTextMessage.matchedText)
}
@@ -30122,43 +29392,28 @@ inline const std::string& ExtendedTextMessage::canonicalurl() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.canonicalUrl)
return _internal_canonicalurl();
}
-inline void ExtendedTextMessage::set_canonicalurl(const std::string& value) {
- _internal_set_canonicalurl(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ExtendedTextMessage::set_canonicalurl(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ canonicalurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExtendedTextMessage.canonicalUrl)
}
inline std::string* ExtendedTextMessage::mutable_canonicalurl() {
+ std::string* _s = _internal_mutable_canonicalurl();
// @@protoc_insertion_point(field_mutable:proto.ExtendedTextMessage.canonicalUrl)
- return _internal_mutable_canonicalurl();
+ return _s;
}
inline const std::string& ExtendedTextMessage::_internal_canonicalurl() const {
return canonicalurl_.Get();
}
inline void ExtendedTextMessage::_internal_set_canonicalurl(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- canonicalurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ExtendedTextMessage::set_canonicalurl(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- canonicalurl_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ExtendedTextMessage.canonicalUrl)
-}
-inline void ExtendedTextMessage::set_canonicalurl(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- canonicalurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ExtendedTextMessage.canonicalUrl)
-}
-inline void ExtendedTextMessage::set_canonicalurl(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- canonicalurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ExtendedTextMessage.canonicalUrl)
+ canonicalurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::_internal_mutable_canonicalurl() {
_has_bits_[0] |= 0x00000004u;
- return canonicalurl_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return canonicalurl_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::release_canonicalurl() {
// @@protoc_insertion_point(field_release:proto.ExtendedTextMessage.canonicalUrl)
@@ -30166,7 +29421,7 @@ inline std::string* ExtendedTextMessage::release_canonicalurl() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return canonicalurl_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return canonicalurl_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ExtendedTextMessage::set_allocated_canonicalurl(std::string* canonicalurl) {
if (canonicalurl != nullptr) {
@@ -30175,7 +29430,7 @@ inline void ExtendedTextMessage::set_allocated_canonicalurl(std::string* canonic
_has_bits_[0] &= ~0x00000004u;
}
canonicalurl_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), canonicalurl,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ExtendedTextMessage.canonicalUrl)
}
@@ -30195,43 +29450,28 @@ inline const std::string& ExtendedTextMessage::description() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.description)
return _internal_description();
}
-inline void ExtendedTextMessage::set_description(const std::string& value) {
- _internal_set_description(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ExtendedTextMessage::set_description(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExtendedTextMessage.description)
}
inline std::string* ExtendedTextMessage::mutable_description() {
+ std::string* _s = _internal_mutable_description();
// @@protoc_insertion_point(field_mutable:proto.ExtendedTextMessage.description)
- return _internal_mutable_description();
+ return _s;
}
inline const std::string& ExtendedTextMessage::_internal_description() const {
return description_.Get();
}
inline void ExtendedTextMessage::_internal_set_description(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ExtendedTextMessage::set_description(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- description_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ExtendedTextMessage.description)
-}
-inline void ExtendedTextMessage::set_description(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ExtendedTextMessage.description)
-}
-inline void ExtendedTextMessage::set_description(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ExtendedTextMessage.description)
+ description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::_internal_mutable_description() {
_has_bits_[0] |= 0x00000008u;
- return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::release_description() {
// @@protoc_insertion_point(field_release:proto.ExtendedTextMessage.description)
@@ -30239,7 +29479,7 @@ inline std::string* ExtendedTextMessage::release_description() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ExtendedTextMessage::set_allocated_description(std::string* description) {
if (description != nullptr) {
@@ -30248,7 +29488,7 @@ inline void ExtendedTextMessage::set_allocated_description(std::string* descript
_has_bits_[0] &= ~0x00000008u;
}
description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ExtendedTextMessage.description)
}
@@ -30268,43 +29508,28 @@ inline const std::string& ExtendedTextMessage::title() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.title)
return _internal_title();
}
-inline void ExtendedTextMessage::set_title(const std::string& value) {
- _internal_set_title(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ExtendedTextMessage::set_title(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000010u;
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExtendedTextMessage.title)
}
inline std::string* ExtendedTextMessage::mutable_title() {
+ std::string* _s = _internal_mutable_title();
// @@protoc_insertion_point(field_mutable:proto.ExtendedTextMessage.title)
- return _internal_mutable_title();
+ return _s;
}
inline const std::string& ExtendedTextMessage::_internal_title() const {
return title_.Get();
}
inline void ExtendedTextMessage::_internal_set_title(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ExtendedTextMessage::set_title(std::string&& value) {
- _has_bits_[0] |= 0x00000010u;
- title_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ExtendedTextMessage.title)
-}
-inline void ExtendedTextMessage::set_title(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000010u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ExtendedTextMessage.title)
-}
-inline void ExtendedTextMessage::set_title(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000010u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ExtendedTextMessage.title)
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::_internal_mutable_title() {
_has_bits_[0] |= 0x00000010u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::release_title() {
// @@protoc_insertion_point(field_release:proto.ExtendedTextMessage.title)
@@ -30312,7 +29537,7 @@ inline std::string* ExtendedTextMessage::release_title() {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ExtendedTextMessage::set_allocated_title(std::string* title) {
if (title != nullptr) {
@@ -30321,7 +29546,7 @@ inline void ExtendedTextMessage::set_allocated_title(std::string* title) {
_has_bits_[0] &= ~0x00000010u;
}
title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ExtendedTextMessage.title)
}
@@ -30455,43 +29680,28 @@ inline const std::string& ExtendedTextMessage::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.jpegThumbnail)
return _internal_jpegthumbnail();
}
-inline void ExtendedTextMessage::set_jpegthumbnail(const std::string& value) {
- _internal_set_jpegthumbnail(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ExtendedTextMessage::set_jpegthumbnail(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000020u;
+ jpegthumbnail_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExtendedTextMessage.jpegThumbnail)
}
inline std::string* ExtendedTextMessage::mutable_jpegthumbnail() {
+ std::string* _s = _internal_mutable_jpegthumbnail();
// @@protoc_insertion_point(field_mutable:proto.ExtendedTextMessage.jpegThumbnail)
- return _internal_mutable_jpegthumbnail();
+ return _s;
}
inline const std::string& ExtendedTextMessage::_internal_jpegthumbnail() const {
return jpegthumbnail_.Get();
}
inline void ExtendedTextMessage::_internal_set_jpegthumbnail(const std::string& value) {
_has_bits_[0] |= 0x00000020u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ExtendedTextMessage::set_jpegthumbnail(std::string&& value) {
- _has_bits_[0] |= 0x00000020u;
- jpegthumbnail_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ExtendedTextMessage.jpegThumbnail)
-}
-inline void ExtendedTextMessage::set_jpegthumbnail(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000020u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ExtendedTextMessage.jpegThumbnail)
-}
-inline void ExtendedTextMessage::set_jpegthumbnail(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000020u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ExtendedTextMessage.jpegThumbnail)
+ jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::_internal_mutable_jpegthumbnail() {
_has_bits_[0] |= 0x00000020u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.ExtendedTextMessage.jpegThumbnail)
@@ -30499,7 +29709,7 @@ inline std::string* ExtendedTextMessage::release_jpegthumbnail() {
return nullptr;
}
_has_bits_[0] &= ~0x00000020u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ExtendedTextMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
@@ -30508,7 +29718,7 @@ inline void ExtendedTextMessage::set_allocated_jpegthumbnail(std::string* jpegth
_has_bits_[0] &= ~0x00000020u;
}
jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ExtendedTextMessage.jpegThumbnail)
}
@@ -30536,7 +29746,7 @@ inline const ::proto::ContextInfo& ExtendedTextMessage::contextinfo() const {
}
inline void ExtendedTextMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -30551,9 +29761,15 @@ inline ::proto::ContextInfo* ExtendedTextMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00000040u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* ExtendedTextMessage::unsafe_arena_release_contextinfo() {
@@ -30566,23 +29782,24 @@ inline ::proto::ContextInfo* ExtendedTextMessage::unsafe_arena_release_contextin
inline ::proto::ContextInfo* ExtendedTextMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00000040u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* ExtendedTextMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.ExtendedTextMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void ExtendedTextMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -30643,43 +29860,28 @@ inline const std::string& DocumentMessage::url() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.url)
return _internal_url();
}
-inline void DocumentMessage::set_url(const std::string& value) {
- _internal_set_url(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DocumentMessage::set_url(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.url)
}
inline std::string* DocumentMessage::mutable_url() {
+ std::string* _s = _internal_mutable_url();
// @@protoc_insertion_point(field_mutable:proto.DocumentMessage.url)
- return _internal_mutable_url();
+ return _s;
}
inline const std::string& DocumentMessage::_internal_url() const {
return url_.Get();
}
inline void DocumentMessage::_internal_set_url(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DocumentMessage::set_url(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- url_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DocumentMessage.url)
-}
-inline void DocumentMessage::set_url(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DocumentMessage.url)
-}
-inline void DocumentMessage::set_url(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DocumentMessage.url)
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_url() {
_has_bits_[0] |= 0x00000001u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_url() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.url)
@@ -30687,7 +29889,7 @@ inline std::string* DocumentMessage::release_url() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DocumentMessage::set_allocated_url(std::string* url) {
if (url != nullptr) {
@@ -30696,7 +29898,7 @@ inline void DocumentMessage::set_allocated_url(std::string* url) {
_has_bits_[0] &= ~0x00000001u;
}
url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.url)
}
@@ -30716,43 +29918,28 @@ inline const std::string& DocumentMessage::mimetype() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.mimetype)
return _internal_mimetype();
}
-inline void DocumentMessage::set_mimetype(const std::string& value) {
- _internal_set_mimetype(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DocumentMessage::set_mimetype(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.mimetype)
}
inline std::string* DocumentMessage::mutable_mimetype() {
+ std::string* _s = _internal_mutable_mimetype();
// @@protoc_insertion_point(field_mutable:proto.DocumentMessage.mimetype)
- return _internal_mutable_mimetype();
+ return _s;
}
inline const std::string& DocumentMessage::_internal_mimetype() const {
return mimetype_.Get();
}
inline void DocumentMessage::_internal_set_mimetype(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DocumentMessage::set_mimetype(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- mimetype_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DocumentMessage.mimetype)
-}
-inline void DocumentMessage::set_mimetype(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DocumentMessage.mimetype)
-}
-inline void DocumentMessage::set_mimetype(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DocumentMessage.mimetype)
+ mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_mimetype() {
_has_bits_[0] |= 0x00000002u;
- return mimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return mimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_mimetype() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.mimetype)
@@ -30760,7 +29947,7 @@ inline std::string* DocumentMessage::release_mimetype() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return mimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return mimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DocumentMessage::set_allocated_mimetype(std::string* mimetype) {
if (mimetype != nullptr) {
@@ -30769,7 +29956,7 @@ inline void DocumentMessage::set_allocated_mimetype(std::string* mimetype) {
_has_bits_[0] &= ~0x00000002u;
}
mimetype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mimetype,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.mimetype)
}
@@ -30789,43 +29976,28 @@ inline const std::string& DocumentMessage::title() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.title)
return _internal_title();
}
-inline void DocumentMessage::set_title(const std::string& value) {
- _internal_set_title(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DocumentMessage::set_title(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.title)
}
inline std::string* DocumentMessage::mutable_title() {
+ std::string* _s = _internal_mutable_title();
// @@protoc_insertion_point(field_mutable:proto.DocumentMessage.title)
- return _internal_mutable_title();
+ return _s;
}
inline const std::string& DocumentMessage::_internal_title() const {
return title_.Get();
}
inline void DocumentMessage::_internal_set_title(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DocumentMessage::set_title(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- title_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DocumentMessage.title)
-}
-inline void DocumentMessage::set_title(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DocumentMessage.title)
-}
-inline void DocumentMessage::set_title(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DocumentMessage.title)
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_title() {
_has_bits_[0] |= 0x00000004u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_title() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.title)
@@ -30833,7 +30005,7 @@ inline std::string* DocumentMessage::release_title() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DocumentMessage::set_allocated_title(std::string* title) {
if (title != nullptr) {
@@ -30842,7 +30014,7 @@ inline void DocumentMessage::set_allocated_title(std::string* title) {
_has_bits_[0] &= ~0x00000004u;
}
title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.title)
}
@@ -30862,43 +30034,28 @@ inline const std::string& DocumentMessage::filesha256() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.fileSha256)
return _internal_filesha256();
}
-inline void DocumentMessage::set_filesha256(const std::string& value) {
- _internal_set_filesha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DocumentMessage::set_filesha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ filesha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.fileSha256)
}
inline std::string* DocumentMessage::mutable_filesha256() {
+ std::string* _s = _internal_mutable_filesha256();
// @@protoc_insertion_point(field_mutable:proto.DocumentMessage.fileSha256)
- return _internal_mutable_filesha256();
+ return _s;
}
inline const std::string& DocumentMessage::_internal_filesha256() const {
return filesha256_.Get();
}
inline void DocumentMessage::_internal_set_filesha256(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DocumentMessage::set_filesha256(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- filesha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DocumentMessage.fileSha256)
-}
-inline void DocumentMessage::set_filesha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DocumentMessage.fileSha256)
-}
-inline void DocumentMessage::set_filesha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DocumentMessage.fileSha256)
+ filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_filesha256() {
_has_bits_[0] |= 0x00000008u;
- return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_filesha256() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.fileSha256)
@@ -30906,7 +30063,7 @@ inline std::string* DocumentMessage::release_filesha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DocumentMessage::set_allocated_filesha256(std::string* filesha256) {
if (filesha256 != nullptr) {
@@ -30915,7 +30072,7 @@ inline void DocumentMessage::set_allocated_filesha256(std::string* filesha256) {
_has_bits_[0] &= ~0x00000008u;
}
filesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), filesha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.fileSha256)
}
@@ -30928,7 +30085,7 @@ inline bool DocumentMessage::has_filelength() const {
return _internal_has_filelength();
}
inline void DocumentMessage::clear_filelength() {
- filelength_ = PROTOBUF_ULONGLONG(0);
+ filelength_ = uint64_t{0u};
_has_bits_[0] &= ~0x00002000u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 DocumentMessage::_internal_filelength() const {
@@ -30991,43 +30148,28 @@ inline const std::string& DocumentMessage::mediakey() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.mediaKey)
return _internal_mediakey();
}
-inline void DocumentMessage::set_mediakey(const std::string& value) {
- _internal_set_mediakey(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DocumentMessage::set_mediakey(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000010u;
+ mediakey_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.mediaKey)
}
inline std::string* DocumentMessage::mutable_mediakey() {
+ std::string* _s = _internal_mutable_mediakey();
// @@protoc_insertion_point(field_mutable:proto.DocumentMessage.mediaKey)
- return _internal_mutable_mediakey();
+ return _s;
}
inline const std::string& DocumentMessage::_internal_mediakey() const {
return mediakey_.Get();
}
inline void DocumentMessage::_internal_set_mediakey(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DocumentMessage::set_mediakey(std::string&& value) {
- _has_bits_[0] |= 0x00000010u;
- mediakey_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DocumentMessage.mediaKey)
-}
-inline void DocumentMessage::set_mediakey(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000010u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DocumentMessage.mediaKey)
-}
-inline void DocumentMessage::set_mediakey(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000010u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DocumentMessage.mediaKey)
+ mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_mediakey() {
_has_bits_[0] |= 0x00000010u;
- return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_mediakey() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.mediaKey)
@@ -31035,7 +30177,7 @@ inline std::string* DocumentMessage::release_mediakey() {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
- return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DocumentMessage::set_allocated_mediakey(std::string* mediakey) {
if (mediakey != nullptr) {
@@ -31044,7 +30186,7 @@ inline void DocumentMessage::set_allocated_mediakey(std::string* mediakey) {
_has_bits_[0] &= ~0x00000010u;
}
mediakey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediakey,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.mediaKey)
}
@@ -31064,43 +30206,28 @@ inline const std::string& DocumentMessage::filename() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.fileName)
return _internal_filename();
}
-inline void DocumentMessage::set_filename(const std::string& value) {
- _internal_set_filename(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DocumentMessage::set_filename(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000020u;
+ filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.fileName)
}
inline std::string* DocumentMessage::mutable_filename() {
+ std::string* _s = _internal_mutable_filename();
// @@protoc_insertion_point(field_mutable:proto.DocumentMessage.fileName)
- return _internal_mutable_filename();
+ return _s;
}
inline const std::string& DocumentMessage::_internal_filename() const {
return filename_.Get();
}
inline void DocumentMessage::_internal_set_filename(const std::string& value) {
_has_bits_[0] |= 0x00000020u;
- filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DocumentMessage::set_filename(std::string&& value) {
- _has_bits_[0] |= 0x00000020u;
- filename_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DocumentMessage.fileName)
-}
-inline void DocumentMessage::set_filename(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000020u;
- filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DocumentMessage.fileName)
-}
-inline void DocumentMessage::set_filename(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000020u;
- filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DocumentMessage.fileName)
+ filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_filename() {
_has_bits_[0] |= 0x00000020u;
- return filename_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return filename_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_filename() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.fileName)
@@ -31108,7 +30235,7 @@ inline std::string* DocumentMessage::release_filename() {
return nullptr;
}
_has_bits_[0] &= ~0x00000020u;
- return filename_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return filename_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DocumentMessage::set_allocated_filename(std::string* filename) {
if (filename != nullptr) {
@@ -31117,7 +30244,7 @@ inline void DocumentMessage::set_allocated_filename(std::string* filename) {
_has_bits_[0] &= ~0x00000020u;
}
filename_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), filename,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.fileName)
}
@@ -31137,43 +30264,28 @@ inline const std::string& DocumentMessage::fileencsha256() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.fileEncSha256)
return _internal_fileencsha256();
}
-inline void DocumentMessage::set_fileencsha256(const std::string& value) {
- _internal_set_fileencsha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DocumentMessage::set_fileencsha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000040u;
+ fileencsha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.fileEncSha256)
}
inline std::string* DocumentMessage::mutable_fileencsha256() {
+ std::string* _s = _internal_mutable_fileencsha256();
// @@protoc_insertion_point(field_mutable:proto.DocumentMessage.fileEncSha256)
- return _internal_mutable_fileencsha256();
+ return _s;
}
inline const std::string& DocumentMessage::_internal_fileencsha256() const {
return fileencsha256_.Get();
}
inline void DocumentMessage::_internal_set_fileencsha256(const std::string& value) {
_has_bits_[0] |= 0x00000040u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DocumentMessage::set_fileencsha256(std::string&& value) {
- _has_bits_[0] |= 0x00000040u;
- fileencsha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DocumentMessage.fileEncSha256)
-}
-inline void DocumentMessage::set_fileencsha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000040u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DocumentMessage.fileEncSha256)
-}
-inline void DocumentMessage::set_fileencsha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000040u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DocumentMessage.fileEncSha256)
+ fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_fileencsha256() {
_has_bits_[0] |= 0x00000040u;
- return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_fileencsha256() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.fileEncSha256)
@@ -31181,7 +30293,7 @@ inline std::string* DocumentMessage::release_fileencsha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000040u;
- return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DocumentMessage::set_allocated_fileencsha256(std::string* fileencsha256) {
if (fileencsha256 != nullptr) {
@@ -31190,7 +30302,7 @@ inline void DocumentMessage::set_allocated_fileencsha256(std::string* fileencsha
_has_bits_[0] &= ~0x00000040u;
}
fileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fileencsha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.fileEncSha256)
}
@@ -31210,43 +30322,28 @@ inline const std::string& DocumentMessage::directpath() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.directPath)
return _internal_directpath();
}
-inline void DocumentMessage::set_directpath(const std::string& value) {
- _internal_set_directpath(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DocumentMessage::set_directpath(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000080u;
+ directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.directPath)
}
inline std::string* DocumentMessage::mutable_directpath() {
+ std::string* _s = _internal_mutable_directpath();
// @@protoc_insertion_point(field_mutable:proto.DocumentMessage.directPath)
- return _internal_mutable_directpath();
+ return _s;
}
inline const std::string& DocumentMessage::_internal_directpath() const {
return directpath_.Get();
}
inline void DocumentMessage::_internal_set_directpath(const std::string& value) {
_has_bits_[0] |= 0x00000080u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DocumentMessage::set_directpath(std::string&& value) {
- _has_bits_[0] |= 0x00000080u;
- directpath_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DocumentMessage.directPath)
-}
-inline void DocumentMessage::set_directpath(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000080u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DocumentMessage.directPath)
-}
-inline void DocumentMessage::set_directpath(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000080u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DocumentMessage.directPath)
+ directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_directpath() {
_has_bits_[0] |= 0x00000080u;
- return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_directpath() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.directPath)
@@ -31254,7 +30351,7 @@ inline std::string* DocumentMessage::release_directpath() {
return nullptr;
}
_has_bits_[0] &= ~0x00000080u;
- return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DocumentMessage::set_allocated_directpath(std::string* directpath) {
if (directpath != nullptr) {
@@ -31263,7 +30360,7 @@ inline void DocumentMessage::set_allocated_directpath(std::string* directpath) {
_has_bits_[0] &= ~0x00000080u;
}
directpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), directpath,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.directPath)
}
@@ -31276,7 +30373,7 @@ inline bool DocumentMessage::has_mediakeytimestamp() const {
return _internal_has_mediakeytimestamp();
}
inline void DocumentMessage::clear_mediakeytimestamp() {
- mediakeytimestamp_ = PROTOBUF_LONGLONG(0);
+ mediakeytimestamp_ = int64_t{0};
_has_bits_[0] &= ~0x00010000u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 DocumentMessage::_internal_mediakeytimestamp() const {
@@ -31339,43 +30436,28 @@ inline const std::string& DocumentMessage::thumbnaildirectpath() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.thumbnailDirectPath)
return _internal_thumbnaildirectpath();
}
-inline void DocumentMessage::set_thumbnaildirectpath(const std::string& value) {
- _internal_set_thumbnaildirectpath(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DocumentMessage::set_thumbnaildirectpath(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000100u;
+ thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.thumbnailDirectPath)
}
inline std::string* DocumentMessage::mutable_thumbnaildirectpath() {
+ std::string* _s = _internal_mutable_thumbnaildirectpath();
// @@protoc_insertion_point(field_mutable:proto.DocumentMessage.thumbnailDirectPath)
- return _internal_mutable_thumbnaildirectpath();
+ return _s;
}
inline const std::string& DocumentMessage::_internal_thumbnaildirectpath() const {
return thumbnaildirectpath_.Get();
}
inline void DocumentMessage::_internal_set_thumbnaildirectpath(const std::string& value) {
_has_bits_[0] |= 0x00000100u;
- thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DocumentMessage::set_thumbnaildirectpath(std::string&& value) {
- _has_bits_[0] |= 0x00000100u;
- thumbnaildirectpath_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DocumentMessage.thumbnailDirectPath)
-}
-inline void DocumentMessage::set_thumbnaildirectpath(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000100u;
- thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DocumentMessage.thumbnailDirectPath)
-}
-inline void DocumentMessage::set_thumbnaildirectpath(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000100u;
- thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DocumentMessage.thumbnailDirectPath)
+ thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_thumbnaildirectpath() {
_has_bits_[0] |= 0x00000100u;
- return thumbnaildirectpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return thumbnaildirectpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_thumbnaildirectpath() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.thumbnailDirectPath)
@@ -31383,7 +30465,7 @@ inline std::string* DocumentMessage::release_thumbnaildirectpath() {
return nullptr;
}
_has_bits_[0] &= ~0x00000100u;
- return thumbnaildirectpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return thumbnaildirectpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DocumentMessage::set_allocated_thumbnaildirectpath(std::string* thumbnaildirectpath) {
if (thumbnaildirectpath != nullptr) {
@@ -31392,7 +30474,7 @@ inline void DocumentMessage::set_allocated_thumbnaildirectpath(std::string* thum
_has_bits_[0] &= ~0x00000100u;
}
thumbnaildirectpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnaildirectpath,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.thumbnailDirectPath)
}
@@ -31412,43 +30494,28 @@ inline const std::string& DocumentMessage::thumbnailsha256() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.thumbnailSha256)
return _internal_thumbnailsha256();
}
-inline void DocumentMessage::set_thumbnailsha256(const std::string& value) {
- _internal_set_thumbnailsha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DocumentMessage::set_thumbnailsha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000200u;
+ thumbnailsha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.thumbnailSha256)
}
inline std::string* DocumentMessage::mutable_thumbnailsha256() {
+ std::string* _s = _internal_mutable_thumbnailsha256();
// @@protoc_insertion_point(field_mutable:proto.DocumentMessage.thumbnailSha256)
- return _internal_mutable_thumbnailsha256();
+ return _s;
}
inline const std::string& DocumentMessage::_internal_thumbnailsha256() const {
return thumbnailsha256_.Get();
}
inline void DocumentMessage::_internal_set_thumbnailsha256(const std::string& value) {
_has_bits_[0] |= 0x00000200u;
- thumbnailsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DocumentMessage::set_thumbnailsha256(std::string&& value) {
- _has_bits_[0] |= 0x00000200u;
- thumbnailsha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DocumentMessage.thumbnailSha256)
-}
-inline void DocumentMessage::set_thumbnailsha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000200u;
- thumbnailsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DocumentMessage.thumbnailSha256)
-}
-inline void DocumentMessage::set_thumbnailsha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000200u;
- thumbnailsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DocumentMessage.thumbnailSha256)
+ thumbnailsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_thumbnailsha256() {
_has_bits_[0] |= 0x00000200u;
- return thumbnailsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return thumbnailsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_thumbnailsha256() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.thumbnailSha256)
@@ -31456,7 +30523,7 @@ inline std::string* DocumentMessage::release_thumbnailsha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000200u;
- return thumbnailsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return thumbnailsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DocumentMessage::set_allocated_thumbnailsha256(std::string* thumbnailsha256) {
if (thumbnailsha256 != nullptr) {
@@ -31465,7 +30532,7 @@ inline void DocumentMessage::set_allocated_thumbnailsha256(std::string* thumbnai
_has_bits_[0] &= ~0x00000200u;
}
thumbnailsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnailsha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.thumbnailSha256)
}
@@ -31485,43 +30552,28 @@ inline const std::string& DocumentMessage::thumbnailencsha256() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.thumbnailEncSha256)
return _internal_thumbnailencsha256();
}
-inline void DocumentMessage::set_thumbnailencsha256(const std::string& value) {
- _internal_set_thumbnailencsha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DocumentMessage::set_thumbnailencsha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000400u;
+ thumbnailencsha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.thumbnailEncSha256)
}
inline std::string* DocumentMessage::mutable_thumbnailencsha256() {
+ std::string* _s = _internal_mutable_thumbnailencsha256();
// @@protoc_insertion_point(field_mutable:proto.DocumentMessage.thumbnailEncSha256)
- return _internal_mutable_thumbnailencsha256();
+ return _s;
}
inline const std::string& DocumentMessage::_internal_thumbnailencsha256() const {
return thumbnailencsha256_.Get();
}
inline void DocumentMessage::_internal_set_thumbnailencsha256(const std::string& value) {
_has_bits_[0] |= 0x00000400u;
- thumbnailencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DocumentMessage::set_thumbnailencsha256(std::string&& value) {
- _has_bits_[0] |= 0x00000400u;
- thumbnailencsha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DocumentMessage.thumbnailEncSha256)
-}
-inline void DocumentMessage::set_thumbnailencsha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000400u;
- thumbnailencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DocumentMessage.thumbnailEncSha256)
-}
-inline void DocumentMessage::set_thumbnailencsha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000400u;
- thumbnailencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DocumentMessage.thumbnailEncSha256)
+ thumbnailencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_thumbnailencsha256() {
_has_bits_[0] |= 0x00000400u;
- return thumbnailencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return thumbnailencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_thumbnailencsha256() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.thumbnailEncSha256)
@@ -31529,7 +30581,7 @@ inline std::string* DocumentMessage::release_thumbnailencsha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000400u;
- return thumbnailencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return thumbnailencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DocumentMessage::set_allocated_thumbnailencsha256(std::string* thumbnailencsha256) {
if (thumbnailencsha256 != nullptr) {
@@ -31538,7 +30590,7 @@ inline void DocumentMessage::set_allocated_thumbnailencsha256(std::string* thumb
_has_bits_[0] &= ~0x00000400u;
}
thumbnailencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnailencsha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.thumbnailEncSha256)
}
@@ -31558,43 +30610,28 @@ inline const std::string& DocumentMessage::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.jpegThumbnail)
return _internal_jpegthumbnail();
}
-inline void DocumentMessage::set_jpegthumbnail(const std::string& value) {
- _internal_set_jpegthumbnail(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DocumentMessage::set_jpegthumbnail(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000800u;
+ jpegthumbnail_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.jpegThumbnail)
}
inline std::string* DocumentMessage::mutable_jpegthumbnail() {
+ std::string* _s = _internal_mutable_jpegthumbnail();
// @@protoc_insertion_point(field_mutable:proto.DocumentMessage.jpegThumbnail)
- return _internal_mutable_jpegthumbnail();
+ return _s;
}
inline const std::string& DocumentMessage::_internal_jpegthumbnail() const {
return jpegthumbnail_.Get();
}
inline void DocumentMessage::_internal_set_jpegthumbnail(const std::string& value) {
_has_bits_[0] |= 0x00000800u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DocumentMessage::set_jpegthumbnail(std::string&& value) {
- _has_bits_[0] |= 0x00000800u;
- jpegthumbnail_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DocumentMessage.jpegThumbnail)
-}
-inline void DocumentMessage::set_jpegthumbnail(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000800u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DocumentMessage.jpegThumbnail)
-}
-inline void DocumentMessage::set_jpegthumbnail(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000800u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DocumentMessage.jpegThumbnail)
+ jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_jpegthumbnail() {
_has_bits_[0] |= 0x00000800u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.jpegThumbnail)
@@ -31602,7 +30639,7 @@ inline std::string* DocumentMessage::release_jpegthumbnail() {
return nullptr;
}
_has_bits_[0] &= ~0x00000800u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DocumentMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
@@ -31611,7 +30648,7 @@ inline void DocumentMessage::set_allocated_jpegthumbnail(std::string* jpegthumbn
_has_bits_[0] &= ~0x00000800u;
}
jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.jpegThumbnail)
}
@@ -31639,7 +30676,7 @@ inline const ::proto::ContextInfo& DocumentMessage::contextinfo() const {
}
inline void DocumentMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -31654,9 +30691,15 @@ inline ::proto::ContextInfo* DocumentMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00001000u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* DocumentMessage::unsafe_arena_release_contextinfo() {
@@ -31669,23 +30712,24 @@ inline ::proto::ContextInfo* DocumentMessage::unsafe_arena_release_contextinfo()
inline ::proto::ContextInfo* DocumentMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00001000u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* DocumentMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.DocumentMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void DocumentMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -31774,43 +30818,28 @@ inline const std::string& AudioMessage::url() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.url)
return _internal_url();
}
-inline void AudioMessage::set_url(const std::string& value) {
- _internal_set_url(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void AudioMessage::set_url(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AudioMessage.url)
}
inline std::string* AudioMessage::mutable_url() {
+ std::string* _s = _internal_mutable_url();
// @@protoc_insertion_point(field_mutable:proto.AudioMessage.url)
- return _internal_mutable_url();
+ return _s;
}
inline const std::string& AudioMessage::_internal_url() const {
return url_.Get();
}
inline void AudioMessage::_internal_set_url(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void AudioMessage::set_url(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- url_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.AudioMessage.url)
-}
-inline void AudioMessage::set_url(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.AudioMessage.url)
-}
-inline void AudioMessage::set_url(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.AudioMessage.url)
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AudioMessage::_internal_mutable_url() {
_has_bits_[0] |= 0x00000001u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AudioMessage::release_url() {
// @@protoc_insertion_point(field_release:proto.AudioMessage.url)
@@ -31818,7 +30847,7 @@ inline std::string* AudioMessage::release_url() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AudioMessage::set_allocated_url(std::string* url) {
if (url != nullptr) {
@@ -31827,7 +30856,7 @@ inline void AudioMessage::set_allocated_url(std::string* url) {
_has_bits_[0] &= ~0x00000001u;
}
url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.AudioMessage.url)
}
@@ -31847,43 +30876,28 @@ inline const std::string& AudioMessage::mimetype() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.mimetype)
return _internal_mimetype();
}
-inline void AudioMessage::set_mimetype(const std::string& value) {
- _internal_set_mimetype(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void AudioMessage::set_mimetype(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AudioMessage.mimetype)
}
inline std::string* AudioMessage::mutable_mimetype() {
+ std::string* _s = _internal_mutable_mimetype();
// @@protoc_insertion_point(field_mutable:proto.AudioMessage.mimetype)
- return _internal_mutable_mimetype();
+ return _s;
}
inline const std::string& AudioMessage::_internal_mimetype() const {
return mimetype_.Get();
}
inline void AudioMessage::_internal_set_mimetype(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void AudioMessage::set_mimetype(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- mimetype_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.AudioMessage.mimetype)
-}
-inline void AudioMessage::set_mimetype(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.AudioMessage.mimetype)
-}
-inline void AudioMessage::set_mimetype(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.AudioMessage.mimetype)
+ mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AudioMessage::_internal_mutable_mimetype() {
_has_bits_[0] |= 0x00000002u;
- return mimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return mimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AudioMessage::release_mimetype() {
// @@protoc_insertion_point(field_release:proto.AudioMessage.mimetype)
@@ -31891,7 +30905,7 @@ inline std::string* AudioMessage::release_mimetype() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return mimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return mimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AudioMessage::set_allocated_mimetype(std::string* mimetype) {
if (mimetype != nullptr) {
@@ -31900,7 +30914,7 @@ inline void AudioMessage::set_allocated_mimetype(std::string* mimetype) {
_has_bits_[0] &= ~0x00000002u;
}
mimetype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mimetype,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.AudioMessage.mimetype)
}
@@ -31920,43 +30934,28 @@ inline const std::string& AudioMessage::filesha256() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.fileSha256)
return _internal_filesha256();
}
-inline void AudioMessage::set_filesha256(const std::string& value) {
- _internal_set_filesha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void AudioMessage::set_filesha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ filesha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AudioMessage.fileSha256)
}
inline std::string* AudioMessage::mutable_filesha256() {
+ std::string* _s = _internal_mutable_filesha256();
// @@protoc_insertion_point(field_mutable:proto.AudioMessage.fileSha256)
- return _internal_mutable_filesha256();
+ return _s;
}
inline const std::string& AudioMessage::_internal_filesha256() const {
return filesha256_.Get();
}
inline void AudioMessage::_internal_set_filesha256(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void AudioMessage::set_filesha256(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- filesha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.AudioMessage.fileSha256)
-}
-inline void AudioMessage::set_filesha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.AudioMessage.fileSha256)
-}
-inline void AudioMessage::set_filesha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.AudioMessage.fileSha256)
+ filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AudioMessage::_internal_mutable_filesha256() {
_has_bits_[0] |= 0x00000004u;
- return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AudioMessage::release_filesha256() {
// @@protoc_insertion_point(field_release:proto.AudioMessage.fileSha256)
@@ -31964,7 +30963,7 @@ inline std::string* AudioMessage::release_filesha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AudioMessage::set_allocated_filesha256(std::string* filesha256) {
if (filesha256 != nullptr) {
@@ -31973,7 +30972,7 @@ inline void AudioMessage::set_allocated_filesha256(std::string* filesha256) {
_has_bits_[0] &= ~0x00000004u;
}
filesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), filesha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.AudioMessage.fileSha256)
}
@@ -31986,7 +30985,7 @@ inline bool AudioMessage::has_filelength() const {
return _internal_has_filelength();
}
inline void AudioMessage::clear_filelength() {
- filelength_ = PROTOBUF_ULONGLONG(0);
+ filelength_ = uint64_t{0u};
_has_bits_[0] &= ~0x00000100u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 AudioMessage::_internal_filelength() const {
@@ -32077,43 +31076,28 @@ inline const std::string& AudioMessage::mediakey() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.mediaKey)
return _internal_mediakey();
}
-inline void AudioMessage::set_mediakey(const std::string& value) {
- _internal_set_mediakey(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void AudioMessage::set_mediakey(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ mediakey_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AudioMessage.mediaKey)
}
inline std::string* AudioMessage::mutable_mediakey() {
+ std::string* _s = _internal_mutable_mediakey();
// @@protoc_insertion_point(field_mutable:proto.AudioMessage.mediaKey)
- return _internal_mutable_mediakey();
+ return _s;
}
inline const std::string& AudioMessage::_internal_mediakey() const {
return mediakey_.Get();
}
inline void AudioMessage::_internal_set_mediakey(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void AudioMessage::set_mediakey(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- mediakey_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.AudioMessage.mediaKey)
-}
-inline void AudioMessage::set_mediakey(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.AudioMessage.mediaKey)
-}
-inline void AudioMessage::set_mediakey(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.AudioMessage.mediaKey)
+ mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AudioMessage::_internal_mutable_mediakey() {
_has_bits_[0] |= 0x00000008u;
- return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AudioMessage::release_mediakey() {
// @@protoc_insertion_point(field_release:proto.AudioMessage.mediaKey)
@@ -32121,7 +31105,7 @@ inline std::string* AudioMessage::release_mediakey() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AudioMessage::set_allocated_mediakey(std::string* mediakey) {
if (mediakey != nullptr) {
@@ -32130,7 +31114,7 @@ inline void AudioMessage::set_allocated_mediakey(std::string* mediakey) {
_has_bits_[0] &= ~0x00000008u;
}
mediakey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediakey,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.AudioMessage.mediaKey)
}
@@ -32150,43 +31134,28 @@ inline const std::string& AudioMessage::fileencsha256() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.fileEncSha256)
return _internal_fileencsha256();
}
-inline void AudioMessage::set_fileencsha256(const std::string& value) {
- _internal_set_fileencsha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void AudioMessage::set_fileencsha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000010u;
+ fileencsha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AudioMessage.fileEncSha256)
}
inline std::string* AudioMessage::mutable_fileencsha256() {
+ std::string* _s = _internal_mutable_fileencsha256();
// @@protoc_insertion_point(field_mutable:proto.AudioMessage.fileEncSha256)
- return _internal_mutable_fileencsha256();
+ return _s;
}
inline const std::string& AudioMessage::_internal_fileencsha256() const {
return fileencsha256_.Get();
}
inline void AudioMessage::_internal_set_fileencsha256(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void AudioMessage::set_fileencsha256(std::string&& value) {
- _has_bits_[0] |= 0x00000010u;
- fileencsha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.AudioMessage.fileEncSha256)
-}
-inline void AudioMessage::set_fileencsha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000010u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.AudioMessage.fileEncSha256)
-}
-inline void AudioMessage::set_fileencsha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000010u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.AudioMessage.fileEncSha256)
+ fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AudioMessage::_internal_mutable_fileencsha256() {
_has_bits_[0] |= 0x00000010u;
- return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AudioMessage::release_fileencsha256() {
// @@protoc_insertion_point(field_release:proto.AudioMessage.fileEncSha256)
@@ -32194,7 +31163,7 @@ inline std::string* AudioMessage::release_fileencsha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
- return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AudioMessage::set_allocated_fileencsha256(std::string* fileencsha256) {
if (fileencsha256 != nullptr) {
@@ -32203,7 +31172,7 @@ inline void AudioMessage::set_allocated_fileencsha256(std::string* fileencsha256
_has_bits_[0] &= ~0x00000010u;
}
fileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fileencsha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.AudioMessage.fileEncSha256)
}
@@ -32223,43 +31192,28 @@ inline const std::string& AudioMessage::directpath() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.directPath)
return _internal_directpath();
}
-inline void AudioMessage::set_directpath(const std::string& value) {
- _internal_set_directpath(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void AudioMessage::set_directpath(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000020u;
+ directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AudioMessage.directPath)
}
inline std::string* AudioMessage::mutable_directpath() {
+ std::string* _s = _internal_mutable_directpath();
// @@protoc_insertion_point(field_mutable:proto.AudioMessage.directPath)
- return _internal_mutable_directpath();
+ return _s;
}
inline const std::string& AudioMessage::_internal_directpath() const {
return directpath_.Get();
}
inline void AudioMessage::_internal_set_directpath(const std::string& value) {
_has_bits_[0] |= 0x00000020u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void AudioMessage::set_directpath(std::string&& value) {
- _has_bits_[0] |= 0x00000020u;
- directpath_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.AudioMessage.directPath)
-}
-inline void AudioMessage::set_directpath(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000020u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.AudioMessage.directPath)
-}
-inline void AudioMessage::set_directpath(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000020u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.AudioMessage.directPath)
+ directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AudioMessage::_internal_mutable_directpath() {
_has_bits_[0] |= 0x00000020u;
- return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AudioMessage::release_directpath() {
// @@protoc_insertion_point(field_release:proto.AudioMessage.directPath)
@@ -32267,7 +31221,7 @@ inline std::string* AudioMessage::release_directpath() {
return nullptr;
}
_has_bits_[0] &= ~0x00000020u;
- return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AudioMessage::set_allocated_directpath(std::string* directpath) {
if (directpath != nullptr) {
@@ -32276,7 +31230,7 @@ inline void AudioMessage::set_allocated_directpath(std::string* directpath) {
_has_bits_[0] &= ~0x00000020u;
}
directpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), directpath,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.AudioMessage.directPath)
}
@@ -32289,7 +31243,7 @@ inline bool AudioMessage::has_mediakeytimestamp() const {
return _internal_has_mediakeytimestamp();
}
inline void AudioMessage::clear_mediakeytimestamp() {
- mediakeytimestamp_ = PROTOBUF_LONGLONG(0);
+ mediakeytimestamp_ = int64_t{0};
_has_bits_[0] &= ~0x00000800u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 AudioMessage::_internal_mediakeytimestamp() const {
@@ -32332,7 +31286,7 @@ inline const ::proto::ContextInfo& AudioMessage::contextinfo() const {
}
inline void AudioMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -32347,9 +31301,15 @@ inline ::proto::ContextInfo* AudioMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00000080u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* AudioMessage::unsafe_arena_release_contextinfo() {
@@ -32362,23 +31322,24 @@ inline ::proto::ContextInfo* AudioMessage::unsafe_arena_release_contextinfo() {
inline ::proto::ContextInfo* AudioMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00000080u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* AudioMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.AudioMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void AudioMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -32407,43 +31368,28 @@ inline const std::string& AudioMessage::streamingsidecar() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.streamingSidecar)
return _internal_streamingsidecar();
}
-inline void AudioMessage::set_streamingsidecar(const std::string& value) {
- _internal_set_streamingsidecar(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void AudioMessage::set_streamingsidecar(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000040u;
+ streamingsidecar_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AudioMessage.streamingSidecar)
}
inline std::string* AudioMessage::mutable_streamingsidecar() {
+ std::string* _s = _internal_mutable_streamingsidecar();
// @@protoc_insertion_point(field_mutable:proto.AudioMessage.streamingSidecar)
- return _internal_mutable_streamingsidecar();
+ return _s;
}
inline const std::string& AudioMessage::_internal_streamingsidecar() const {
return streamingsidecar_.Get();
}
inline void AudioMessage::_internal_set_streamingsidecar(const std::string& value) {
_has_bits_[0] |= 0x00000040u;
- streamingsidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void AudioMessage::set_streamingsidecar(std::string&& value) {
- _has_bits_[0] |= 0x00000040u;
- streamingsidecar_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.AudioMessage.streamingSidecar)
-}
-inline void AudioMessage::set_streamingsidecar(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000040u;
- streamingsidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.AudioMessage.streamingSidecar)
-}
-inline void AudioMessage::set_streamingsidecar(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000040u;
- streamingsidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.AudioMessage.streamingSidecar)
+ streamingsidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AudioMessage::_internal_mutable_streamingsidecar() {
_has_bits_[0] |= 0x00000040u;
- return streamingsidecar_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return streamingsidecar_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AudioMessage::release_streamingsidecar() {
// @@protoc_insertion_point(field_release:proto.AudioMessage.streamingSidecar)
@@ -32451,7 +31397,7 @@ inline std::string* AudioMessage::release_streamingsidecar() {
return nullptr;
}
_has_bits_[0] &= ~0x00000040u;
- return streamingsidecar_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return streamingsidecar_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AudioMessage::set_allocated_streamingsidecar(std::string* streamingsidecar) {
if (streamingsidecar != nullptr) {
@@ -32460,7 +31406,7 @@ inline void AudioMessage::set_allocated_streamingsidecar(std::string* streamings
_has_bits_[0] &= ~0x00000040u;
}
streamingsidecar_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), streamingsidecar,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.AudioMessage.streamingSidecar)
}
@@ -32484,43 +31430,28 @@ inline const std::string& VideoMessage::url() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.url)
return _internal_url();
}
-inline void VideoMessage::set_url(const std::string& value) {
- _internal_set_url(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void VideoMessage::set_url(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.url)
}
inline std::string* VideoMessage::mutable_url() {
+ std::string* _s = _internal_mutable_url();
// @@protoc_insertion_point(field_mutable:proto.VideoMessage.url)
- return _internal_mutable_url();
+ return _s;
}
inline const std::string& VideoMessage::_internal_url() const {
return url_.Get();
}
inline void VideoMessage::_internal_set_url(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void VideoMessage::set_url(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- url_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.VideoMessage.url)
-}
-inline void VideoMessage::set_url(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.VideoMessage.url)
-}
-inline void VideoMessage::set_url(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.VideoMessage.url)
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_url() {
_has_bits_[0] |= 0x00000001u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* VideoMessage::release_url() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.url)
@@ -32528,7 +31459,7 @@ inline std::string* VideoMessage::release_url() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void VideoMessage::set_allocated_url(std::string* url) {
if (url != nullptr) {
@@ -32537,7 +31468,7 @@ inline void VideoMessage::set_allocated_url(std::string* url) {
_has_bits_[0] &= ~0x00000001u;
}
url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.url)
}
@@ -32557,43 +31488,28 @@ inline const std::string& VideoMessage::mimetype() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.mimetype)
return _internal_mimetype();
}
-inline void VideoMessage::set_mimetype(const std::string& value) {
- _internal_set_mimetype(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void VideoMessage::set_mimetype(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.mimetype)
}
inline std::string* VideoMessage::mutable_mimetype() {
+ std::string* _s = _internal_mutable_mimetype();
// @@protoc_insertion_point(field_mutable:proto.VideoMessage.mimetype)
- return _internal_mutable_mimetype();
+ return _s;
}
inline const std::string& VideoMessage::_internal_mimetype() const {
return mimetype_.Get();
}
inline void VideoMessage::_internal_set_mimetype(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void VideoMessage::set_mimetype(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- mimetype_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.VideoMessage.mimetype)
-}
-inline void VideoMessage::set_mimetype(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.VideoMessage.mimetype)
-}
-inline void VideoMessage::set_mimetype(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.VideoMessage.mimetype)
+ mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_mimetype() {
_has_bits_[0] |= 0x00000002u;
- return mimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return mimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* VideoMessage::release_mimetype() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.mimetype)
@@ -32601,7 +31517,7 @@ inline std::string* VideoMessage::release_mimetype() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return mimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return mimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void VideoMessage::set_allocated_mimetype(std::string* mimetype) {
if (mimetype != nullptr) {
@@ -32610,7 +31526,7 @@ inline void VideoMessage::set_allocated_mimetype(std::string* mimetype) {
_has_bits_[0] &= ~0x00000002u;
}
mimetype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mimetype,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.mimetype)
}
@@ -32630,43 +31546,28 @@ inline const std::string& VideoMessage::filesha256() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.fileSha256)
return _internal_filesha256();
}
-inline void VideoMessage::set_filesha256(const std::string& value) {
- _internal_set_filesha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void VideoMessage::set_filesha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ filesha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.fileSha256)
}
inline std::string* VideoMessage::mutable_filesha256() {
+ std::string* _s = _internal_mutable_filesha256();
// @@protoc_insertion_point(field_mutable:proto.VideoMessage.fileSha256)
- return _internal_mutable_filesha256();
+ return _s;
}
inline const std::string& VideoMessage::_internal_filesha256() const {
return filesha256_.Get();
}
inline void VideoMessage::_internal_set_filesha256(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void VideoMessage::set_filesha256(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- filesha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.VideoMessage.fileSha256)
-}
-inline void VideoMessage::set_filesha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.VideoMessage.fileSha256)
-}
-inline void VideoMessage::set_filesha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.VideoMessage.fileSha256)
+ filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_filesha256() {
_has_bits_[0] |= 0x00000004u;
- return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* VideoMessage::release_filesha256() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.fileSha256)
@@ -32674,7 +31575,7 @@ inline std::string* VideoMessage::release_filesha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void VideoMessage::set_allocated_filesha256(std::string* filesha256) {
if (filesha256 != nullptr) {
@@ -32683,7 +31584,7 @@ inline void VideoMessage::set_allocated_filesha256(std::string* filesha256) {
_has_bits_[0] &= ~0x00000004u;
}
filesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), filesha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.fileSha256)
}
@@ -32696,7 +31597,7 @@ inline bool VideoMessage::has_filelength() const {
return _internal_has_filelength();
}
inline void VideoMessage::clear_filelength() {
- filelength_ = PROTOBUF_ULONGLONG(0);
+ filelength_ = uint64_t{0u};
_has_bits_[0] &= ~0x00002000u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 VideoMessage::_internal_filelength() const {
@@ -32759,43 +31660,28 @@ inline const std::string& VideoMessage::mediakey() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.mediaKey)
return _internal_mediakey();
}
-inline void VideoMessage::set_mediakey(const std::string& value) {
- _internal_set_mediakey(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void VideoMessage::set_mediakey(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ mediakey_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.mediaKey)
}
inline std::string* VideoMessage::mutable_mediakey() {
+ std::string* _s = _internal_mutable_mediakey();
// @@protoc_insertion_point(field_mutable:proto.VideoMessage.mediaKey)
- return _internal_mutable_mediakey();
+ return _s;
}
inline const std::string& VideoMessage::_internal_mediakey() const {
return mediakey_.Get();
}
inline void VideoMessage::_internal_set_mediakey(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void VideoMessage::set_mediakey(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- mediakey_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.VideoMessage.mediaKey)
-}
-inline void VideoMessage::set_mediakey(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.VideoMessage.mediaKey)
-}
-inline void VideoMessage::set_mediakey(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.VideoMessage.mediaKey)
+ mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_mediakey() {
_has_bits_[0] |= 0x00000008u;
- return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* VideoMessage::release_mediakey() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.mediaKey)
@@ -32803,7 +31689,7 @@ inline std::string* VideoMessage::release_mediakey() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void VideoMessage::set_allocated_mediakey(std::string* mediakey) {
if (mediakey != nullptr) {
@@ -32812,7 +31698,7 @@ inline void VideoMessage::set_allocated_mediakey(std::string* mediakey) {
_has_bits_[0] &= ~0x00000008u;
}
mediakey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediakey,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.mediaKey)
}
@@ -32832,43 +31718,28 @@ inline const std::string& VideoMessage::caption() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.caption)
return _internal_caption();
}
-inline void VideoMessage::set_caption(const std::string& value) {
- _internal_set_caption(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void VideoMessage::set_caption(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000010u;
+ caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.caption)
}
inline std::string* VideoMessage::mutable_caption() {
+ std::string* _s = _internal_mutable_caption();
// @@protoc_insertion_point(field_mutable:proto.VideoMessage.caption)
- return _internal_mutable_caption();
+ return _s;
}
inline const std::string& VideoMessage::_internal_caption() const {
return caption_.Get();
}
inline void VideoMessage::_internal_set_caption(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void VideoMessage::set_caption(std::string&& value) {
- _has_bits_[0] |= 0x00000010u;
- caption_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.VideoMessage.caption)
-}
-inline void VideoMessage::set_caption(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000010u;
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.VideoMessage.caption)
-}
-inline void VideoMessage::set_caption(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000010u;
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.VideoMessage.caption)
+ caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_caption() {
_has_bits_[0] |= 0x00000010u;
- return caption_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return caption_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* VideoMessage::release_caption() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.caption)
@@ -32876,7 +31747,7 @@ inline std::string* VideoMessage::release_caption() {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
- return caption_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return caption_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void VideoMessage::set_allocated_caption(std::string* caption) {
if (caption != nullptr) {
@@ -32885,7 +31756,7 @@ inline void VideoMessage::set_allocated_caption(std::string* caption) {
_has_bits_[0] &= ~0x00000010u;
}
caption_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), caption,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.caption)
}
@@ -32989,43 +31860,28 @@ inline const std::string& VideoMessage::fileencsha256() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.fileEncSha256)
return _internal_fileencsha256();
}
-inline void VideoMessage::set_fileencsha256(const std::string& value) {
- _internal_set_fileencsha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void VideoMessage::set_fileencsha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000020u;
+ fileencsha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.fileEncSha256)
}
inline std::string* VideoMessage::mutable_fileencsha256() {
+ std::string* _s = _internal_mutable_fileencsha256();
// @@protoc_insertion_point(field_mutable:proto.VideoMessage.fileEncSha256)
- return _internal_mutable_fileencsha256();
+ return _s;
}
inline const std::string& VideoMessage::_internal_fileencsha256() const {
return fileencsha256_.Get();
}
inline void VideoMessage::_internal_set_fileencsha256(const std::string& value) {
_has_bits_[0] |= 0x00000020u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void VideoMessage::set_fileencsha256(std::string&& value) {
- _has_bits_[0] |= 0x00000020u;
- fileencsha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.VideoMessage.fileEncSha256)
-}
-inline void VideoMessage::set_fileencsha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000020u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.VideoMessage.fileEncSha256)
-}
-inline void VideoMessage::set_fileencsha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000020u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.VideoMessage.fileEncSha256)
+ fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_fileencsha256() {
_has_bits_[0] |= 0x00000020u;
- return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* VideoMessage::release_fileencsha256() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.fileEncSha256)
@@ -33033,7 +31889,7 @@ inline std::string* VideoMessage::release_fileencsha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000020u;
- return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void VideoMessage::set_allocated_fileencsha256(std::string* fileencsha256) {
if (fileencsha256 != nullptr) {
@@ -33042,7 +31898,7 @@ inline void VideoMessage::set_allocated_fileencsha256(std::string* fileencsha256
_has_bits_[0] &= ~0x00000020u;
}
fileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fileencsha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.fileEncSha256)
}
@@ -33076,8 +31932,9 @@ inline ::proto::InteractiveAnnotation* VideoMessage::_internal_add_interactivean
return interactiveannotations_.Add();
}
inline ::proto::InteractiveAnnotation* VideoMessage::add_interactiveannotations() {
+ ::proto::InteractiveAnnotation* _add = _internal_add_interactiveannotations();
// @@protoc_insertion_point(field_add:proto.VideoMessage.interactiveAnnotations)
- return _internal_add_interactiveannotations();
+ return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::InteractiveAnnotation >&
VideoMessage::interactiveannotations() const {
@@ -33101,43 +31958,28 @@ inline const std::string& VideoMessage::directpath() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.directPath)
return _internal_directpath();
}
-inline void VideoMessage::set_directpath(const std::string& value) {
- _internal_set_directpath(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void VideoMessage::set_directpath(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000040u;
+ directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.directPath)
}
inline std::string* VideoMessage::mutable_directpath() {
+ std::string* _s = _internal_mutable_directpath();
// @@protoc_insertion_point(field_mutable:proto.VideoMessage.directPath)
- return _internal_mutable_directpath();
+ return _s;
}
inline const std::string& VideoMessage::_internal_directpath() const {
return directpath_.Get();
}
inline void VideoMessage::_internal_set_directpath(const std::string& value) {
_has_bits_[0] |= 0x00000040u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void VideoMessage::set_directpath(std::string&& value) {
- _has_bits_[0] |= 0x00000040u;
- directpath_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.VideoMessage.directPath)
-}
-inline void VideoMessage::set_directpath(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000040u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.VideoMessage.directPath)
-}
-inline void VideoMessage::set_directpath(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000040u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.VideoMessage.directPath)
+ directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_directpath() {
_has_bits_[0] |= 0x00000040u;
- return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* VideoMessage::release_directpath() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.directPath)
@@ -33145,7 +31987,7 @@ inline std::string* VideoMessage::release_directpath() {
return nullptr;
}
_has_bits_[0] &= ~0x00000040u;
- return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void VideoMessage::set_allocated_directpath(std::string* directpath) {
if (directpath != nullptr) {
@@ -33154,7 +31996,7 @@ inline void VideoMessage::set_allocated_directpath(std::string* directpath) {
_has_bits_[0] &= ~0x00000040u;
}
directpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), directpath,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.directPath)
}
@@ -33167,7 +32009,7 @@ inline bool VideoMessage::has_mediakeytimestamp() const {
return _internal_has_mediakeytimestamp();
}
inline void VideoMessage::clear_mediakeytimestamp() {
- mediakeytimestamp_ = PROTOBUF_LONGLONG(0);
+ mediakeytimestamp_ = int64_t{0};
_has_bits_[0] &= ~0x00080000u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 VideoMessage::_internal_mediakeytimestamp() const {
@@ -33202,43 +32044,28 @@ inline const std::string& VideoMessage::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.jpegThumbnail)
return _internal_jpegthumbnail();
}
-inline void VideoMessage::set_jpegthumbnail(const std::string& value) {
- _internal_set_jpegthumbnail(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void VideoMessage::set_jpegthumbnail(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000080u;
+ jpegthumbnail_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.jpegThumbnail)
}
inline std::string* VideoMessage::mutable_jpegthumbnail() {
+ std::string* _s = _internal_mutable_jpegthumbnail();
// @@protoc_insertion_point(field_mutable:proto.VideoMessage.jpegThumbnail)
- return _internal_mutable_jpegthumbnail();
+ return _s;
}
inline const std::string& VideoMessage::_internal_jpegthumbnail() const {
return jpegthumbnail_.Get();
}
inline void VideoMessage::_internal_set_jpegthumbnail(const std::string& value) {
_has_bits_[0] |= 0x00000080u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void VideoMessage::set_jpegthumbnail(std::string&& value) {
- _has_bits_[0] |= 0x00000080u;
- jpegthumbnail_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.VideoMessage.jpegThumbnail)
-}
-inline void VideoMessage::set_jpegthumbnail(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000080u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.VideoMessage.jpegThumbnail)
-}
-inline void VideoMessage::set_jpegthumbnail(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000080u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.VideoMessage.jpegThumbnail)
+ jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_jpegthumbnail() {
_has_bits_[0] |= 0x00000080u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* VideoMessage::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.jpegThumbnail)
@@ -33246,7 +32073,7 @@ inline std::string* VideoMessage::release_jpegthumbnail() {
return nullptr;
}
_has_bits_[0] &= ~0x00000080u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void VideoMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
@@ -33255,7 +32082,7 @@ inline void VideoMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail
_has_bits_[0] &= ~0x00000080u;
}
jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.jpegThumbnail)
}
@@ -33283,7 +32110,7 @@ inline const ::proto::ContextInfo& VideoMessage::contextinfo() const {
}
inline void VideoMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -33298,9 +32125,15 @@ inline ::proto::ContextInfo* VideoMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00001000u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* VideoMessage::unsafe_arena_release_contextinfo() {
@@ -33313,23 +32146,24 @@ inline ::proto::ContextInfo* VideoMessage::unsafe_arena_release_contextinfo() {
inline ::proto::ContextInfo* VideoMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00001000u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* VideoMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.VideoMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void VideoMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -33358,43 +32192,28 @@ inline const std::string& VideoMessage::streamingsidecar() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.streamingSidecar)
return _internal_streamingsidecar();
}
-inline void VideoMessage::set_streamingsidecar(const std::string& value) {
- _internal_set_streamingsidecar(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void VideoMessage::set_streamingsidecar(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000100u;
+ streamingsidecar_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.streamingSidecar)
}
inline std::string* VideoMessage::mutable_streamingsidecar() {
+ std::string* _s = _internal_mutable_streamingsidecar();
// @@protoc_insertion_point(field_mutable:proto.VideoMessage.streamingSidecar)
- return _internal_mutable_streamingsidecar();
+ return _s;
}
inline const std::string& VideoMessage::_internal_streamingsidecar() const {
return streamingsidecar_.Get();
}
inline void VideoMessage::_internal_set_streamingsidecar(const std::string& value) {
_has_bits_[0] |= 0x00000100u;
- streamingsidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void VideoMessage::set_streamingsidecar(std::string&& value) {
- _has_bits_[0] |= 0x00000100u;
- streamingsidecar_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.VideoMessage.streamingSidecar)
-}
-inline void VideoMessage::set_streamingsidecar(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000100u;
- streamingsidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.VideoMessage.streamingSidecar)
-}
-inline void VideoMessage::set_streamingsidecar(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000100u;
- streamingsidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.VideoMessage.streamingSidecar)
+ streamingsidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_streamingsidecar() {
_has_bits_[0] |= 0x00000100u;
- return streamingsidecar_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return streamingsidecar_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* VideoMessage::release_streamingsidecar() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.streamingSidecar)
@@ -33402,7 +32221,7 @@ inline std::string* VideoMessage::release_streamingsidecar() {
return nullptr;
}
_has_bits_[0] &= ~0x00000100u;
- return streamingsidecar_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return streamingsidecar_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void VideoMessage::set_allocated_streamingsidecar(std::string* streamingsidecar) {
if (streamingsidecar != nullptr) {
@@ -33411,7 +32230,7 @@ inline void VideoMessage::set_allocated_streamingsidecar(std::string* streamings
_has_bits_[0] &= ~0x00000100u;
}
streamingsidecar_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), streamingsidecar,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.streamingSidecar)
}
@@ -33488,43 +32307,28 @@ inline const std::string& VideoMessage::thumbnaildirectpath() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.thumbnailDirectPath)
return _internal_thumbnaildirectpath();
}
-inline void VideoMessage::set_thumbnaildirectpath(const std::string& value) {
- _internal_set_thumbnaildirectpath(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void VideoMessage::set_thumbnaildirectpath(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000200u;
+ thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.thumbnailDirectPath)
}
inline std::string* VideoMessage::mutable_thumbnaildirectpath() {
+ std::string* _s = _internal_mutable_thumbnaildirectpath();
// @@protoc_insertion_point(field_mutable:proto.VideoMessage.thumbnailDirectPath)
- return _internal_mutable_thumbnaildirectpath();
+ return _s;
}
inline const std::string& VideoMessage::_internal_thumbnaildirectpath() const {
return thumbnaildirectpath_.Get();
}
inline void VideoMessage::_internal_set_thumbnaildirectpath(const std::string& value) {
_has_bits_[0] |= 0x00000200u;
- thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void VideoMessage::set_thumbnaildirectpath(std::string&& value) {
- _has_bits_[0] |= 0x00000200u;
- thumbnaildirectpath_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.VideoMessage.thumbnailDirectPath)
-}
-inline void VideoMessage::set_thumbnaildirectpath(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000200u;
- thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.VideoMessage.thumbnailDirectPath)
-}
-inline void VideoMessage::set_thumbnaildirectpath(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000200u;
- thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.VideoMessage.thumbnailDirectPath)
+ thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_thumbnaildirectpath() {
_has_bits_[0] |= 0x00000200u;
- return thumbnaildirectpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return thumbnaildirectpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* VideoMessage::release_thumbnaildirectpath() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.thumbnailDirectPath)
@@ -33532,7 +32336,7 @@ inline std::string* VideoMessage::release_thumbnaildirectpath() {
return nullptr;
}
_has_bits_[0] &= ~0x00000200u;
- return thumbnaildirectpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return thumbnaildirectpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void VideoMessage::set_allocated_thumbnaildirectpath(std::string* thumbnaildirectpath) {
if (thumbnaildirectpath != nullptr) {
@@ -33541,7 +32345,7 @@ inline void VideoMessage::set_allocated_thumbnaildirectpath(std::string* thumbna
_has_bits_[0] &= ~0x00000200u;
}
thumbnaildirectpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnaildirectpath,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.thumbnailDirectPath)
}
@@ -33561,43 +32365,28 @@ inline const std::string& VideoMessage::thumbnailsha256() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.thumbnailSha256)
return _internal_thumbnailsha256();
}
-inline void VideoMessage::set_thumbnailsha256(const std::string& value) {
- _internal_set_thumbnailsha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void VideoMessage::set_thumbnailsha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000400u;
+ thumbnailsha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.thumbnailSha256)
}
inline std::string* VideoMessage::mutable_thumbnailsha256() {
+ std::string* _s = _internal_mutable_thumbnailsha256();
// @@protoc_insertion_point(field_mutable:proto.VideoMessage.thumbnailSha256)
- return _internal_mutable_thumbnailsha256();
+ return _s;
}
inline const std::string& VideoMessage::_internal_thumbnailsha256() const {
return thumbnailsha256_.Get();
}
inline void VideoMessage::_internal_set_thumbnailsha256(const std::string& value) {
_has_bits_[0] |= 0x00000400u;
- thumbnailsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void VideoMessage::set_thumbnailsha256(std::string&& value) {
- _has_bits_[0] |= 0x00000400u;
- thumbnailsha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.VideoMessage.thumbnailSha256)
-}
-inline void VideoMessage::set_thumbnailsha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000400u;
- thumbnailsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.VideoMessage.thumbnailSha256)
-}
-inline void VideoMessage::set_thumbnailsha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000400u;
- thumbnailsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.VideoMessage.thumbnailSha256)
+ thumbnailsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_thumbnailsha256() {
_has_bits_[0] |= 0x00000400u;
- return thumbnailsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return thumbnailsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* VideoMessage::release_thumbnailsha256() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.thumbnailSha256)
@@ -33605,7 +32394,7 @@ inline std::string* VideoMessage::release_thumbnailsha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000400u;
- return thumbnailsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return thumbnailsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void VideoMessage::set_allocated_thumbnailsha256(std::string* thumbnailsha256) {
if (thumbnailsha256 != nullptr) {
@@ -33614,7 +32403,7 @@ inline void VideoMessage::set_allocated_thumbnailsha256(std::string* thumbnailsh
_has_bits_[0] &= ~0x00000400u;
}
thumbnailsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnailsha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.thumbnailSha256)
}
@@ -33634,43 +32423,28 @@ inline const std::string& VideoMessage::thumbnailencsha256() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.thumbnailEncSha256)
return _internal_thumbnailencsha256();
}
-inline void VideoMessage::set_thumbnailencsha256(const std::string& value) {
- _internal_set_thumbnailencsha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void VideoMessage::set_thumbnailencsha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000800u;
+ thumbnailencsha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.thumbnailEncSha256)
}
inline std::string* VideoMessage::mutable_thumbnailencsha256() {
+ std::string* _s = _internal_mutable_thumbnailencsha256();
// @@protoc_insertion_point(field_mutable:proto.VideoMessage.thumbnailEncSha256)
- return _internal_mutable_thumbnailencsha256();
+ return _s;
}
inline const std::string& VideoMessage::_internal_thumbnailencsha256() const {
return thumbnailencsha256_.Get();
}
inline void VideoMessage::_internal_set_thumbnailencsha256(const std::string& value) {
_has_bits_[0] |= 0x00000800u;
- thumbnailencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void VideoMessage::set_thumbnailencsha256(std::string&& value) {
- _has_bits_[0] |= 0x00000800u;
- thumbnailencsha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.VideoMessage.thumbnailEncSha256)
-}
-inline void VideoMessage::set_thumbnailencsha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000800u;
- thumbnailencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.VideoMessage.thumbnailEncSha256)
-}
-inline void VideoMessage::set_thumbnailencsha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000800u;
- thumbnailencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.VideoMessage.thumbnailEncSha256)
+ thumbnailencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_thumbnailencsha256() {
_has_bits_[0] |= 0x00000800u;
- return thumbnailencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return thumbnailencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* VideoMessage::release_thumbnailencsha256() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.thumbnailEncSha256)
@@ -33678,7 +32452,7 @@ inline std::string* VideoMessage::release_thumbnailencsha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000800u;
- return thumbnailencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return thumbnailencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void VideoMessage::set_allocated_thumbnailencsha256(std::string* thumbnailencsha256) {
if (thumbnailencsha256 != nullptr) {
@@ -33687,7 +32461,7 @@ inline void VideoMessage::set_allocated_thumbnailencsha256(std::string* thumbnai
_has_bits_[0] &= ~0x00000800u;
}
thumbnailencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnailencsha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.thumbnailEncSha256)
}
@@ -33711,43 +32485,28 @@ inline const std::string& Call::callkey() const {
// @@protoc_insertion_point(field_get:proto.Call.callKey)
return _internal_callkey();
}
-inline void Call::set_callkey(const std::string& value) {
- _internal_set_callkey(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void Call::set_callkey(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ callkey_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Call.callKey)
}
inline std::string* Call::mutable_callkey() {
+ std::string* _s = _internal_mutable_callkey();
// @@protoc_insertion_point(field_mutable:proto.Call.callKey)
- return _internal_mutable_callkey();
+ return _s;
}
inline const std::string& Call::_internal_callkey() const {
return callkey_.Get();
}
inline void Call::_internal_set_callkey(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- callkey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void Call::set_callkey(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- callkey_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.Call.callKey)
-}
-inline void Call::set_callkey(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- callkey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.Call.callKey)
-}
-inline void Call::set_callkey(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- callkey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.Call.callKey)
+ callkey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* Call::_internal_mutable_callkey() {
_has_bits_[0] |= 0x00000001u;
- return callkey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return callkey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* Call::release_callkey() {
// @@protoc_insertion_point(field_release:proto.Call.callKey)
@@ -33755,7 +32514,7 @@ inline std::string* Call::release_callkey() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return callkey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return callkey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void Call::set_allocated_callkey(std::string* callkey) {
if (callkey != nullptr) {
@@ -33764,7 +32523,7 @@ inline void Call::set_allocated_callkey(std::string* callkey) {
_has_bits_[0] &= ~0x00000001u;
}
callkey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), callkey,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.Call.callKey)
}
@@ -33788,43 +32547,28 @@ inline const std::string& Chat::displayname() const {
// @@protoc_insertion_point(field_get:proto.Chat.displayName)
return _internal_displayname();
}
-inline void Chat::set_displayname(const std::string& value) {
- _internal_set_displayname(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void Chat::set_displayname(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Chat.displayName)
}
inline std::string* Chat::mutable_displayname() {
+ std::string* _s = _internal_mutable_displayname();
// @@protoc_insertion_point(field_mutable:proto.Chat.displayName)
- return _internal_mutable_displayname();
+ return _s;
}
inline const std::string& Chat::_internal_displayname() const {
return displayname_.Get();
}
inline void Chat::_internal_set_displayname(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void Chat::set_displayname(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- displayname_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.Chat.displayName)
-}
-inline void Chat::set_displayname(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.Chat.displayName)
-}
-inline void Chat::set_displayname(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.Chat.displayName)
+ displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* Chat::_internal_mutable_displayname() {
_has_bits_[0] |= 0x00000001u;
- return displayname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return displayname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* Chat::release_displayname() {
// @@protoc_insertion_point(field_release:proto.Chat.displayName)
@@ -33832,7 +32576,7 @@ inline std::string* Chat::release_displayname() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return displayname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return displayname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void Chat::set_allocated_displayname(std::string* displayname) {
if (displayname != nullptr) {
@@ -33841,7 +32585,7 @@ inline void Chat::set_allocated_displayname(std::string* displayname) {
_has_bits_[0] &= ~0x00000001u;
}
displayname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), displayname,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.Chat.displayName)
}
@@ -33861,43 +32605,28 @@ inline const std::string& Chat::id() const {
// @@protoc_insertion_point(field_get:proto.Chat.id)
return _internal_id();
}
-inline void Chat::set_id(const std::string& value) {
- _internal_set_id(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void Chat::set_id(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Chat.id)
}
inline std::string* Chat::mutable_id() {
+ std::string* _s = _internal_mutable_id();
// @@protoc_insertion_point(field_mutable:proto.Chat.id)
- return _internal_mutable_id();
+ return _s;
}
inline const std::string& Chat::_internal_id() const {
return id_.Get();
}
inline void Chat::_internal_set_id(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void Chat::set_id(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- id_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.Chat.id)
-}
-inline void Chat::set_id(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.Chat.id)
-}
-inline void Chat::set_id(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.Chat.id)
+ id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* Chat::_internal_mutable_id() {
_has_bits_[0] |= 0x00000002u;
- return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* Chat::release_id() {
// @@protoc_insertion_point(field_release:proto.Chat.id)
@@ -33905,7 +32634,7 @@ inline std::string* Chat::release_id() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void Chat::set_allocated_id(std::string* id) {
if (id != nullptr) {
@@ -33914,7 +32643,7 @@ inline void Chat::set_allocated_id(std::string* id) {
_has_bits_[0] &= ~0x00000002u;
}
id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.Chat.id)
}
@@ -33946,7 +32675,7 @@ inline const ::proto::MessageKey& ProtocolMessage::key() const {
}
inline void ProtocolMessage::unsafe_arena_set_allocated_key(
::proto::MessageKey* key) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_);
}
key_ = key;
@@ -33961,9 +32690,15 @@ inline ::proto::MessageKey* ProtocolMessage::release_key() {
_has_bits_[0] &= ~0x00000001u;
::proto::MessageKey* temp = key_;
key_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::MessageKey* ProtocolMessage::unsafe_arena_release_key() {
@@ -33976,23 +32711,24 @@ inline ::proto::MessageKey* ProtocolMessage::unsafe_arena_release_key() {
inline ::proto::MessageKey* ProtocolMessage::_internal_mutable_key() {
_has_bits_[0] |= 0x00000001u;
if (key_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
key_ = p;
}
return key_;
}
inline ::proto::MessageKey* ProtocolMessage::mutable_key() {
+ ::proto::MessageKey* _msg = _internal_mutable_key();
// @@protoc_insertion_point(field_mutable:proto.ProtocolMessage.key)
- return _internal_mutable_key();
+ return _msg;
}
inline void ProtocolMessage::set_allocated_key(::proto::MessageKey* key) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete key_;
}
if (key) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(key);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(key);
if (message_arena != submessage_arena) {
key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, key, submessage_arena);
@@ -34071,7 +32807,7 @@ inline bool ProtocolMessage::has_ephemeralsettingtimestamp() const {
return _internal_has_ephemeralsettingtimestamp();
}
inline void ProtocolMessage::clear_ephemeralsettingtimestamp() {
- ephemeralsettingtimestamp_ = PROTOBUF_LONGLONG(0);
+ ephemeralsettingtimestamp_ = int64_t{0};
_has_bits_[0] &= ~0x00000100u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 ProtocolMessage::_internal_ephemeralsettingtimestamp() const {
@@ -34114,7 +32850,7 @@ inline const ::proto::HistorySyncNotification& ProtocolMessage::historysyncnotif
}
inline void ProtocolMessage::unsafe_arena_set_allocated_historysyncnotification(
::proto::HistorySyncNotification* historysyncnotification) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(historysyncnotification_);
}
historysyncnotification_ = historysyncnotification;
@@ -34129,9 +32865,15 @@ inline ::proto::HistorySyncNotification* ProtocolMessage::release_historysyncnot
_has_bits_[0] &= ~0x00000002u;
::proto::HistorySyncNotification* temp = historysyncnotification_;
historysyncnotification_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::HistorySyncNotification* ProtocolMessage::unsafe_arena_release_historysyncnotification() {
@@ -34144,23 +32886,24 @@ inline ::proto::HistorySyncNotification* ProtocolMessage::unsafe_arena_release_h
inline ::proto::HistorySyncNotification* ProtocolMessage::_internal_mutable_historysyncnotification() {
_has_bits_[0] |= 0x00000002u;
if (historysyncnotification_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::HistorySyncNotification>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::HistorySyncNotification>(GetArenaForAllocation());
historysyncnotification_ = p;
}
return historysyncnotification_;
}
inline ::proto::HistorySyncNotification* ProtocolMessage::mutable_historysyncnotification() {
+ ::proto::HistorySyncNotification* _msg = _internal_mutable_historysyncnotification();
// @@protoc_insertion_point(field_mutable:proto.ProtocolMessage.historySyncNotification)
- return _internal_mutable_historysyncnotification();
+ return _msg;
}
inline void ProtocolMessage::set_allocated_historysyncnotification(::proto::HistorySyncNotification* historysyncnotification) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete historysyncnotification_;
}
if (historysyncnotification) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(historysyncnotification);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HistorySyncNotification>::GetOwningArena(historysyncnotification);
if (message_arena != submessage_arena) {
historysyncnotification = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, historysyncnotification, submessage_arena);
@@ -34197,7 +32940,7 @@ inline const ::proto::AppStateSyncKeyShare& ProtocolMessage::appstatesynckeyshar
}
inline void ProtocolMessage::unsafe_arena_set_allocated_appstatesynckeyshare(
::proto::AppStateSyncKeyShare* appstatesynckeyshare) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(appstatesynckeyshare_);
}
appstatesynckeyshare_ = appstatesynckeyshare;
@@ -34212,9 +32955,15 @@ inline ::proto::AppStateSyncKeyShare* ProtocolMessage::release_appstatesynckeysh
_has_bits_[0] &= ~0x00000004u;
::proto::AppStateSyncKeyShare* temp = appstatesynckeyshare_;
appstatesynckeyshare_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::AppStateSyncKeyShare* ProtocolMessage::unsafe_arena_release_appstatesynckeyshare() {
@@ -34227,23 +32976,24 @@ inline ::proto::AppStateSyncKeyShare* ProtocolMessage::unsafe_arena_release_apps
inline ::proto::AppStateSyncKeyShare* ProtocolMessage::_internal_mutable_appstatesynckeyshare() {
_has_bits_[0] |= 0x00000004u;
if (appstatesynckeyshare_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::AppStateSyncKeyShare>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::AppStateSyncKeyShare>(GetArenaForAllocation());
appstatesynckeyshare_ = p;
}
return appstatesynckeyshare_;
}
inline ::proto::AppStateSyncKeyShare* ProtocolMessage::mutable_appstatesynckeyshare() {
+ ::proto::AppStateSyncKeyShare* _msg = _internal_mutable_appstatesynckeyshare();
// @@protoc_insertion_point(field_mutable:proto.ProtocolMessage.appStateSyncKeyShare)
- return _internal_mutable_appstatesynckeyshare();
+ return _msg;
}
inline void ProtocolMessage::set_allocated_appstatesynckeyshare(::proto::AppStateSyncKeyShare* appstatesynckeyshare) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete appstatesynckeyshare_;
}
if (appstatesynckeyshare) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(appstatesynckeyshare);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AppStateSyncKeyShare>::GetOwningArena(appstatesynckeyshare);
if (message_arena != submessage_arena) {
appstatesynckeyshare = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, appstatesynckeyshare, submessage_arena);
@@ -34280,7 +33030,7 @@ inline const ::proto::AppStateSyncKeyRequest& ProtocolMessage::appstatesynckeyre
}
inline void ProtocolMessage::unsafe_arena_set_allocated_appstatesynckeyrequest(
::proto::AppStateSyncKeyRequest* appstatesynckeyrequest) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(appstatesynckeyrequest_);
}
appstatesynckeyrequest_ = appstatesynckeyrequest;
@@ -34295,9 +33045,15 @@ inline ::proto::AppStateSyncKeyRequest* ProtocolMessage::release_appstatesynckey
_has_bits_[0] &= ~0x00000008u;
::proto::AppStateSyncKeyRequest* temp = appstatesynckeyrequest_;
appstatesynckeyrequest_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::AppStateSyncKeyRequest* ProtocolMessage::unsafe_arena_release_appstatesynckeyrequest() {
@@ -34310,23 +33066,24 @@ inline ::proto::AppStateSyncKeyRequest* ProtocolMessage::unsafe_arena_release_ap
inline ::proto::AppStateSyncKeyRequest* ProtocolMessage::_internal_mutable_appstatesynckeyrequest() {
_has_bits_[0] |= 0x00000008u;
if (appstatesynckeyrequest_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::AppStateSyncKeyRequest>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::AppStateSyncKeyRequest>(GetArenaForAllocation());
appstatesynckeyrequest_ = p;
}
return appstatesynckeyrequest_;
}
inline ::proto::AppStateSyncKeyRequest* ProtocolMessage::mutable_appstatesynckeyrequest() {
+ ::proto::AppStateSyncKeyRequest* _msg = _internal_mutable_appstatesynckeyrequest();
// @@protoc_insertion_point(field_mutable:proto.ProtocolMessage.appStateSyncKeyRequest)
- return _internal_mutable_appstatesynckeyrequest();
+ return _msg;
}
inline void ProtocolMessage::set_allocated_appstatesynckeyrequest(::proto::AppStateSyncKeyRequest* appstatesynckeyrequest) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete appstatesynckeyrequest_;
}
if (appstatesynckeyrequest) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(appstatesynckeyrequest);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AppStateSyncKeyRequest>::GetOwningArena(appstatesynckeyrequest);
if (message_arena != submessage_arena) {
appstatesynckeyrequest = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, appstatesynckeyrequest, submessage_arena);
@@ -34363,7 +33120,7 @@ inline const ::proto::InitialSecurityNotificationSettingSync& ProtocolMessage::i
}
inline void ProtocolMessage::unsafe_arena_set_allocated_initialsecuritynotificationsettingsync(
::proto::InitialSecurityNotificationSettingSync* initialsecuritynotificationsettingsync) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(initialsecuritynotificationsettingsync_);
}
initialsecuritynotificationsettingsync_ = initialsecuritynotificationsettingsync;
@@ -34378,9 +33135,15 @@ inline ::proto::InitialSecurityNotificationSettingSync* ProtocolMessage::release
_has_bits_[0] &= ~0x00000010u;
::proto::InitialSecurityNotificationSettingSync* temp = initialsecuritynotificationsettingsync_;
initialsecuritynotificationsettingsync_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::InitialSecurityNotificationSettingSync* ProtocolMessage::unsafe_arena_release_initialsecuritynotificationsettingsync() {
@@ -34393,23 +33156,24 @@ inline ::proto::InitialSecurityNotificationSettingSync* ProtocolMessage::unsafe_
inline ::proto::InitialSecurityNotificationSettingSync* ProtocolMessage::_internal_mutable_initialsecuritynotificationsettingsync() {
_has_bits_[0] |= 0x00000010u;
if (initialsecuritynotificationsettingsync_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::InitialSecurityNotificationSettingSync>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::InitialSecurityNotificationSettingSync>(GetArenaForAllocation());
initialsecuritynotificationsettingsync_ = p;
}
return initialsecuritynotificationsettingsync_;
}
inline ::proto::InitialSecurityNotificationSettingSync* ProtocolMessage::mutable_initialsecuritynotificationsettingsync() {
+ ::proto::InitialSecurityNotificationSettingSync* _msg = _internal_mutable_initialsecuritynotificationsettingsync();
// @@protoc_insertion_point(field_mutable:proto.ProtocolMessage.initialSecurityNotificationSettingSync)
- return _internal_mutable_initialsecuritynotificationsettingsync();
+ return _msg;
}
inline void ProtocolMessage::set_allocated_initialsecuritynotificationsettingsync(::proto::InitialSecurityNotificationSettingSync* initialsecuritynotificationsettingsync) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete initialsecuritynotificationsettingsync_;
}
if (initialsecuritynotificationsettingsync) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(initialsecuritynotificationsettingsync);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::InitialSecurityNotificationSettingSync>::GetOwningArena(initialsecuritynotificationsettingsync);
if (message_arena != submessage_arena) {
initialsecuritynotificationsettingsync = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, initialsecuritynotificationsettingsync, submessage_arena);
@@ -34446,7 +33210,7 @@ inline const ::proto::AppStateFatalExceptionNotification& ProtocolMessage::appst
}
inline void ProtocolMessage::unsafe_arena_set_allocated_appstatefatalexceptionnotification(
::proto::AppStateFatalExceptionNotification* appstatefatalexceptionnotification) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(appstatefatalexceptionnotification_);
}
appstatefatalexceptionnotification_ = appstatefatalexceptionnotification;
@@ -34461,9 +33225,15 @@ inline ::proto::AppStateFatalExceptionNotification* ProtocolMessage::release_app
_has_bits_[0] &= ~0x00000020u;
::proto::AppStateFatalExceptionNotification* temp = appstatefatalexceptionnotification_;
appstatefatalexceptionnotification_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::AppStateFatalExceptionNotification* ProtocolMessage::unsafe_arena_release_appstatefatalexceptionnotification() {
@@ -34476,23 +33246,24 @@ inline ::proto::AppStateFatalExceptionNotification* ProtocolMessage::unsafe_aren
inline ::proto::AppStateFatalExceptionNotification* ProtocolMessage::_internal_mutable_appstatefatalexceptionnotification() {
_has_bits_[0] |= 0x00000020u;
if (appstatefatalexceptionnotification_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::AppStateFatalExceptionNotification>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::AppStateFatalExceptionNotification>(GetArenaForAllocation());
appstatefatalexceptionnotification_ = p;
}
return appstatefatalexceptionnotification_;
}
inline ::proto::AppStateFatalExceptionNotification* ProtocolMessage::mutable_appstatefatalexceptionnotification() {
+ ::proto::AppStateFatalExceptionNotification* _msg = _internal_mutable_appstatefatalexceptionnotification();
// @@protoc_insertion_point(field_mutable:proto.ProtocolMessage.appStateFatalExceptionNotification)
- return _internal_mutable_appstatefatalexceptionnotification();
+ return _msg;
}
inline void ProtocolMessage::set_allocated_appstatefatalexceptionnotification(::proto::AppStateFatalExceptionNotification* appstatefatalexceptionnotification) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete appstatefatalexceptionnotification_;
}
if (appstatefatalexceptionnotification) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(appstatefatalexceptionnotification);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AppStateFatalExceptionNotification>::GetOwningArena(appstatefatalexceptionnotification);
if (message_arena != submessage_arena) {
appstatefatalexceptionnotification = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, appstatefatalexceptionnotification, submessage_arena);
@@ -34525,43 +33296,28 @@ inline const std::string& HistorySyncNotification::filesha256() const {
// @@protoc_insertion_point(field_get:proto.HistorySyncNotification.fileSha256)
return _internal_filesha256();
}
-inline void HistorySyncNotification::set_filesha256(const std::string& value) {
- _internal_set_filesha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HistorySyncNotification::set_filesha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ filesha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HistorySyncNotification.fileSha256)
}
inline std::string* HistorySyncNotification::mutable_filesha256() {
+ std::string* _s = _internal_mutable_filesha256();
// @@protoc_insertion_point(field_mutable:proto.HistorySyncNotification.fileSha256)
- return _internal_mutable_filesha256();
+ return _s;
}
inline const std::string& HistorySyncNotification::_internal_filesha256() const {
return filesha256_.Get();
}
inline void HistorySyncNotification::_internal_set_filesha256(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HistorySyncNotification::set_filesha256(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- filesha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HistorySyncNotification.fileSha256)
-}
-inline void HistorySyncNotification::set_filesha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HistorySyncNotification.fileSha256)
-}
-inline void HistorySyncNotification::set_filesha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HistorySyncNotification.fileSha256)
+ filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::_internal_mutable_filesha256() {
_has_bits_[0] |= 0x00000001u;
- return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::release_filesha256() {
// @@protoc_insertion_point(field_release:proto.HistorySyncNotification.fileSha256)
@@ -34569,7 +33325,7 @@ inline std::string* HistorySyncNotification::release_filesha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HistorySyncNotification::set_allocated_filesha256(std::string* filesha256) {
if (filesha256 != nullptr) {
@@ -34578,7 +33334,7 @@ inline void HistorySyncNotification::set_allocated_filesha256(std::string* files
_has_bits_[0] &= ~0x00000001u;
}
filesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), filesha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HistorySyncNotification.fileSha256)
}
@@ -34591,7 +33347,7 @@ inline bool HistorySyncNotification::has_filelength() const {
return _internal_has_filelength();
}
inline void HistorySyncNotification::clear_filelength() {
- filelength_ = PROTOBUF_ULONGLONG(0);
+ filelength_ = uint64_t{0u};
_has_bits_[0] &= ~0x00000020u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 HistorySyncNotification::_internal_filelength() const {
@@ -34626,43 +33382,28 @@ inline const std::string& HistorySyncNotification::mediakey() const {
// @@protoc_insertion_point(field_get:proto.HistorySyncNotification.mediaKey)
return _internal_mediakey();
}
-inline void HistorySyncNotification::set_mediakey(const std::string& value) {
- _internal_set_mediakey(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HistorySyncNotification::set_mediakey(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ mediakey_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HistorySyncNotification.mediaKey)
}
inline std::string* HistorySyncNotification::mutable_mediakey() {
+ std::string* _s = _internal_mutable_mediakey();
// @@protoc_insertion_point(field_mutable:proto.HistorySyncNotification.mediaKey)
- return _internal_mutable_mediakey();
+ return _s;
}
inline const std::string& HistorySyncNotification::_internal_mediakey() const {
return mediakey_.Get();
}
inline void HistorySyncNotification::_internal_set_mediakey(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HistorySyncNotification::set_mediakey(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- mediakey_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HistorySyncNotification.mediaKey)
-}
-inline void HistorySyncNotification::set_mediakey(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HistorySyncNotification.mediaKey)
-}
-inline void HistorySyncNotification::set_mediakey(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HistorySyncNotification.mediaKey)
+ mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::_internal_mutable_mediakey() {
_has_bits_[0] |= 0x00000002u;
- return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::release_mediakey() {
// @@protoc_insertion_point(field_release:proto.HistorySyncNotification.mediaKey)
@@ -34670,7 +33411,7 @@ inline std::string* HistorySyncNotification::release_mediakey() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HistorySyncNotification::set_allocated_mediakey(std::string* mediakey) {
if (mediakey != nullptr) {
@@ -34679,7 +33420,7 @@ inline void HistorySyncNotification::set_allocated_mediakey(std::string* mediake
_has_bits_[0] &= ~0x00000002u;
}
mediakey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediakey,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HistorySyncNotification.mediaKey)
}
@@ -34699,43 +33440,28 @@ inline const std::string& HistorySyncNotification::fileencsha256() const {
// @@protoc_insertion_point(field_get:proto.HistorySyncNotification.fileEncSha256)
return _internal_fileencsha256();
}
-inline void HistorySyncNotification::set_fileencsha256(const std::string& value) {
- _internal_set_fileencsha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HistorySyncNotification::set_fileencsha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ fileencsha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HistorySyncNotification.fileEncSha256)
}
inline std::string* HistorySyncNotification::mutable_fileencsha256() {
+ std::string* _s = _internal_mutable_fileencsha256();
// @@protoc_insertion_point(field_mutable:proto.HistorySyncNotification.fileEncSha256)
- return _internal_mutable_fileencsha256();
+ return _s;
}
inline const std::string& HistorySyncNotification::_internal_fileencsha256() const {
return fileencsha256_.Get();
}
inline void HistorySyncNotification::_internal_set_fileencsha256(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HistorySyncNotification::set_fileencsha256(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- fileencsha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HistorySyncNotification.fileEncSha256)
-}
-inline void HistorySyncNotification::set_fileencsha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HistorySyncNotification.fileEncSha256)
-}
-inline void HistorySyncNotification::set_fileencsha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HistorySyncNotification.fileEncSha256)
+ fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::_internal_mutable_fileencsha256() {
_has_bits_[0] |= 0x00000004u;
- return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::release_fileencsha256() {
// @@protoc_insertion_point(field_release:proto.HistorySyncNotification.fileEncSha256)
@@ -34743,7 +33469,7 @@ inline std::string* HistorySyncNotification::release_fileencsha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HistorySyncNotification::set_allocated_fileencsha256(std::string* fileencsha256) {
if (fileencsha256 != nullptr) {
@@ -34752,7 +33478,7 @@ inline void HistorySyncNotification::set_allocated_fileencsha256(std::string* fi
_has_bits_[0] &= ~0x00000004u;
}
fileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fileencsha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HistorySyncNotification.fileEncSha256)
}
@@ -34772,43 +33498,28 @@ inline const std::string& HistorySyncNotification::directpath() const {
// @@protoc_insertion_point(field_get:proto.HistorySyncNotification.directPath)
return _internal_directpath();
}
-inline void HistorySyncNotification::set_directpath(const std::string& value) {
- _internal_set_directpath(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HistorySyncNotification::set_directpath(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HistorySyncNotification.directPath)
}
inline std::string* HistorySyncNotification::mutable_directpath() {
+ std::string* _s = _internal_mutable_directpath();
// @@protoc_insertion_point(field_mutable:proto.HistorySyncNotification.directPath)
- return _internal_mutable_directpath();
+ return _s;
}
inline const std::string& HistorySyncNotification::_internal_directpath() const {
return directpath_.Get();
}
inline void HistorySyncNotification::_internal_set_directpath(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HistorySyncNotification::set_directpath(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- directpath_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HistorySyncNotification.directPath)
-}
-inline void HistorySyncNotification::set_directpath(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HistorySyncNotification.directPath)
-}
-inline void HistorySyncNotification::set_directpath(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HistorySyncNotification.directPath)
+ directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::_internal_mutable_directpath() {
_has_bits_[0] |= 0x00000008u;
- return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::release_directpath() {
// @@protoc_insertion_point(field_release:proto.HistorySyncNotification.directPath)
@@ -34816,7 +33527,7 @@ inline std::string* HistorySyncNotification::release_directpath() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HistorySyncNotification::set_allocated_directpath(std::string* directpath) {
if (directpath != nullptr) {
@@ -34825,7 +33536,7 @@ inline void HistorySyncNotification::set_allocated_directpath(std::string* direc
_has_bits_[0] &= ~0x00000008u;
}
directpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), directpath,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HistorySyncNotification.directPath)
}
@@ -34902,43 +33613,28 @@ inline const std::string& HistorySyncNotification::originalmessageid() const {
// @@protoc_insertion_point(field_get:proto.HistorySyncNotification.originalMessageId)
return _internal_originalmessageid();
}
-inline void HistorySyncNotification::set_originalmessageid(const std::string& value) {
- _internal_set_originalmessageid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HistorySyncNotification::set_originalmessageid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000010u;
+ originalmessageid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HistorySyncNotification.originalMessageId)
}
inline std::string* HistorySyncNotification::mutable_originalmessageid() {
+ std::string* _s = _internal_mutable_originalmessageid();
// @@protoc_insertion_point(field_mutable:proto.HistorySyncNotification.originalMessageId)
- return _internal_mutable_originalmessageid();
+ return _s;
}
inline const std::string& HistorySyncNotification::_internal_originalmessageid() const {
return originalmessageid_.Get();
}
inline void HistorySyncNotification::_internal_set_originalmessageid(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
- originalmessageid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HistorySyncNotification::set_originalmessageid(std::string&& value) {
- _has_bits_[0] |= 0x00000010u;
- originalmessageid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HistorySyncNotification.originalMessageId)
-}
-inline void HistorySyncNotification::set_originalmessageid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000010u;
- originalmessageid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HistorySyncNotification.originalMessageId)
-}
-inline void HistorySyncNotification::set_originalmessageid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000010u;
- originalmessageid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HistorySyncNotification.originalMessageId)
+ originalmessageid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::_internal_mutable_originalmessageid() {
_has_bits_[0] |= 0x00000010u;
- return originalmessageid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return originalmessageid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::release_originalmessageid() {
// @@protoc_insertion_point(field_release:proto.HistorySyncNotification.originalMessageId)
@@ -34946,7 +33642,7 @@ inline std::string* HistorySyncNotification::release_originalmessageid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
- return originalmessageid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return originalmessageid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HistorySyncNotification::set_allocated_originalmessageid(std::string* originalmessageid) {
if (originalmessageid != nullptr) {
@@ -34955,7 +33651,7 @@ inline void HistorySyncNotification::set_allocated_originalmessageid(std::string
_has_bits_[0] &= ~0x00000010u;
}
originalmessageid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), originalmessageid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HistorySyncNotification.originalMessageId)
}
@@ -34987,7 +33683,7 @@ inline const ::proto::AppStateSyncKeyId& AppStateSyncKey::keyid() const {
}
inline void AppStateSyncKey::unsafe_arena_set_allocated_keyid(
::proto::AppStateSyncKeyId* keyid) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(keyid_);
}
keyid_ = keyid;
@@ -35002,9 +33698,15 @@ inline ::proto::AppStateSyncKeyId* AppStateSyncKey::release_keyid() {
_has_bits_[0] &= ~0x00000001u;
::proto::AppStateSyncKeyId* temp = keyid_;
keyid_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::AppStateSyncKeyId* AppStateSyncKey::unsafe_arena_release_keyid() {
@@ -35017,23 +33719,24 @@ inline ::proto::AppStateSyncKeyId* AppStateSyncKey::unsafe_arena_release_keyid()
inline ::proto::AppStateSyncKeyId* AppStateSyncKey::_internal_mutable_keyid() {
_has_bits_[0] |= 0x00000001u;
if (keyid_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::AppStateSyncKeyId>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::AppStateSyncKeyId>(GetArenaForAllocation());
keyid_ = p;
}
return keyid_;
}
inline ::proto::AppStateSyncKeyId* AppStateSyncKey::mutable_keyid() {
+ ::proto::AppStateSyncKeyId* _msg = _internal_mutable_keyid();
// @@protoc_insertion_point(field_mutable:proto.AppStateSyncKey.keyId)
- return _internal_mutable_keyid();
+ return _msg;
}
inline void AppStateSyncKey::set_allocated_keyid(::proto::AppStateSyncKeyId* keyid) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete keyid_;
}
if (keyid) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(keyid);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AppStateSyncKeyId>::GetOwningArena(keyid);
if (message_arena != submessage_arena) {
keyid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, keyid, submessage_arena);
@@ -35070,7 +33773,7 @@ inline const ::proto::AppStateSyncKeyData& AppStateSyncKey::keydata() const {
}
inline void AppStateSyncKey::unsafe_arena_set_allocated_keydata(
::proto::AppStateSyncKeyData* keydata) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(keydata_);
}
keydata_ = keydata;
@@ -35085,9 +33788,15 @@ inline ::proto::AppStateSyncKeyData* AppStateSyncKey::release_keydata() {
_has_bits_[0] &= ~0x00000002u;
::proto::AppStateSyncKeyData* temp = keydata_;
keydata_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::AppStateSyncKeyData* AppStateSyncKey::unsafe_arena_release_keydata() {
@@ -35100,23 +33809,24 @@ inline ::proto::AppStateSyncKeyData* AppStateSyncKey::unsafe_arena_release_keyda
inline ::proto::AppStateSyncKeyData* AppStateSyncKey::_internal_mutable_keydata() {
_has_bits_[0] |= 0x00000002u;
if (keydata_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::AppStateSyncKeyData>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::AppStateSyncKeyData>(GetArenaForAllocation());
keydata_ = p;
}
return keydata_;
}
inline ::proto::AppStateSyncKeyData* AppStateSyncKey::mutable_keydata() {
+ ::proto::AppStateSyncKeyData* _msg = _internal_mutable_keydata();
// @@protoc_insertion_point(field_mutable:proto.AppStateSyncKey.keyData)
- return _internal_mutable_keydata();
+ return _msg;
}
inline void AppStateSyncKey::set_allocated_keydata(::proto::AppStateSyncKeyData* keydata) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete keydata_;
}
if (keydata) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(keydata);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AppStateSyncKeyData>::GetOwningArena(keydata);
if (message_arena != submessage_arena) {
keydata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, keydata, submessage_arena);
@@ -35149,43 +33859,28 @@ inline const std::string& AppStateSyncKeyId::keyid() const {
// @@protoc_insertion_point(field_get:proto.AppStateSyncKeyId.keyId)
return _internal_keyid();
}
-inline void AppStateSyncKeyId::set_keyid(const std::string& value) {
- _internal_set_keyid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void AppStateSyncKeyId::set_keyid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ keyid_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AppStateSyncKeyId.keyId)
}
inline std::string* AppStateSyncKeyId::mutable_keyid() {
+ std::string* _s = _internal_mutable_keyid();
// @@protoc_insertion_point(field_mutable:proto.AppStateSyncKeyId.keyId)
- return _internal_mutable_keyid();
+ return _s;
}
inline const std::string& AppStateSyncKeyId::_internal_keyid() const {
return keyid_.Get();
}
inline void AppStateSyncKeyId::_internal_set_keyid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- keyid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void AppStateSyncKeyId::set_keyid(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- keyid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.AppStateSyncKeyId.keyId)
-}
-inline void AppStateSyncKeyId::set_keyid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- keyid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.AppStateSyncKeyId.keyId)
-}
-inline void AppStateSyncKeyId::set_keyid(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- keyid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.AppStateSyncKeyId.keyId)
+ keyid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AppStateSyncKeyId::_internal_mutable_keyid() {
_has_bits_[0] |= 0x00000001u;
- return keyid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return keyid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AppStateSyncKeyId::release_keyid() {
// @@protoc_insertion_point(field_release:proto.AppStateSyncKeyId.keyId)
@@ -35193,7 +33888,7 @@ inline std::string* AppStateSyncKeyId::release_keyid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return keyid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return keyid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AppStateSyncKeyId::set_allocated_keyid(std::string* keyid) {
if (keyid != nullptr) {
@@ -35202,7 +33897,7 @@ inline void AppStateSyncKeyId::set_allocated_keyid(std::string* keyid) {
_has_bits_[0] &= ~0x00000001u;
}
keyid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), keyid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.AppStateSyncKeyId.keyId)
}
@@ -35333,43 +34028,28 @@ inline const std::string& AppStateSyncKeyData::keydata() const {
// @@protoc_insertion_point(field_get:proto.AppStateSyncKeyData.keyData)
return _internal_keydata();
}
-inline void AppStateSyncKeyData::set_keydata(const std::string& value) {
- _internal_set_keydata(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void AppStateSyncKeyData::set_keydata(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ keydata_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AppStateSyncKeyData.keyData)
}
inline std::string* AppStateSyncKeyData::mutable_keydata() {
+ std::string* _s = _internal_mutable_keydata();
// @@protoc_insertion_point(field_mutable:proto.AppStateSyncKeyData.keyData)
- return _internal_mutable_keydata();
+ return _s;
}
inline const std::string& AppStateSyncKeyData::_internal_keydata() const {
return keydata_.Get();
}
inline void AppStateSyncKeyData::_internal_set_keydata(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- keydata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void AppStateSyncKeyData::set_keydata(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- keydata_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.AppStateSyncKeyData.keyData)
-}
-inline void AppStateSyncKeyData::set_keydata(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- keydata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.AppStateSyncKeyData.keyData)
-}
-inline void AppStateSyncKeyData::set_keydata(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- keydata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.AppStateSyncKeyData.keyData)
+ keydata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AppStateSyncKeyData::_internal_mutable_keydata() {
_has_bits_[0] |= 0x00000001u;
- return keydata_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return keydata_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AppStateSyncKeyData::release_keydata() {
// @@protoc_insertion_point(field_release:proto.AppStateSyncKeyData.keyData)
@@ -35377,7 +34057,7 @@ inline std::string* AppStateSyncKeyData::release_keydata() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return keydata_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return keydata_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AppStateSyncKeyData::set_allocated_keydata(std::string* keydata) {
if (keydata != nullptr) {
@@ -35386,7 +34066,7 @@ inline void AppStateSyncKeyData::set_allocated_keydata(std::string* keydata) {
_has_bits_[0] &= ~0x00000001u;
}
keydata_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), keydata,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.AppStateSyncKeyData.keyData)
}
@@ -35414,7 +34094,7 @@ inline const ::proto::AppStateSyncKeyFingerprint& AppStateSyncKeyData::fingerpri
}
inline void AppStateSyncKeyData::unsafe_arena_set_allocated_fingerprint(
::proto::AppStateSyncKeyFingerprint* fingerprint) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fingerprint_);
}
fingerprint_ = fingerprint;
@@ -35429,9 +34109,15 @@ inline ::proto::AppStateSyncKeyFingerprint* AppStateSyncKeyData::release_fingerp
_has_bits_[0] &= ~0x00000002u;
::proto::AppStateSyncKeyFingerprint* temp = fingerprint_;
fingerprint_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::AppStateSyncKeyFingerprint* AppStateSyncKeyData::unsafe_arena_release_fingerprint() {
@@ -35444,23 +34130,24 @@ inline ::proto::AppStateSyncKeyFingerprint* AppStateSyncKeyData::unsafe_arena_re
inline ::proto::AppStateSyncKeyFingerprint* AppStateSyncKeyData::_internal_mutable_fingerprint() {
_has_bits_[0] |= 0x00000002u;
if (fingerprint_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::AppStateSyncKeyFingerprint>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::AppStateSyncKeyFingerprint>(GetArenaForAllocation());
fingerprint_ = p;
}
return fingerprint_;
}
inline ::proto::AppStateSyncKeyFingerprint* AppStateSyncKeyData::mutable_fingerprint() {
+ ::proto::AppStateSyncKeyFingerprint* _msg = _internal_mutable_fingerprint();
// @@protoc_insertion_point(field_mutable:proto.AppStateSyncKeyData.fingerprint)
- return _internal_mutable_fingerprint();
+ return _msg;
}
inline void AppStateSyncKeyData::set_allocated_fingerprint(::proto::AppStateSyncKeyFingerprint* fingerprint) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete fingerprint_;
}
if (fingerprint) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(fingerprint);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AppStateSyncKeyFingerprint>::GetOwningArena(fingerprint);
if (message_arena != submessage_arena) {
fingerprint = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, fingerprint, submessage_arena);
@@ -35482,7 +34169,7 @@ inline bool AppStateSyncKeyData::has_timestamp() const {
return _internal_has_timestamp();
}
inline void AppStateSyncKeyData::clear_timestamp() {
- timestamp_ = PROTOBUF_LONGLONG(0);
+ timestamp_ = int64_t{0};
_has_bits_[0] &= ~0x00000004u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 AppStateSyncKeyData::_internal_timestamp() const {
@@ -35535,8 +34222,9 @@ inline ::proto::AppStateSyncKey* AppStateSyncKeyShare::_internal_add_keys() {
return keys_.Add();
}
inline ::proto::AppStateSyncKey* AppStateSyncKeyShare::add_keys() {
+ ::proto::AppStateSyncKey* _add = _internal_add_keys();
// @@protoc_insertion_point(field_add:proto.AppStateSyncKeyShare.keys)
- return _internal_add_keys();
+ return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::AppStateSyncKey >&
AppStateSyncKeyShare::keys() const {
@@ -35578,8 +34266,9 @@ inline ::proto::AppStateSyncKeyId* AppStateSyncKeyRequest::_internal_add_keyids(
return keyids_.Add();
}
inline ::proto::AppStateSyncKeyId* AppStateSyncKeyRequest::add_keyids() {
+ ::proto::AppStateSyncKeyId* _add = _internal_add_keyids();
// @@protoc_insertion_point(field_add:proto.AppStateSyncKeyRequest.keyIds)
- return _internal_add_keyids();
+ return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::AppStateSyncKeyId >&
AppStateSyncKeyRequest::keyids() const {
@@ -35602,8 +34291,9 @@ inline void AppStateFatalExceptionNotification::clear_collectionnames() {
collectionnames_.Clear();
}
inline std::string* AppStateFatalExceptionNotification::add_collectionnames() {
+ std::string* _s = _internal_add_collectionnames();
// @@protoc_insertion_point(field_add_mutable:proto.AppStateFatalExceptionNotification.collectionNames)
- return _internal_add_collectionnames();
+ return _s;
}
inline const std::string& AppStateFatalExceptionNotification::_internal_collectionnames(int index) const {
return collectionnames_.Get(index);
@@ -35617,12 +34307,12 @@ inline std::string* AppStateFatalExceptionNotification::mutable_collectionnames(
return collectionnames_.Mutable(index);
}
inline void AppStateFatalExceptionNotification::set_collectionnames(int index, const std::string& value) {
- // @@protoc_insertion_point(field_set:proto.AppStateFatalExceptionNotification.collectionNames)
collectionnames_.Mutable(index)->assign(value);
+ // @@protoc_insertion_point(field_set:proto.AppStateFatalExceptionNotification.collectionNames)
}
inline void AppStateFatalExceptionNotification::set_collectionnames(int index, std::string&& value) {
- // @@protoc_insertion_point(field_set:proto.AppStateFatalExceptionNotification.collectionNames)
collectionnames_.Mutable(index)->assign(std::move(value));
+ // @@protoc_insertion_point(field_set:proto.AppStateFatalExceptionNotification.collectionNames)
}
inline void AppStateFatalExceptionNotification::set_collectionnames(int index, const char* value) {
GOOGLE_DCHECK(value != nullptr);
@@ -35674,7 +34364,7 @@ inline bool AppStateFatalExceptionNotification::has_timestamp() const {
return _internal_has_timestamp();
}
inline void AppStateFatalExceptionNotification::clear_timestamp() {
- timestamp_ = PROTOBUF_LONGLONG(0);
+ timestamp_ = int64_t{0};
_has_bits_[0] &= ~0x00000001u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 AppStateFatalExceptionNotification::_internal_timestamp() const {
@@ -35745,43 +34435,28 @@ inline const std::string& ContactsArrayMessage::displayname() const {
// @@protoc_insertion_point(field_get:proto.ContactsArrayMessage.displayName)
return _internal_displayname();
}
-inline void ContactsArrayMessage::set_displayname(const std::string& value) {
- _internal_set_displayname(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ContactsArrayMessage::set_displayname(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContactsArrayMessage.displayName)
}
inline std::string* ContactsArrayMessage::mutable_displayname() {
+ std::string* _s = _internal_mutable_displayname();
// @@protoc_insertion_point(field_mutable:proto.ContactsArrayMessage.displayName)
- return _internal_mutable_displayname();
+ return _s;
}
inline const std::string& ContactsArrayMessage::_internal_displayname() const {
return displayname_.Get();
}
inline void ContactsArrayMessage::_internal_set_displayname(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ContactsArrayMessage::set_displayname(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- displayname_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ContactsArrayMessage.displayName)
-}
-inline void ContactsArrayMessage::set_displayname(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ContactsArrayMessage.displayName)
-}
-inline void ContactsArrayMessage::set_displayname(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ContactsArrayMessage.displayName)
+ displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ContactsArrayMessage::_internal_mutable_displayname() {
_has_bits_[0] |= 0x00000001u;
- return displayname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return displayname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ContactsArrayMessage::release_displayname() {
// @@protoc_insertion_point(field_release:proto.ContactsArrayMessage.displayName)
@@ -35789,7 +34464,7 @@ inline std::string* ContactsArrayMessage::release_displayname() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return displayname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return displayname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ContactsArrayMessage::set_allocated_displayname(std::string* displayname) {
if (displayname != nullptr) {
@@ -35798,7 +34473,7 @@ inline void ContactsArrayMessage::set_allocated_displayname(std::string* display
_has_bits_[0] &= ~0x00000001u;
}
displayname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), displayname,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ContactsArrayMessage.displayName)
}
@@ -35832,8 +34507,9 @@ inline ::proto::ContactMessage* ContactsArrayMessage::_internal_add_contacts() {
return contacts_.Add();
}
inline ::proto::ContactMessage* ContactsArrayMessage::add_contacts() {
+ ::proto::ContactMessage* _add = _internal_add_contacts();
// @@protoc_insertion_point(field_add:proto.ContactsArrayMessage.contacts)
- return _internal_add_contacts();
+ return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::ContactMessage >&
ContactsArrayMessage::contacts() const {
@@ -35865,7 +34541,7 @@ inline const ::proto::ContextInfo& ContactsArrayMessage::contextinfo() const {
}
inline void ContactsArrayMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -35880,9 +34556,15 @@ inline ::proto::ContextInfo* ContactsArrayMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00000002u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* ContactsArrayMessage::unsafe_arena_release_contextinfo() {
@@ -35895,23 +34577,24 @@ inline ::proto::ContextInfo* ContactsArrayMessage::unsafe_arena_release_contexti
inline ::proto::ContextInfo* ContactsArrayMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00000002u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* ContactsArrayMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.ContactsArrayMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void ContactsArrayMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -35944,43 +34627,28 @@ inline const std::string& HSMCurrency::currencycode() const {
// @@protoc_insertion_point(field_get:proto.HSMCurrency.currencyCode)
return _internal_currencycode();
}
-inline void HSMCurrency::set_currencycode(const std::string& value) {
- _internal_set_currencycode(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HSMCurrency::set_currencycode(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HSMCurrency.currencyCode)
}
inline std::string* HSMCurrency::mutable_currencycode() {
+ std::string* _s = _internal_mutable_currencycode();
// @@protoc_insertion_point(field_mutable:proto.HSMCurrency.currencyCode)
- return _internal_mutable_currencycode();
+ return _s;
}
inline const std::string& HSMCurrency::_internal_currencycode() const {
return currencycode_.Get();
}
inline void HSMCurrency::_internal_set_currencycode(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HSMCurrency::set_currencycode(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- currencycode_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HSMCurrency.currencyCode)
-}
-inline void HSMCurrency::set_currencycode(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HSMCurrency.currencyCode)
-}
-inline void HSMCurrency::set_currencycode(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HSMCurrency.currencyCode)
+ currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HSMCurrency::_internal_mutable_currencycode() {
_has_bits_[0] |= 0x00000001u;
- return currencycode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return currencycode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HSMCurrency::release_currencycode() {
// @@protoc_insertion_point(field_release:proto.HSMCurrency.currencyCode)
@@ -35988,7 +34656,7 @@ inline std::string* HSMCurrency::release_currencycode() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return currencycode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return currencycode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HSMCurrency::set_allocated_currencycode(std::string* currencycode) {
if (currencycode != nullptr) {
@@ -35997,7 +34665,7 @@ inline void HSMCurrency::set_allocated_currencycode(std::string* currencycode) {
_has_bits_[0] &= ~0x00000001u;
}
currencycode_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), currencycode,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HSMCurrency.currencyCode)
}
@@ -36010,7 +34678,7 @@ inline bool HSMCurrency::has_amount1000() const {
return _internal_has_amount1000();
}
inline void HSMCurrency::clear_amount1000() {
- amount1000_ = PROTOBUF_LONGLONG(0);
+ amount1000_ = int64_t{0};
_has_bits_[0] &= ~0x00000002u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 HSMCurrency::_internal_amount1000() const {
@@ -36244,7 +34912,7 @@ inline bool HSMDateTimeUnixEpoch::has_timestamp() const {
return _internal_has_timestamp();
}
inline void HSMDateTimeUnixEpoch::clear_timestamp() {
- timestamp_ = PROTOBUF_LONGLONG(0);
+ timestamp_ = int64_t{0};
_has_bits_[0] &= ~0x00000001u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 HSMDateTimeUnixEpoch::_internal_timestamp() const {
@@ -36279,7 +34947,7 @@ inline void HSMDateTime::set_has_component() {
}
inline void HSMDateTime::clear_component() {
if (_internal_has_component()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete datetimeOneof_.component_;
}
clear_has_datetimeOneof();
@@ -36290,7 +34958,7 @@ inline ::proto::HSMDateTimeComponent* HSMDateTime::release_component() {
if (_internal_has_component()) {
clear_has_datetimeOneof();
::proto::HSMDateTimeComponent* temp = datetimeOneof_.component_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
datetimeOneof_.component_ = nullptr;
@@ -36331,13 +34999,14 @@ inline ::proto::HSMDateTimeComponent* HSMDateTime::_internal_mutable_component()
if (!_internal_has_component()) {
clear_datetimeOneof();
set_has_component();
- datetimeOneof_.component_ = CreateMaybeMessage< ::proto::HSMDateTimeComponent >(GetArena());
+ datetimeOneof_.component_ = CreateMaybeMessage< ::proto::HSMDateTimeComponent >(GetArenaForAllocation());
}
return datetimeOneof_.component_;
}
inline ::proto::HSMDateTimeComponent* HSMDateTime::mutable_component() {
+ ::proto::HSMDateTimeComponent* _msg = _internal_mutable_component();
// @@protoc_insertion_point(field_mutable:proto.HSMDateTime.component)
- return _internal_mutable_component();
+ return _msg;
}
// .proto.HSMDateTimeUnixEpoch unixEpoch = 2;
@@ -36352,7 +35021,7 @@ inline void HSMDateTime::set_has_unixepoch() {
}
inline void HSMDateTime::clear_unixepoch() {
if (_internal_has_unixepoch()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete datetimeOneof_.unixepoch_;
}
clear_has_datetimeOneof();
@@ -36363,7 +35032,7 @@ inline ::proto::HSMDateTimeUnixEpoch* HSMDateTime::release_unixepoch() {
if (_internal_has_unixepoch()) {
clear_has_datetimeOneof();
::proto::HSMDateTimeUnixEpoch* temp = datetimeOneof_.unixepoch_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
datetimeOneof_.unixepoch_ = nullptr;
@@ -36404,13 +35073,14 @@ inline ::proto::HSMDateTimeUnixEpoch* HSMDateTime::_internal_mutable_unixepoch()
if (!_internal_has_unixepoch()) {
clear_datetimeOneof();
set_has_unixepoch();
- datetimeOneof_.unixepoch_ = CreateMaybeMessage< ::proto::HSMDateTimeUnixEpoch >(GetArena());
+ datetimeOneof_.unixepoch_ = CreateMaybeMessage< ::proto::HSMDateTimeUnixEpoch >(GetArenaForAllocation());
}
return datetimeOneof_.unixepoch_;
}
inline ::proto::HSMDateTimeUnixEpoch* HSMDateTime::mutable_unixepoch() {
+ ::proto::HSMDateTimeUnixEpoch* _msg = _internal_mutable_unixepoch();
// @@protoc_insertion_point(field_mutable:proto.HSMDateTime.unixEpoch)
- return _internal_mutable_unixepoch();
+ return _msg;
}
inline bool HSMDateTime::has_datetimeOneof() const {
@@ -36442,43 +35112,28 @@ inline const std::string& HSMLocalizableParameter::default_() const {
// @@protoc_insertion_point(field_get:proto.HSMLocalizableParameter.default)
return _internal_default_();
}
-inline void HSMLocalizableParameter::set_default_(const std::string& value) {
- _internal_set_default_(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HSMLocalizableParameter::set_default_(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ default__.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HSMLocalizableParameter.default)
}
inline std::string* HSMLocalizableParameter::mutable_default_() {
+ std::string* _s = _internal_mutable_default_();
// @@protoc_insertion_point(field_mutable:proto.HSMLocalizableParameter.default)
- return _internal_mutable_default_();
+ return _s;
}
inline const std::string& HSMLocalizableParameter::_internal_default_() const {
return default__.Get();
}
inline void HSMLocalizableParameter::_internal_set_default_(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- default__.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HSMLocalizableParameter::set_default_(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- default__.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HSMLocalizableParameter.default)
-}
-inline void HSMLocalizableParameter::set_default_(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- default__.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HSMLocalizableParameter.default)
-}
-inline void HSMLocalizableParameter::set_default_(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- default__.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HSMLocalizableParameter.default)
+ default__.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HSMLocalizableParameter::_internal_mutable_default_() {
_has_bits_[0] |= 0x00000001u;
- return default__.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return default__.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HSMLocalizableParameter::release_default_() {
// @@protoc_insertion_point(field_release:proto.HSMLocalizableParameter.default)
@@ -36486,7 +35141,7 @@ inline std::string* HSMLocalizableParameter::release_default_() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return default__.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return default__.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HSMLocalizableParameter::set_allocated_default_(std::string* default_) {
if (default_ != nullptr) {
@@ -36495,7 +35150,7 @@ inline void HSMLocalizableParameter::set_allocated_default_(std::string* default
_has_bits_[0] &= ~0x00000001u;
}
default__.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), default_,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HSMLocalizableParameter.default)
}
@@ -36511,7 +35166,7 @@ inline void HSMLocalizableParameter::set_has_currency() {
}
inline void HSMLocalizableParameter::clear_currency() {
if (_internal_has_currency()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete paramOneof_.currency_;
}
clear_has_paramOneof();
@@ -36522,7 +35177,7 @@ inline ::proto::HSMCurrency* HSMLocalizableParameter::release_currency() {
if (_internal_has_currency()) {
clear_has_paramOneof();
::proto::HSMCurrency* temp = paramOneof_.currency_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
paramOneof_.currency_ = nullptr;
@@ -36563,13 +35218,14 @@ inline ::proto::HSMCurrency* HSMLocalizableParameter::_internal_mutable_currency
if (!_internal_has_currency()) {
clear_paramOneof();
set_has_currency();
- paramOneof_.currency_ = CreateMaybeMessage< ::proto::HSMCurrency >(GetArena());
+ paramOneof_.currency_ = CreateMaybeMessage< ::proto::HSMCurrency >(GetArenaForAllocation());
}
return paramOneof_.currency_;
}
inline ::proto::HSMCurrency* HSMLocalizableParameter::mutable_currency() {
+ ::proto::HSMCurrency* _msg = _internal_mutable_currency();
// @@protoc_insertion_point(field_mutable:proto.HSMLocalizableParameter.currency)
- return _internal_mutable_currency();
+ return _msg;
}
// .proto.HSMDateTime dateTime = 3;
@@ -36584,7 +35240,7 @@ inline void HSMLocalizableParameter::set_has_datetime() {
}
inline void HSMLocalizableParameter::clear_datetime() {
if (_internal_has_datetime()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete paramOneof_.datetime_;
}
clear_has_paramOneof();
@@ -36595,7 +35251,7 @@ inline ::proto::HSMDateTime* HSMLocalizableParameter::release_datetime() {
if (_internal_has_datetime()) {
clear_has_paramOneof();
::proto::HSMDateTime* temp = paramOneof_.datetime_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
paramOneof_.datetime_ = nullptr;
@@ -36636,13 +35292,14 @@ inline ::proto::HSMDateTime* HSMLocalizableParameter::_internal_mutable_datetime
if (!_internal_has_datetime()) {
clear_paramOneof();
set_has_datetime();
- paramOneof_.datetime_ = CreateMaybeMessage< ::proto::HSMDateTime >(GetArena());
+ paramOneof_.datetime_ = CreateMaybeMessage< ::proto::HSMDateTime >(GetArenaForAllocation());
}
return paramOneof_.datetime_;
}
inline ::proto::HSMDateTime* HSMLocalizableParameter::mutable_datetime() {
+ ::proto::HSMDateTime* _msg = _internal_mutable_datetime();
// @@protoc_insertion_point(field_mutable:proto.HSMLocalizableParameter.dateTime)
- return _internal_mutable_datetime();
+ return _msg;
}
inline bool HSMLocalizableParameter::has_paramOneof() const {
@@ -36674,43 +35331,28 @@ inline const std::string& HighlyStructuredMessage::namespace_() const {
// @@protoc_insertion_point(field_get:proto.HighlyStructuredMessage.namespace)
return _internal_namespace_();
}
-inline void HighlyStructuredMessage::set_namespace_(const std::string& value) {
- _internal_set_namespace_(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HighlyStructuredMessage::set_namespace_(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ namespace__.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.namespace)
}
inline std::string* HighlyStructuredMessage::mutable_namespace_() {
+ std::string* _s = _internal_mutable_namespace_();
// @@protoc_insertion_point(field_mutable:proto.HighlyStructuredMessage.namespace)
- return _internal_mutable_namespace_();
+ return _s;
}
inline const std::string& HighlyStructuredMessage::_internal_namespace_() const {
return namespace__.Get();
}
inline void HighlyStructuredMessage::_internal_set_namespace_(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- namespace__.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HighlyStructuredMessage::set_namespace_(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- namespace__.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HighlyStructuredMessage.namespace)
-}
-inline void HighlyStructuredMessage::set_namespace_(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- namespace__.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HighlyStructuredMessage.namespace)
-}
-inline void HighlyStructuredMessage::set_namespace_(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- namespace__.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HighlyStructuredMessage.namespace)
+ namespace__.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::_internal_mutable_namespace_() {
_has_bits_[0] |= 0x00000001u;
- return namespace__.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return namespace__.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::release_namespace_() {
// @@protoc_insertion_point(field_release:proto.HighlyStructuredMessage.namespace)
@@ -36718,7 +35360,7 @@ inline std::string* HighlyStructuredMessage::release_namespace_() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return namespace__.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return namespace__.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HighlyStructuredMessage::set_allocated_namespace_(std::string* namespace_) {
if (namespace_ != nullptr) {
@@ -36727,7 +35369,7 @@ inline void HighlyStructuredMessage::set_allocated_namespace_(std::string* names
_has_bits_[0] &= ~0x00000001u;
}
namespace__.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), namespace_,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HighlyStructuredMessage.namespace)
}
@@ -36747,43 +35389,28 @@ inline const std::string& HighlyStructuredMessage::elementname() const {
// @@protoc_insertion_point(field_get:proto.HighlyStructuredMessage.elementName)
return _internal_elementname();
}
-inline void HighlyStructuredMessage::set_elementname(const std::string& value) {
- _internal_set_elementname(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HighlyStructuredMessage::set_elementname(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ elementname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.elementName)
}
inline std::string* HighlyStructuredMessage::mutable_elementname() {
+ std::string* _s = _internal_mutable_elementname();
// @@protoc_insertion_point(field_mutable:proto.HighlyStructuredMessage.elementName)
- return _internal_mutable_elementname();
+ return _s;
}
inline const std::string& HighlyStructuredMessage::_internal_elementname() const {
return elementname_.Get();
}
inline void HighlyStructuredMessage::_internal_set_elementname(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- elementname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HighlyStructuredMessage::set_elementname(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- elementname_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HighlyStructuredMessage.elementName)
-}
-inline void HighlyStructuredMessage::set_elementname(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- elementname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HighlyStructuredMessage.elementName)
-}
-inline void HighlyStructuredMessage::set_elementname(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- elementname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HighlyStructuredMessage.elementName)
+ elementname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::_internal_mutable_elementname() {
_has_bits_[0] |= 0x00000002u;
- return elementname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return elementname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::release_elementname() {
// @@protoc_insertion_point(field_release:proto.HighlyStructuredMessage.elementName)
@@ -36791,7 +35418,7 @@ inline std::string* HighlyStructuredMessage::release_elementname() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return elementname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return elementname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HighlyStructuredMessage::set_allocated_elementname(std::string* elementname) {
if (elementname != nullptr) {
@@ -36800,7 +35427,7 @@ inline void HighlyStructuredMessage::set_allocated_elementname(std::string* elem
_has_bits_[0] &= ~0x00000002u;
}
elementname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), elementname,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HighlyStructuredMessage.elementName)
}
@@ -36815,8 +35442,9 @@ inline void HighlyStructuredMessage::clear_params() {
params_.Clear();
}
inline std::string* HighlyStructuredMessage::add_params() {
+ std::string* _s = _internal_add_params();
// @@protoc_insertion_point(field_add_mutable:proto.HighlyStructuredMessage.params)
- return _internal_add_params();
+ return _s;
}
inline const std::string& HighlyStructuredMessage::_internal_params(int index) const {
return params_.Get(index);
@@ -36830,12 +35458,12 @@ inline std::string* HighlyStructuredMessage::mutable_params(int index) {
return params_.Mutable(index);
}
inline void HighlyStructuredMessage::set_params(int index, const std::string& value) {
- // @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.params)
params_.Mutable(index)->assign(value);
+ // @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.params)
}
inline void HighlyStructuredMessage::set_params(int index, std::string&& value) {
- // @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.params)
params_.Mutable(index)->assign(std::move(value));
+ // @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.params)
}
inline void HighlyStructuredMessage::set_params(int index, const char* value) {
GOOGLE_DCHECK(value != nullptr);
@@ -36894,43 +35522,28 @@ inline const std::string& HighlyStructuredMessage::fallbacklg() const {
// @@protoc_insertion_point(field_get:proto.HighlyStructuredMessage.fallbackLg)
return _internal_fallbacklg();
}
-inline void HighlyStructuredMessage::set_fallbacklg(const std::string& value) {
- _internal_set_fallbacklg(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HighlyStructuredMessage::set_fallbacklg(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ fallbacklg_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.fallbackLg)
}
inline std::string* HighlyStructuredMessage::mutable_fallbacklg() {
+ std::string* _s = _internal_mutable_fallbacklg();
// @@protoc_insertion_point(field_mutable:proto.HighlyStructuredMessage.fallbackLg)
- return _internal_mutable_fallbacklg();
+ return _s;
}
inline const std::string& HighlyStructuredMessage::_internal_fallbacklg() const {
return fallbacklg_.Get();
}
inline void HighlyStructuredMessage::_internal_set_fallbacklg(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- fallbacklg_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HighlyStructuredMessage::set_fallbacklg(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- fallbacklg_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HighlyStructuredMessage.fallbackLg)
-}
-inline void HighlyStructuredMessage::set_fallbacklg(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- fallbacklg_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HighlyStructuredMessage.fallbackLg)
-}
-inline void HighlyStructuredMessage::set_fallbacklg(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- fallbacklg_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HighlyStructuredMessage.fallbackLg)
+ fallbacklg_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::_internal_mutable_fallbacklg() {
_has_bits_[0] |= 0x00000004u;
- return fallbacklg_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return fallbacklg_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::release_fallbacklg() {
// @@protoc_insertion_point(field_release:proto.HighlyStructuredMessage.fallbackLg)
@@ -36938,7 +35551,7 @@ inline std::string* HighlyStructuredMessage::release_fallbacklg() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return fallbacklg_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return fallbacklg_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HighlyStructuredMessage::set_allocated_fallbacklg(std::string* fallbacklg) {
if (fallbacklg != nullptr) {
@@ -36947,7 +35560,7 @@ inline void HighlyStructuredMessage::set_allocated_fallbacklg(std::string* fallb
_has_bits_[0] &= ~0x00000004u;
}
fallbacklg_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fallbacklg,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HighlyStructuredMessage.fallbackLg)
}
@@ -36967,43 +35580,28 @@ inline const std::string& HighlyStructuredMessage::fallbacklc() const {
// @@protoc_insertion_point(field_get:proto.HighlyStructuredMessage.fallbackLc)
return _internal_fallbacklc();
}
-inline void HighlyStructuredMessage::set_fallbacklc(const std::string& value) {
- _internal_set_fallbacklc(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HighlyStructuredMessage::set_fallbacklc(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ fallbacklc_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.fallbackLc)
}
inline std::string* HighlyStructuredMessage::mutable_fallbacklc() {
+ std::string* _s = _internal_mutable_fallbacklc();
// @@protoc_insertion_point(field_mutable:proto.HighlyStructuredMessage.fallbackLc)
- return _internal_mutable_fallbacklc();
+ return _s;
}
inline const std::string& HighlyStructuredMessage::_internal_fallbacklc() const {
return fallbacklc_.Get();
}
inline void HighlyStructuredMessage::_internal_set_fallbacklc(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- fallbacklc_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HighlyStructuredMessage::set_fallbacklc(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- fallbacklc_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HighlyStructuredMessage.fallbackLc)
-}
-inline void HighlyStructuredMessage::set_fallbacklc(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- fallbacklc_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HighlyStructuredMessage.fallbackLc)
-}
-inline void HighlyStructuredMessage::set_fallbacklc(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- fallbacklc_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HighlyStructuredMessage.fallbackLc)
+ fallbacklc_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::_internal_mutable_fallbacklc() {
_has_bits_[0] |= 0x00000008u;
- return fallbacklc_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return fallbacklc_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::release_fallbacklc() {
// @@protoc_insertion_point(field_release:proto.HighlyStructuredMessage.fallbackLc)
@@ -37011,7 +35609,7 @@ inline std::string* HighlyStructuredMessage::release_fallbacklc() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return fallbacklc_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return fallbacklc_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HighlyStructuredMessage::set_allocated_fallbacklc(std::string* fallbacklc) {
if (fallbacklc != nullptr) {
@@ -37020,7 +35618,7 @@ inline void HighlyStructuredMessage::set_allocated_fallbacklc(std::string* fallb
_has_bits_[0] &= ~0x00000008u;
}
fallbacklc_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fallbacklc,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HighlyStructuredMessage.fallbackLc)
}
@@ -37054,8 +35652,9 @@ inline ::proto::HSMLocalizableParameter* HighlyStructuredMessage::_internal_add_
return localizableparams_.Add();
}
inline ::proto::HSMLocalizableParameter* HighlyStructuredMessage::add_localizableparams() {
+ ::proto::HSMLocalizableParameter* _add = _internal_add_localizableparams();
// @@protoc_insertion_point(field_add:proto.HighlyStructuredMessage.localizableParams)
- return _internal_add_localizableparams();
+ return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::HSMLocalizableParameter >&
HighlyStructuredMessage::localizableparams() const {
@@ -37079,43 +35678,28 @@ inline const std::string& HighlyStructuredMessage::deterministiclg() const {
// @@protoc_insertion_point(field_get:proto.HighlyStructuredMessage.deterministicLg)
return _internal_deterministiclg();
}
-inline void HighlyStructuredMessage::set_deterministiclg(const std::string& value) {
- _internal_set_deterministiclg(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HighlyStructuredMessage::set_deterministiclg(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000010u;
+ deterministiclg_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.deterministicLg)
}
inline std::string* HighlyStructuredMessage::mutable_deterministiclg() {
+ std::string* _s = _internal_mutable_deterministiclg();
// @@protoc_insertion_point(field_mutable:proto.HighlyStructuredMessage.deterministicLg)
- return _internal_mutable_deterministiclg();
+ return _s;
}
inline const std::string& HighlyStructuredMessage::_internal_deterministiclg() const {
return deterministiclg_.Get();
}
inline void HighlyStructuredMessage::_internal_set_deterministiclg(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
- deterministiclg_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HighlyStructuredMessage::set_deterministiclg(std::string&& value) {
- _has_bits_[0] |= 0x00000010u;
- deterministiclg_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HighlyStructuredMessage.deterministicLg)
-}
-inline void HighlyStructuredMessage::set_deterministiclg(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000010u;
- deterministiclg_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HighlyStructuredMessage.deterministicLg)
-}
-inline void HighlyStructuredMessage::set_deterministiclg(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000010u;
- deterministiclg_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HighlyStructuredMessage.deterministicLg)
+ deterministiclg_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::_internal_mutable_deterministiclg() {
_has_bits_[0] |= 0x00000010u;
- return deterministiclg_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return deterministiclg_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::release_deterministiclg() {
// @@protoc_insertion_point(field_release:proto.HighlyStructuredMessage.deterministicLg)
@@ -37123,7 +35707,7 @@ inline std::string* HighlyStructuredMessage::release_deterministiclg() {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
- return deterministiclg_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return deterministiclg_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HighlyStructuredMessage::set_allocated_deterministiclg(std::string* deterministiclg) {
if (deterministiclg != nullptr) {
@@ -37132,7 +35716,7 @@ inline void HighlyStructuredMessage::set_allocated_deterministiclg(std::string*
_has_bits_[0] &= ~0x00000010u;
}
deterministiclg_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), deterministiclg,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HighlyStructuredMessage.deterministicLg)
}
@@ -37152,43 +35736,28 @@ inline const std::string& HighlyStructuredMessage::deterministiclc() const {
// @@protoc_insertion_point(field_get:proto.HighlyStructuredMessage.deterministicLc)
return _internal_deterministiclc();
}
-inline void HighlyStructuredMessage::set_deterministiclc(const std::string& value) {
- _internal_set_deterministiclc(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HighlyStructuredMessage::set_deterministiclc(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000020u;
+ deterministiclc_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.deterministicLc)
}
inline std::string* HighlyStructuredMessage::mutable_deterministiclc() {
+ std::string* _s = _internal_mutable_deterministiclc();
// @@protoc_insertion_point(field_mutable:proto.HighlyStructuredMessage.deterministicLc)
- return _internal_mutable_deterministiclc();
+ return _s;
}
inline const std::string& HighlyStructuredMessage::_internal_deterministiclc() const {
return deterministiclc_.Get();
}
inline void HighlyStructuredMessage::_internal_set_deterministiclc(const std::string& value) {
_has_bits_[0] |= 0x00000020u;
- deterministiclc_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HighlyStructuredMessage::set_deterministiclc(std::string&& value) {
- _has_bits_[0] |= 0x00000020u;
- deterministiclc_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HighlyStructuredMessage.deterministicLc)
-}
-inline void HighlyStructuredMessage::set_deterministiclc(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000020u;
- deterministiclc_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HighlyStructuredMessage.deterministicLc)
-}
-inline void HighlyStructuredMessage::set_deterministiclc(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000020u;
- deterministiclc_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HighlyStructuredMessage.deterministicLc)
+ deterministiclc_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::_internal_mutable_deterministiclc() {
_has_bits_[0] |= 0x00000020u;
- return deterministiclc_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return deterministiclc_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::release_deterministiclc() {
// @@protoc_insertion_point(field_release:proto.HighlyStructuredMessage.deterministicLc)
@@ -37196,7 +35765,7 @@ inline std::string* HighlyStructuredMessage::release_deterministiclc() {
return nullptr;
}
_has_bits_[0] &= ~0x00000020u;
- return deterministiclc_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return deterministiclc_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HighlyStructuredMessage::set_allocated_deterministiclc(std::string* deterministiclc) {
if (deterministiclc != nullptr) {
@@ -37205,7 +35774,7 @@ inline void HighlyStructuredMessage::set_allocated_deterministiclc(std::string*
_has_bits_[0] &= ~0x00000020u;
}
deterministiclc_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), deterministiclc,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HighlyStructuredMessage.deterministicLc)
}
@@ -37233,7 +35802,7 @@ inline const ::proto::TemplateMessage& HighlyStructuredMessage::hydratedhsm() co
}
inline void HighlyStructuredMessage::unsafe_arena_set_allocated_hydratedhsm(
::proto::TemplateMessage* hydratedhsm) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(hydratedhsm_);
}
hydratedhsm_ = hydratedhsm;
@@ -37248,9 +35817,15 @@ inline ::proto::TemplateMessage* HighlyStructuredMessage::release_hydratedhsm()
_has_bits_[0] &= ~0x00000040u;
::proto::TemplateMessage* temp = hydratedhsm_;
hydratedhsm_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::TemplateMessage* HighlyStructuredMessage::unsafe_arena_release_hydratedhsm() {
@@ -37263,23 +35838,24 @@ inline ::proto::TemplateMessage* HighlyStructuredMessage::unsafe_arena_release_h
inline ::proto::TemplateMessage* HighlyStructuredMessage::_internal_mutable_hydratedhsm() {
_has_bits_[0] |= 0x00000040u;
if (hydratedhsm_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::TemplateMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::TemplateMessage>(GetArenaForAllocation());
hydratedhsm_ = p;
}
return hydratedhsm_;
}
inline ::proto::TemplateMessage* HighlyStructuredMessage::mutable_hydratedhsm() {
+ ::proto::TemplateMessage* _msg = _internal_mutable_hydratedhsm();
// @@protoc_insertion_point(field_mutable:proto.HighlyStructuredMessage.hydratedHsm)
- return _internal_mutable_hydratedhsm();
+ return _msg;
}
inline void HighlyStructuredMessage::set_allocated_hydratedhsm(::proto::TemplateMessage* hydratedhsm) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete hydratedhsm_;
}
if (hydratedhsm) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(hydratedhsm);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::TemplateMessage>::GetOwningArena(hydratedhsm);
if (message_arena != submessage_arena) {
hydratedhsm = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, hydratedhsm, submessage_arena);
@@ -37320,7 +35896,7 @@ inline const ::proto::Message& SendPaymentMessage::notemessage() const {
}
inline void SendPaymentMessage::unsafe_arena_set_allocated_notemessage(
::proto::Message* notemessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(notemessage_);
}
notemessage_ = notemessage;
@@ -37335,9 +35911,15 @@ inline ::proto::Message* SendPaymentMessage::release_notemessage() {
_has_bits_[0] &= ~0x00000001u;
::proto::Message* temp = notemessage_;
notemessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::Message* SendPaymentMessage::unsafe_arena_release_notemessage() {
@@ -37350,23 +35932,24 @@ inline ::proto::Message* SendPaymentMessage::unsafe_arena_release_notemessage()
inline ::proto::Message* SendPaymentMessage::_internal_mutable_notemessage() {
_has_bits_[0] |= 0x00000001u;
if (notemessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::Message>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::Message>(GetArenaForAllocation());
notemessage_ = p;
}
return notemessage_;
}
inline ::proto::Message* SendPaymentMessage::mutable_notemessage() {
+ ::proto::Message* _msg = _internal_mutable_notemessage();
// @@protoc_insertion_point(field_mutable:proto.SendPaymentMessage.noteMessage)
- return _internal_mutable_notemessage();
+ return _msg;
}
inline void SendPaymentMessage::set_allocated_notemessage(::proto::Message* notemessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete notemessage_;
}
if (notemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(notemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Message>::GetOwningArena(notemessage);
if (message_arena != submessage_arena) {
notemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, notemessage, submessage_arena);
@@ -37403,7 +35986,7 @@ inline const ::proto::MessageKey& SendPaymentMessage::requestmessagekey() const
}
inline void SendPaymentMessage::unsafe_arena_set_allocated_requestmessagekey(
::proto::MessageKey* requestmessagekey) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(requestmessagekey_);
}
requestmessagekey_ = requestmessagekey;
@@ -37418,9 +36001,15 @@ inline ::proto::MessageKey* SendPaymentMessage::release_requestmessagekey() {
_has_bits_[0] &= ~0x00000002u;
::proto::MessageKey* temp = requestmessagekey_;
requestmessagekey_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::MessageKey* SendPaymentMessage::unsafe_arena_release_requestmessagekey() {
@@ -37433,23 +36022,24 @@ inline ::proto::MessageKey* SendPaymentMessage::unsafe_arena_release_requestmess
inline ::proto::MessageKey* SendPaymentMessage::_internal_mutable_requestmessagekey() {
_has_bits_[0] |= 0x00000002u;
if (requestmessagekey_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
requestmessagekey_ = p;
}
return requestmessagekey_;
}
inline ::proto::MessageKey* SendPaymentMessage::mutable_requestmessagekey() {
+ ::proto::MessageKey* _msg = _internal_mutable_requestmessagekey();
// @@protoc_insertion_point(field_mutable:proto.SendPaymentMessage.requestMessageKey)
- return _internal_mutable_requestmessagekey();
+ return _msg;
}
inline void SendPaymentMessage::set_allocated_requestmessagekey(::proto::MessageKey* requestmessagekey) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete requestmessagekey_;
}
if (requestmessagekey) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(requestmessagekey);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(requestmessagekey);
if (message_arena != submessage_arena) {
requestmessagekey = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, requestmessagekey, submessage_arena);
@@ -37490,7 +36080,7 @@ inline const ::proto::Message& RequestPaymentMessage::notemessage() const {
}
inline void RequestPaymentMessage::unsafe_arena_set_allocated_notemessage(
::proto::Message* notemessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(notemessage_);
}
notemessage_ = notemessage;
@@ -37505,9 +36095,15 @@ inline ::proto::Message* RequestPaymentMessage::release_notemessage() {
_has_bits_[0] &= ~0x00000004u;
::proto::Message* temp = notemessage_;
notemessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::Message* RequestPaymentMessage::unsafe_arena_release_notemessage() {
@@ -37520,23 +36116,24 @@ inline ::proto::Message* RequestPaymentMessage::unsafe_arena_release_notemessage
inline ::proto::Message* RequestPaymentMessage::_internal_mutable_notemessage() {
_has_bits_[0] |= 0x00000004u;
if (notemessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::Message>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::Message>(GetArenaForAllocation());
notemessage_ = p;
}
return notemessage_;
}
inline ::proto::Message* RequestPaymentMessage::mutable_notemessage() {
+ ::proto::Message* _msg = _internal_mutable_notemessage();
// @@protoc_insertion_point(field_mutable:proto.RequestPaymentMessage.noteMessage)
- return _internal_mutable_notemessage();
+ return _msg;
}
inline void RequestPaymentMessage::set_allocated_notemessage(::proto::Message* notemessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete notemessage_;
}
if (notemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(notemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Message>::GetOwningArena(notemessage);
if (message_arena != submessage_arena) {
notemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, notemessage, submessage_arena);
@@ -37565,43 +36162,28 @@ inline const std::string& RequestPaymentMessage::currencycodeiso4217() const {
// @@protoc_insertion_point(field_get:proto.RequestPaymentMessage.currencyCodeIso4217)
return _internal_currencycodeiso4217();
}
-inline void RequestPaymentMessage::set_currencycodeiso4217(const std::string& value) {
- _internal_set_currencycodeiso4217(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void RequestPaymentMessage::set_currencycodeiso4217(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ currencycodeiso4217_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.RequestPaymentMessage.currencyCodeIso4217)
}
inline std::string* RequestPaymentMessage::mutable_currencycodeiso4217() {
+ std::string* _s = _internal_mutable_currencycodeiso4217();
// @@protoc_insertion_point(field_mutable:proto.RequestPaymentMessage.currencyCodeIso4217)
- return _internal_mutable_currencycodeiso4217();
+ return _s;
}
inline const std::string& RequestPaymentMessage::_internal_currencycodeiso4217() const {
return currencycodeiso4217_.Get();
}
inline void RequestPaymentMessage::_internal_set_currencycodeiso4217(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- currencycodeiso4217_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void RequestPaymentMessage::set_currencycodeiso4217(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- currencycodeiso4217_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.RequestPaymentMessage.currencyCodeIso4217)
-}
-inline void RequestPaymentMessage::set_currencycodeiso4217(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- currencycodeiso4217_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.RequestPaymentMessage.currencyCodeIso4217)
-}
-inline void RequestPaymentMessage::set_currencycodeiso4217(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- currencycodeiso4217_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.RequestPaymentMessage.currencyCodeIso4217)
+ currencycodeiso4217_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* RequestPaymentMessage::_internal_mutable_currencycodeiso4217() {
_has_bits_[0] |= 0x00000001u;
- return currencycodeiso4217_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return currencycodeiso4217_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* RequestPaymentMessage::release_currencycodeiso4217() {
// @@protoc_insertion_point(field_release:proto.RequestPaymentMessage.currencyCodeIso4217)
@@ -37609,7 +36191,7 @@ inline std::string* RequestPaymentMessage::release_currencycodeiso4217() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return currencycodeiso4217_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return currencycodeiso4217_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void RequestPaymentMessage::set_allocated_currencycodeiso4217(std::string* currencycodeiso4217) {
if (currencycodeiso4217 != nullptr) {
@@ -37618,7 +36200,7 @@ inline void RequestPaymentMessage::set_allocated_currencycodeiso4217(std::string
_has_bits_[0] &= ~0x00000001u;
}
currencycodeiso4217_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), currencycodeiso4217,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.RequestPaymentMessage.currencyCodeIso4217)
}
@@ -37631,7 +36213,7 @@ inline bool RequestPaymentMessage::has_amount1000() const {
return _internal_has_amount1000();
}
inline void RequestPaymentMessage::clear_amount1000() {
- amount1000_ = PROTOBUF_ULONGLONG(0);
+ amount1000_ = uint64_t{0u};
_has_bits_[0] &= ~0x00000010u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 RequestPaymentMessage::_internal_amount1000() const {
@@ -37666,43 +36248,28 @@ inline const std::string& RequestPaymentMessage::requestfrom() const {
// @@protoc_insertion_point(field_get:proto.RequestPaymentMessage.requestFrom)
return _internal_requestfrom();
}
-inline void RequestPaymentMessage::set_requestfrom(const std::string& value) {
- _internal_set_requestfrom(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void RequestPaymentMessage::set_requestfrom(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ requestfrom_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.RequestPaymentMessage.requestFrom)
}
inline std::string* RequestPaymentMessage::mutable_requestfrom() {
+ std::string* _s = _internal_mutable_requestfrom();
// @@protoc_insertion_point(field_mutable:proto.RequestPaymentMessage.requestFrom)
- return _internal_mutable_requestfrom();
+ return _s;
}
inline const std::string& RequestPaymentMessage::_internal_requestfrom() const {
return requestfrom_.Get();
}
inline void RequestPaymentMessage::_internal_set_requestfrom(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- requestfrom_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void RequestPaymentMessage::set_requestfrom(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- requestfrom_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.RequestPaymentMessage.requestFrom)
-}
-inline void RequestPaymentMessage::set_requestfrom(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- requestfrom_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.RequestPaymentMessage.requestFrom)
-}
-inline void RequestPaymentMessage::set_requestfrom(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- requestfrom_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.RequestPaymentMessage.requestFrom)
+ requestfrom_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* RequestPaymentMessage::_internal_mutable_requestfrom() {
_has_bits_[0] |= 0x00000002u;
- return requestfrom_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return requestfrom_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* RequestPaymentMessage::release_requestfrom() {
// @@protoc_insertion_point(field_release:proto.RequestPaymentMessage.requestFrom)
@@ -37710,7 +36277,7 @@ inline std::string* RequestPaymentMessage::release_requestfrom() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return requestfrom_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return requestfrom_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void RequestPaymentMessage::set_allocated_requestfrom(std::string* requestfrom) {
if (requestfrom != nullptr) {
@@ -37719,7 +36286,7 @@ inline void RequestPaymentMessage::set_allocated_requestfrom(std::string* reques
_has_bits_[0] &= ~0x00000002u;
}
requestfrom_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), requestfrom,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.RequestPaymentMessage.requestFrom)
}
@@ -37732,7 +36299,7 @@ inline bool RequestPaymentMessage::has_expirytimestamp() const {
return _internal_has_expirytimestamp();
}
inline void RequestPaymentMessage::clear_expirytimestamp() {
- expirytimestamp_ = PROTOBUF_LONGLONG(0);
+ expirytimestamp_ = int64_t{0};
_has_bits_[0] &= ~0x00000020u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 RequestPaymentMessage::_internal_expirytimestamp() const {
@@ -37775,7 +36342,7 @@ inline const ::proto::PaymentMoney& RequestPaymentMessage::amount() const {
}
inline void RequestPaymentMessage::unsafe_arena_set_allocated_amount(
::proto::PaymentMoney* amount) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(amount_);
}
amount_ = amount;
@@ -37790,9 +36357,15 @@ inline ::proto::PaymentMoney* RequestPaymentMessage::release_amount() {
_has_bits_[0] &= ~0x00000008u;
::proto::PaymentMoney* temp = amount_;
amount_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::PaymentMoney* RequestPaymentMessage::unsafe_arena_release_amount() {
@@ -37805,23 +36378,24 @@ inline ::proto::PaymentMoney* RequestPaymentMessage::unsafe_arena_release_amount
inline ::proto::PaymentMoney* RequestPaymentMessage::_internal_mutable_amount() {
_has_bits_[0] |= 0x00000008u;
if (amount_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::PaymentMoney>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::PaymentMoney>(GetArenaForAllocation());
amount_ = p;
}
return amount_;
}
inline ::proto::PaymentMoney* RequestPaymentMessage::mutable_amount() {
+ ::proto::PaymentMoney* _msg = _internal_mutable_amount();
// @@protoc_insertion_point(field_mutable:proto.RequestPaymentMessage.amount)
- return _internal_mutable_amount();
+ return _msg;
}
inline void RequestPaymentMessage::set_allocated_amount(::proto::PaymentMoney* amount) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete amount_;
}
if (amount) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(amount);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::PaymentMoney>::GetOwningArena(amount);
if (message_arena != submessage_arena) {
amount = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, amount, submessage_arena);
@@ -37862,7 +36436,7 @@ inline const ::proto::MessageKey& DeclinePaymentRequestMessage::key() const {
}
inline void DeclinePaymentRequestMessage::unsafe_arena_set_allocated_key(
::proto::MessageKey* key) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_);
}
key_ = key;
@@ -37877,9 +36451,15 @@ inline ::proto::MessageKey* DeclinePaymentRequestMessage::release_key() {
_has_bits_[0] &= ~0x00000001u;
::proto::MessageKey* temp = key_;
key_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::MessageKey* DeclinePaymentRequestMessage::unsafe_arena_release_key() {
@@ -37892,23 +36472,24 @@ inline ::proto::MessageKey* DeclinePaymentRequestMessage::unsafe_arena_release_k
inline ::proto::MessageKey* DeclinePaymentRequestMessage::_internal_mutable_key() {
_has_bits_[0] |= 0x00000001u;
if (key_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
key_ = p;
}
return key_;
}
inline ::proto::MessageKey* DeclinePaymentRequestMessage::mutable_key() {
+ ::proto::MessageKey* _msg = _internal_mutable_key();
// @@protoc_insertion_point(field_mutable:proto.DeclinePaymentRequestMessage.key)
- return _internal_mutable_key();
+ return _msg;
}
inline void DeclinePaymentRequestMessage::set_allocated_key(::proto::MessageKey* key) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete key_;
}
if (key) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(key);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(key);
if (message_arena != submessage_arena) {
key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, key, submessage_arena);
@@ -37949,7 +36530,7 @@ inline const ::proto::MessageKey& CancelPaymentRequestMessage::key() const {
}
inline void CancelPaymentRequestMessage::unsafe_arena_set_allocated_key(
::proto::MessageKey* key) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_);
}
key_ = key;
@@ -37964,9 +36545,15 @@ inline ::proto::MessageKey* CancelPaymentRequestMessage::release_key() {
_has_bits_[0] &= ~0x00000001u;
::proto::MessageKey* temp = key_;
key_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::MessageKey* CancelPaymentRequestMessage::unsafe_arena_release_key() {
@@ -37979,23 +36566,24 @@ inline ::proto::MessageKey* CancelPaymentRequestMessage::unsafe_arena_release_ke
inline ::proto::MessageKey* CancelPaymentRequestMessage::_internal_mutable_key() {
_has_bits_[0] |= 0x00000001u;
if (key_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
key_ = p;
}
return key_;
}
inline ::proto::MessageKey* CancelPaymentRequestMessage::mutable_key() {
+ ::proto::MessageKey* _msg = _internal_mutable_key();
// @@protoc_insertion_point(field_mutable:proto.CancelPaymentRequestMessage.key)
- return _internal_mutable_key();
+ return _msg;
}
inline void CancelPaymentRequestMessage::set_allocated_key(::proto::MessageKey* key) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete key_;
}
if (key) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(key);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(key);
if (message_arena != submessage_arena) {
key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, key, submessage_arena);
@@ -38168,43 +36756,28 @@ inline const std::string& LiveLocationMessage::caption() const {
// @@protoc_insertion_point(field_get:proto.LiveLocationMessage.caption)
return _internal_caption();
}
-inline void LiveLocationMessage::set_caption(const std::string& value) {
- _internal_set_caption(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void LiveLocationMessage::set_caption(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.LiveLocationMessage.caption)
}
inline std::string* LiveLocationMessage::mutable_caption() {
+ std::string* _s = _internal_mutable_caption();
// @@protoc_insertion_point(field_mutable:proto.LiveLocationMessage.caption)
- return _internal_mutable_caption();
+ return _s;
}
inline const std::string& LiveLocationMessage::_internal_caption() const {
return caption_.Get();
}
inline void LiveLocationMessage::_internal_set_caption(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void LiveLocationMessage::set_caption(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- caption_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.LiveLocationMessage.caption)
-}
-inline void LiveLocationMessage::set_caption(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.LiveLocationMessage.caption)
-}
-inline void LiveLocationMessage::set_caption(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.LiveLocationMessage.caption)
+ caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* LiveLocationMessage::_internal_mutable_caption() {
_has_bits_[0] |= 0x00000001u;
- return caption_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return caption_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* LiveLocationMessage::release_caption() {
// @@protoc_insertion_point(field_release:proto.LiveLocationMessage.caption)
@@ -38212,7 +36785,7 @@ inline std::string* LiveLocationMessage::release_caption() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return caption_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return caption_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void LiveLocationMessage::set_allocated_caption(std::string* caption) {
if (caption != nullptr) {
@@ -38221,7 +36794,7 @@ inline void LiveLocationMessage::set_allocated_caption(std::string* caption) {
_has_bits_[0] &= ~0x00000001u;
}
caption_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), caption,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.LiveLocationMessage.caption)
}
@@ -38234,7 +36807,7 @@ inline bool LiveLocationMessage::has_sequencenumber() const {
return _internal_has_sequencenumber();
}
inline void LiveLocationMessage::clear_sequencenumber() {
- sequencenumber_ = PROTOBUF_LONGLONG(0);
+ sequencenumber_ = int64_t{0};
_has_bits_[0] &= ~0x00000200u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 LiveLocationMessage::_internal_sequencenumber() const {
@@ -38297,43 +36870,28 @@ inline const std::string& LiveLocationMessage::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.LiveLocationMessage.jpegThumbnail)
return _internal_jpegthumbnail();
}
-inline void LiveLocationMessage::set_jpegthumbnail(const std::string& value) {
- _internal_set_jpegthumbnail(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void LiveLocationMessage::set_jpegthumbnail(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ jpegthumbnail_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.LiveLocationMessage.jpegThumbnail)
}
inline std::string* LiveLocationMessage::mutable_jpegthumbnail() {
+ std::string* _s = _internal_mutable_jpegthumbnail();
// @@protoc_insertion_point(field_mutable:proto.LiveLocationMessage.jpegThumbnail)
- return _internal_mutable_jpegthumbnail();
+ return _s;
}
inline const std::string& LiveLocationMessage::_internal_jpegthumbnail() const {
return jpegthumbnail_.Get();
}
inline void LiveLocationMessage::_internal_set_jpegthumbnail(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void LiveLocationMessage::set_jpegthumbnail(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- jpegthumbnail_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.LiveLocationMessage.jpegThumbnail)
-}
-inline void LiveLocationMessage::set_jpegthumbnail(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.LiveLocationMessage.jpegThumbnail)
-}
-inline void LiveLocationMessage::set_jpegthumbnail(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.LiveLocationMessage.jpegThumbnail)
+ jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* LiveLocationMessage::_internal_mutable_jpegthumbnail() {
_has_bits_[0] |= 0x00000002u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* LiveLocationMessage::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.LiveLocationMessage.jpegThumbnail)
@@ -38341,7 +36899,7 @@ inline std::string* LiveLocationMessage::release_jpegthumbnail() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void LiveLocationMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
@@ -38350,7 +36908,7 @@ inline void LiveLocationMessage::set_allocated_jpegthumbnail(std::string* jpegth
_has_bits_[0] &= ~0x00000002u;
}
jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.LiveLocationMessage.jpegThumbnail)
}
@@ -38378,7 +36936,7 @@ inline const ::proto::ContextInfo& LiveLocationMessage::contextinfo() const {
}
inline void LiveLocationMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -38393,9 +36951,15 @@ inline ::proto::ContextInfo* LiveLocationMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00000004u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* LiveLocationMessage::unsafe_arena_release_contextinfo() {
@@ -38408,23 +36972,24 @@ inline ::proto::ContextInfo* LiveLocationMessage::unsafe_arena_release_contextin
inline ::proto::ContextInfo* LiveLocationMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00000004u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* LiveLocationMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.LiveLocationMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void LiveLocationMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -38457,43 +37022,28 @@ inline const std::string& StickerMessage::url() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.url)
return _internal_url();
}
-inline void StickerMessage::set_url(const std::string& value) {
- _internal_set_url(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void StickerMessage::set_url(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.url)
}
inline std::string* StickerMessage::mutable_url() {
+ std::string* _s = _internal_mutable_url();
// @@protoc_insertion_point(field_mutable:proto.StickerMessage.url)
- return _internal_mutable_url();
+ return _s;
}
inline const std::string& StickerMessage::_internal_url() const {
return url_.Get();
}
inline void StickerMessage::_internal_set_url(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void StickerMessage::set_url(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- url_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.StickerMessage.url)
-}
-inline void StickerMessage::set_url(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.StickerMessage.url)
-}
-inline void StickerMessage::set_url(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.StickerMessage.url)
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_url() {
_has_bits_[0] |= 0x00000001u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* StickerMessage::release_url() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.url)
@@ -38501,7 +37051,7 @@ inline std::string* StickerMessage::release_url() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void StickerMessage::set_allocated_url(std::string* url) {
if (url != nullptr) {
@@ -38510,7 +37060,7 @@ inline void StickerMessage::set_allocated_url(std::string* url) {
_has_bits_[0] &= ~0x00000001u;
}
url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.url)
}
@@ -38530,43 +37080,28 @@ inline const std::string& StickerMessage::filesha256() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.fileSha256)
return _internal_filesha256();
}
-inline void StickerMessage::set_filesha256(const std::string& value) {
- _internal_set_filesha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void StickerMessage::set_filesha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ filesha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.fileSha256)
}
inline std::string* StickerMessage::mutable_filesha256() {
+ std::string* _s = _internal_mutable_filesha256();
// @@protoc_insertion_point(field_mutable:proto.StickerMessage.fileSha256)
- return _internal_mutable_filesha256();
+ return _s;
}
inline const std::string& StickerMessage::_internal_filesha256() const {
return filesha256_.Get();
}
inline void StickerMessage::_internal_set_filesha256(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void StickerMessage::set_filesha256(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- filesha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.StickerMessage.fileSha256)
-}
-inline void StickerMessage::set_filesha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.StickerMessage.fileSha256)
-}
-inline void StickerMessage::set_filesha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.StickerMessage.fileSha256)
+ filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_filesha256() {
_has_bits_[0] |= 0x00000002u;
- return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* StickerMessage::release_filesha256() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.fileSha256)
@@ -38574,7 +37109,7 @@ inline std::string* StickerMessage::release_filesha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void StickerMessage::set_allocated_filesha256(std::string* filesha256) {
if (filesha256 != nullptr) {
@@ -38583,7 +37118,7 @@ inline void StickerMessage::set_allocated_filesha256(std::string* filesha256) {
_has_bits_[0] &= ~0x00000002u;
}
filesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), filesha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.fileSha256)
}
@@ -38603,43 +37138,28 @@ inline const std::string& StickerMessage::fileencsha256() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.fileEncSha256)
return _internal_fileencsha256();
}
-inline void StickerMessage::set_fileencsha256(const std::string& value) {
- _internal_set_fileencsha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void StickerMessage::set_fileencsha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ fileencsha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.fileEncSha256)
}
inline std::string* StickerMessage::mutable_fileencsha256() {
+ std::string* _s = _internal_mutable_fileencsha256();
// @@protoc_insertion_point(field_mutable:proto.StickerMessage.fileEncSha256)
- return _internal_mutable_fileencsha256();
+ return _s;
}
inline const std::string& StickerMessage::_internal_fileencsha256() const {
return fileencsha256_.Get();
}
inline void StickerMessage::_internal_set_fileencsha256(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void StickerMessage::set_fileencsha256(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- fileencsha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.StickerMessage.fileEncSha256)
-}
-inline void StickerMessage::set_fileencsha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.StickerMessage.fileEncSha256)
-}
-inline void StickerMessage::set_fileencsha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.StickerMessage.fileEncSha256)
+ fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_fileencsha256() {
_has_bits_[0] |= 0x00000004u;
- return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* StickerMessage::release_fileencsha256() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.fileEncSha256)
@@ -38647,7 +37167,7 @@ inline std::string* StickerMessage::release_fileencsha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void StickerMessage::set_allocated_fileencsha256(std::string* fileencsha256) {
if (fileencsha256 != nullptr) {
@@ -38656,7 +37176,7 @@ inline void StickerMessage::set_allocated_fileencsha256(std::string* fileencsha2
_has_bits_[0] &= ~0x00000004u;
}
fileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fileencsha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.fileEncSha256)
}
@@ -38676,43 +37196,28 @@ inline const std::string& StickerMessage::mediakey() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.mediaKey)
return _internal_mediakey();
}
-inline void StickerMessage::set_mediakey(const std::string& value) {
- _internal_set_mediakey(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void StickerMessage::set_mediakey(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ mediakey_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.mediaKey)
}
inline std::string* StickerMessage::mutable_mediakey() {
+ std::string* _s = _internal_mutable_mediakey();
// @@protoc_insertion_point(field_mutable:proto.StickerMessage.mediaKey)
- return _internal_mutable_mediakey();
+ return _s;
}
inline const std::string& StickerMessage::_internal_mediakey() const {
return mediakey_.Get();
}
inline void StickerMessage::_internal_set_mediakey(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void StickerMessage::set_mediakey(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- mediakey_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.StickerMessage.mediaKey)
-}
-inline void StickerMessage::set_mediakey(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.StickerMessage.mediaKey)
-}
-inline void StickerMessage::set_mediakey(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.StickerMessage.mediaKey)
+ mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_mediakey() {
_has_bits_[0] |= 0x00000008u;
- return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* StickerMessage::release_mediakey() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.mediaKey)
@@ -38720,7 +37225,7 @@ inline std::string* StickerMessage::release_mediakey() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void StickerMessage::set_allocated_mediakey(std::string* mediakey) {
if (mediakey != nullptr) {
@@ -38729,7 +37234,7 @@ inline void StickerMessage::set_allocated_mediakey(std::string* mediakey) {
_has_bits_[0] &= ~0x00000008u;
}
mediakey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediakey,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.mediaKey)
}
@@ -38749,43 +37254,28 @@ inline const std::string& StickerMessage::mimetype() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.mimetype)
return _internal_mimetype();
}
-inline void StickerMessage::set_mimetype(const std::string& value) {
- _internal_set_mimetype(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void StickerMessage::set_mimetype(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000010u;
+ mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.mimetype)
}
inline std::string* StickerMessage::mutable_mimetype() {
+ std::string* _s = _internal_mutable_mimetype();
// @@protoc_insertion_point(field_mutable:proto.StickerMessage.mimetype)
- return _internal_mutable_mimetype();
+ return _s;
}
inline const std::string& StickerMessage::_internal_mimetype() const {
return mimetype_.Get();
}
inline void StickerMessage::_internal_set_mimetype(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void StickerMessage::set_mimetype(std::string&& value) {
- _has_bits_[0] |= 0x00000010u;
- mimetype_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.StickerMessage.mimetype)
-}
-inline void StickerMessage::set_mimetype(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000010u;
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.StickerMessage.mimetype)
-}
-inline void StickerMessage::set_mimetype(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000010u;
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.StickerMessage.mimetype)
+ mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_mimetype() {
_has_bits_[0] |= 0x00000010u;
- return mimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return mimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* StickerMessage::release_mimetype() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.mimetype)
@@ -38793,7 +37283,7 @@ inline std::string* StickerMessage::release_mimetype() {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
- return mimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return mimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void StickerMessage::set_allocated_mimetype(std::string* mimetype) {
if (mimetype != nullptr) {
@@ -38802,7 +37292,7 @@ inline void StickerMessage::set_allocated_mimetype(std::string* mimetype) {
_has_bits_[0] &= ~0x00000010u;
}
mimetype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mimetype,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.mimetype)
}
@@ -38878,43 +37368,28 @@ inline const std::string& StickerMessage::directpath() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.directPath)
return _internal_directpath();
}
-inline void StickerMessage::set_directpath(const std::string& value) {
- _internal_set_directpath(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void StickerMessage::set_directpath(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000020u;
+ directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.directPath)
}
inline std::string* StickerMessage::mutable_directpath() {
+ std::string* _s = _internal_mutable_directpath();
// @@protoc_insertion_point(field_mutable:proto.StickerMessage.directPath)
- return _internal_mutable_directpath();
+ return _s;
}
inline const std::string& StickerMessage::_internal_directpath() const {
return directpath_.Get();
}
inline void StickerMessage::_internal_set_directpath(const std::string& value) {
_has_bits_[0] |= 0x00000020u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void StickerMessage::set_directpath(std::string&& value) {
- _has_bits_[0] |= 0x00000020u;
- directpath_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.StickerMessage.directPath)
-}
-inline void StickerMessage::set_directpath(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000020u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.StickerMessage.directPath)
-}
-inline void StickerMessage::set_directpath(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000020u;
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.StickerMessage.directPath)
+ directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_directpath() {
_has_bits_[0] |= 0x00000020u;
- return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* StickerMessage::release_directpath() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.directPath)
@@ -38922,7 +37397,7 @@ inline std::string* StickerMessage::release_directpath() {
return nullptr;
}
_has_bits_[0] &= ~0x00000020u;
- return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void StickerMessage::set_allocated_directpath(std::string* directpath) {
if (directpath != nullptr) {
@@ -38931,7 +37406,7 @@ inline void StickerMessage::set_allocated_directpath(std::string* directpath) {
_has_bits_[0] &= ~0x00000020u;
}
directpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), directpath,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.directPath)
}
@@ -38944,7 +37419,7 @@ inline bool StickerMessage::has_filelength() const {
return _internal_has_filelength();
}
inline void StickerMessage::clear_filelength() {
- filelength_ = PROTOBUF_ULONGLONG(0);
+ filelength_ = uint64_t{0u};
_has_bits_[0] &= ~0x00000800u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 StickerMessage::_internal_filelength() const {
@@ -38972,7 +37447,7 @@ inline bool StickerMessage::has_mediakeytimestamp() const {
return _internal_has_mediakeytimestamp();
}
inline void StickerMessage::clear_mediakeytimestamp() {
- mediakeytimestamp_ = PROTOBUF_LONGLONG(0);
+ mediakeytimestamp_ = int64_t{0};
_has_bits_[0] &= ~0x00001000u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 StickerMessage::_internal_mediakeytimestamp() const {
@@ -39035,43 +37510,28 @@ inline const std::string& StickerMessage::firstframesidecar() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.firstFrameSidecar)
return _internal_firstframesidecar();
}
-inline void StickerMessage::set_firstframesidecar(const std::string& value) {
- _internal_set_firstframesidecar(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void StickerMessage::set_firstframesidecar(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000040u;
+ firstframesidecar_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.firstFrameSidecar)
}
inline std::string* StickerMessage::mutable_firstframesidecar() {
+ std::string* _s = _internal_mutable_firstframesidecar();
// @@protoc_insertion_point(field_mutable:proto.StickerMessage.firstFrameSidecar)
- return _internal_mutable_firstframesidecar();
+ return _s;
}
inline const std::string& StickerMessage::_internal_firstframesidecar() const {
return firstframesidecar_.Get();
}
inline void StickerMessage::_internal_set_firstframesidecar(const std::string& value) {
_has_bits_[0] |= 0x00000040u;
- firstframesidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void StickerMessage::set_firstframesidecar(std::string&& value) {
- _has_bits_[0] |= 0x00000040u;
- firstframesidecar_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.StickerMessage.firstFrameSidecar)
-}
-inline void StickerMessage::set_firstframesidecar(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000040u;
- firstframesidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.StickerMessage.firstFrameSidecar)
-}
-inline void StickerMessage::set_firstframesidecar(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000040u;
- firstframesidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.StickerMessage.firstFrameSidecar)
+ firstframesidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_firstframesidecar() {
_has_bits_[0] |= 0x00000040u;
- return firstframesidecar_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return firstframesidecar_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* StickerMessage::release_firstframesidecar() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.firstFrameSidecar)
@@ -39079,7 +37539,7 @@ inline std::string* StickerMessage::release_firstframesidecar() {
return nullptr;
}
_has_bits_[0] &= ~0x00000040u;
- return firstframesidecar_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return firstframesidecar_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void StickerMessage::set_allocated_firstframesidecar(std::string* firstframesidecar) {
if (firstframesidecar != nullptr) {
@@ -39088,7 +37548,7 @@ inline void StickerMessage::set_allocated_firstframesidecar(std::string* firstfr
_has_bits_[0] &= ~0x00000040u;
}
firstframesidecar_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), firstframesidecar,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.firstFrameSidecar)
}
@@ -39136,43 +37596,28 @@ inline const std::string& StickerMessage::pngthumbnail() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.pngThumbnail)
return _internal_pngthumbnail();
}
-inline void StickerMessage::set_pngthumbnail(const std::string& value) {
- _internal_set_pngthumbnail(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void StickerMessage::set_pngthumbnail(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000080u;
+ pngthumbnail_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.pngThumbnail)
}
inline std::string* StickerMessage::mutable_pngthumbnail() {
+ std::string* _s = _internal_mutable_pngthumbnail();
// @@protoc_insertion_point(field_mutable:proto.StickerMessage.pngThumbnail)
- return _internal_mutable_pngthumbnail();
+ return _s;
}
inline const std::string& StickerMessage::_internal_pngthumbnail() const {
return pngthumbnail_.Get();
}
inline void StickerMessage::_internal_set_pngthumbnail(const std::string& value) {
_has_bits_[0] |= 0x00000080u;
- pngthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void StickerMessage::set_pngthumbnail(std::string&& value) {
- _has_bits_[0] |= 0x00000080u;
- pngthumbnail_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.StickerMessage.pngThumbnail)
-}
-inline void StickerMessage::set_pngthumbnail(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000080u;
- pngthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.StickerMessage.pngThumbnail)
-}
-inline void StickerMessage::set_pngthumbnail(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000080u;
- pngthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.StickerMessage.pngThumbnail)
+ pngthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_pngthumbnail() {
_has_bits_[0] |= 0x00000080u;
- return pngthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return pngthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* StickerMessage::release_pngthumbnail() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.pngThumbnail)
@@ -39180,7 +37625,7 @@ inline std::string* StickerMessage::release_pngthumbnail() {
return nullptr;
}
_has_bits_[0] &= ~0x00000080u;
- return pngthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return pngthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void StickerMessage::set_allocated_pngthumbnail(std::string* pngthumbnail) {
if (pngthumbnail != nullptr) {
@@ -39189,7 +37634,7 @@ inline void StickerMessage::set_allocated_pngthumbnail(std::string* pngthumbnail
_has_bits_[0] &= ~0x00000080u;
}
pngthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), pngthumbnail,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.pngThumbnail)
}
@@ -39217,7 +37662,7 @@ inline const ::proto::ContextInfo& StickerMessage::contextinfo() const {
}
inline void StickerMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -39232,9 +37677,15 @@ inline ::proto::ContextInfo* StickerMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00000100u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* StickerMessage::unsafe_arena_release_contextinfo() {
@@ -39247,23 +37698,24 @@ inline ::proto::ContextInfo* StickerMessage::unsafe_arena_release_contextinfo()
inline ::proto::ContextInfo* StickerMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00000100u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* StickerMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.StickerMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void StickerMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -39304,7 +37756,7 @@ inline const ::proto::HighlyStructuredMessage& FourRowTemplate::content() const
}
inline void FourRowTemplate::unsafe_arena_set_allocated_content(
::proto::HighlyStructuredMessage* content) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(content_);
}
content_ = content;
@@ -39319,9 +37771,15 @@ inline ::proto::HighlyStructuredMessage* FourRowTemplate::release_content() {
_has_bits_[0] &= ~0x00000001u;
::proto::HighlyStructuredMessage* temp = content_;
content_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::HighlyStructuredMessage* FourRowTemplate::unsafe_arena_release_content() {
@@ -39334,23 +37792,24 @@ inline ::proto::HighlyStructuredMessage* FourRowTemplate::unsafe_arena_release_c
inline ::proto::HighlyStructuredMessage* FourRowTemplate::_internal_mutable_content() {
_has_bits_[0] |= 0x00000001u;
if (content_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
content_ = p;
}
return content_;
}
inline ::proto::HighlyStructuredMessage* FourRowTemplate::mutable_content() {
+ ::proto::HighlyStructuredMessage* _msg = _internal_mutable_content();
// @@protoc_insertion_point(field_mutable:proto.FourRowTemplate.content)
- return _internal_mutable_content();
+ return _msg;
}
inline void FourRowTemplate::set_allocated_content(::proto::HighlyStructuredMessage* content) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete content_;
}
if (content) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(content);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(content);
if (message_arena != submessage_arena) {
content = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, content, submessage_arena);
@@ -39387,7 +37846,7 @@ inline const ::proto::HighlyStructuredMessage& FourRowTemplate::footer() const {
}
inline void FourRowTemplate::unsafe_arena_set_allocated_footer(
::proto::HighlyStructuredMessage* footer) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(footer_);
}
footer_ = footer;
@@ -39402,9 +37861,15 @@ inline ::proto::HighlyStructuredMessage* FourRowTemplate::release_footer() {
_has_bits_[0] &= ~0x00000002u;
::proto::HighlyStructuredMessage* temp = footer_;
footer_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::HighlyStructuredMessage* FourRowTemplate::unsafe_arena_release_footer() {
@@ -39417,23 +37882,24 @@ inline ::proto::HighlyStructuredMessage* FourRowTemplate::unsafe_arena_release_f
inline ::proto::HighlyStructuredMessage* FourRowTemplate::_internal_mutable_footer() {
_has_bits_[0] |= 0x00000002u;
if (footer_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
footer_ = p;
}
return footer_;
}
inline ::proto::HighlyStructuredMessage* FourRowTemplate::mutable_footer() {
+ ::proto::HighlyStructuredMessage* _msg = _internal_mutable_footer();
// @@protoc_insertion_point(field_mutable:proto.FourRowTemplate.footer)
- return _internal_mutable_footer();
+ return _msg;
}
inline void FourRowTemplate::set_allocated_footer(::proto::HighlyStructuredMessage* footer) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete footer_;
}
if (footer) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(footer);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(footer);
if (message_arena != submessage_arena) {
footer = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, footer, submessage_arena);
@@ -39476,8 +37942,9 @@ inline ::proto::TemplateButton* FourRowTemplate::_internal_add_buttons() {
return buttons_.Add();
}
inline ::proto::TemplateButton* FourRowTemplate::add_buttons() {
+ ::proto::TemplateButton* _add = _internal_add_buttons();
// @@protoc_insertion_point(field_add:proto.FourRowTemplate.buttons)
- return _internal_add_buttons();
+ return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::TemplateButton >&
FourRowTemplate::buttons() const {
@@ -39497,7 +37964,7 @@ inline void FourRowTemplate::set_has_documentmessage() {
}
inline void FourRowTemplate::clear_documentmessage() {
if (_internal_has_documentmessage()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete title_.documentmessage_;
}
clear_has_title();
@@ -39508,7 +37975,7 @@ inline ::proto::DocumentMessage* FourRowTemplate::release_documentmessage() {
if (_internal_has_documentmessage()) {
clear_has_title();
::proto::DocumentMessage* temp = title_.documentmessage_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
title_.documentmessage_ = nullptr;
@@ -39549,13 +38016,14 @@ inline ::proto::DocumentMessage* FourRowTemplate::_internal_mutable_documentmess
if (!_internal_has_documentmessage()) {
clear_title();
set_has_documentmessage();
- title_.documentmessage_ = CreateMaybeMessage< ::proto::DocumentMessage >(GetArena());
+ title_.documentmessage_ = CreateMaybeMessage< ::proto::DocumentMessage >(GetArenaForAllocation());
}
return title_.documentmessage_;
}
inline ::proto::DocumentMessage* FourRowTemplate::mutable_documentmessage() {
+ ::proto::DocumentMessage* _msg = _internal_mutable_documentmessage();
// @@protoc_insertion_point(field_mutable:proto.FourRowTemplate.documentMessage)
- return _internal_mutable_documentmessage();
+ return _msg;
}
// .proto.HighlyStructuredMessage highlyStructuredMessage = 2;
@@ -39570,7 +38038,7 @@ inline void FourRowTemplate::set_has_highlystructuredmessage() {
}
inline void FourRowTemplate::clear_highlystructuredmessage() {
if (_internal_has_highlystructuredmessage()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete title_.highlystructuredmessage_;
}
clear_has_title();
@@ -39581,7 +38049,7 @@ inline ::proto::HighlyStructuredMessage* FourRowTemplate::release_highlystructur
if (_internal_has_highlystructuredmessage()) {
clear_has_title();
::proto::HighlyStructuredMessage* temp = title_.highlystructuredmessage_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
title_.highlystructuredmessage_ = nullptr;
@@ -39622,13 +38090,14 @@ inline ::proto::HighlyStructuredMessage* FourRowTemplate::_internal_mutable_high
if (!_internal_has_highlystructuredmessage()) {
clear_title();
set_has_highlystructuredmessage();
- title_.highlystructuredmessage_ = CreateMaybeMessage< ::proto::HighlyStructuredMessage >(GetArena());
+ title_.highlystructuredmessage_ = CreateMaybeMessage< ::proto::HighlyStructuredMessage >(GetArenaForAllocation());
}
return title_.highlystructuredmessage_;
}
inline ::proto::HighlyStructuredMessage* FourRowTemplate::mutable_highlystructuredmessage() {
+ ::proto::HighlyStructuredMessage* _msg = _internal_mutable_highlystructuredmessage();
// @@protoc_insertion_point(field_mutable:proto.FourRowTemplate.highlyStructuredMessage)
- return _internal_mutable_highlystructuredmessage();
+ return _msg;
}
// .proto.ImageMessage imageMessage = 3;
@@ -39643,7 +38112,7 @@ inline void FourRowTemplate::set_has_imagemessage() {
}
inline void FourRowTemplate::clear_imagemessage() {
if (_internal_has_imagemessage()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete title_.imagemessage_;
}
clear_has_title();
@@ -39654,7 +38123,7 @@ inline ::proto::ImageMessage* FourRowTemplate::release_imagemessage() {
if (_internal_has_imagemessage()) {
clear_has_title();
::proto::ImageMessage* temp = title_.imagemessage_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
title_.imagemessage_ = nullptr;
@@ -39695,13 +38164,14 @@ inline ::proto::ImageMessage* FourRowTemplate::_internal_mutable_imagemessage()
if (!_internal_has_imagemessage()) {
clear_title();
set_has_imagemessage();
- title_.imagemessage_ = CreateMaybeMessage< ::proto::ImageMessage >(GetArena());
+ title_.imagemessage_ = CreateMaybeMessage< ::proto::ImageMessage >(GetArenaForAllocation());
}
return title_.imagemessage_;
}
inline ::proto::ImageMessage* FourRowTemplate::mutable_imagemessage() {
+ ::proto::ImageMessage* _msg = _internal_mutable_imagemessage();
// @@protoc_insertion_point(field_mutable:proto.FourRowTemplate.imageMessage)
- return _internal_mutable_imagemessage();
+ return _msg;
}
// .proto.VideoMessage videoMessage = 4;
@@ -39716,7 +38186,7 @@ inline void FourRowTemplate::set_has_videomessage() {
}
inline void FourRowTemplate::clear_videomessage() {
if (_internal_has_videomessage()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete title_.videomessage_;
}
clear_has_title();
@@ -39727,7 +38197,7 @@ inline ::proto::VideoMessage* FourRowTemplate::release_videomessage() {
if (_internal_has_videomessage()) {
clear_has_title();
::proto::VideoMessage* temp = title_.videomessage_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
title_.videomessage_ = nullptr;
@@ -39768,13 +38238,14 @@ inline ::proto::VideoMessage* FourRowTemplate::_internal_mutable_videomessage()
if (!_internal_has_videomessage()) {
clear_title();
set_has_videomessage();
- title_.videomessage_ = CreateMaybeMessage< ::proto::VideoMessage >(GetArena());
+ title_.videomessage_ = CreateMaybeMessage< ::proto::VideoMessage >(GetArenaForAllocation());
}
return title_.videomessage_;
}
inline ::proto::VideoMessage* FourRowTemplate::mutable_videomessage() {
+ ::proto::VideoMessage* _msg = _internal_mutable_videomessage();
// @@protoc_insertion_point(field_mutable:proto.FourRowTemplate.videoMessage)
- return _internal_mutable_videomessage();
+ return _msg;
}
// .proto.LocationMessage locationMessage = 5;
@@ -39789,7 +38260,7 @@ inline void FourRowTemplate::set_has_locationmessage() {
}
inline void FourRowTemplate::clear_locationmessage() {
if (_internal_has_locationmessage()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete title_.locationmessage_;
}
clear_has_title();
@@ -39800,7 +38271,7 @@ inline ::proto::LocationMessage* FourRowTemplate::release_locationmessage() {
if (_internal_has_locationmessage()) {
clear_has_title();
::proto::LocationMessage* temp = title_.locationmessage_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
title_.locationmessage_ = nullptr;
@@ -39841,13 +38312,14 @@ inline ::proto::LocationMessage* FourRowTemplate::_internal_mutable_locationmess
if (!_internal_has_locationmessage()) {
clear_title();
set_has_locationmessage();
- title_.locationmessage_ = CreateMaybeMessage< ::proto::LocationMessage >(GetArena());
+ title_.locationmessage_ = CreateMaybeMessage< ::proto::LocationMessage >(GetArenaForAllocation());
}
return title_.locationmessage_;
}
inline ::proto::LocationMessage* FourRowTemplate::mutable_locationmessage() {
+ ::proto::LocationMessage* _msg = _internal_mutable_locationmessage();
// @@protoc_insertion_point(field_mutable:proto.FourRowTemplate.locationMessage)
- return _internal_mutable_locationmessage();
+ return _msg;
}
inline bool FourRowTemplate::has_title() const {
@@ -39879,43 +38351,28 @@ inline const std::string& HydratedFourRowTemplate::hydratedcontenttext() const {
// @@protoc_insertion_point(field_get:proto.HydratedFourRowTemplate.hydratedContentText)
return _internal_hydratedcontenttext();
}
-inline void HydratedFourRowTemplate::set_hydratedcontenttext(const std::string& value) {
- _internal_set_hydratedcontenttext(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HydratedFourRowTemplate::set_hydratedcontenttext(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ hydratedcontenttext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedFourRowTemplate.hydratedContentText)
}
inline std::string* HydratedFourRowTemplate::mutable_hydratedcontenttext() {
+ std::string* _s = _internal_mutable_hydratedcontenttext();
// @@protoc_insertion_point(field_mutable:proto.HydratedFourRowTemplate.hydratedContentText)
- return _internal_mutable_hydratedcontenttext();
+ return _s;
}
inline const std::string& HydratedFourRowTemplate::_internal_hydratedcontenttext() const {
return hydratedcontenttext_.Get();
}
inline void HydratedFourRowTemplate::_internal_set_hydratedcontenttext(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- hydratedcontenttext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HydratedFourRowTemplate::set_hydratedcontenttext(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- hydratedcontenttext_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HydratedFourRowTemplate.hydratedContentText)
-}
-inline void HydratedFourRowTemplate::set_hydratedcontenttext(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- hydratedcontenttext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HydratedFourRowTemplate.hydratedContentText)
-}
-inline void HydratedFourRowTemplate::set_hydratedcontenttext(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- hydratedcontenttext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HydratedFourRowTemplate.hydratedContentText)
+ hydratedcontenttext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HydratedFourRowTemplate::_internal_mutable_hydratedcontenttext() {
_has_bits_[0] |= 0x00000001u;
- return hydratedcontenttext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return hydratedcontenttext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HydratedFourRowTemplate::release_hydratedcontenttext() {
// @@protoc_insertion_point(field_release:proto.HydratedFourRowTemplate.hydratedContentText)
@@ -39923,7 +38380,7 @@ inline std::string* HydratedFourRowTemplate::release_hydratedcontenttext() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return hydratedcontenttext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return hydratedcontenttext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HydratedFourRowTemplate::set_allocated_hydratedcontenttext(std::string* hydratedcontenttext) {
if (hydratedcontenttext != nullptr) {
@@ -39932,7 +38389,7 @@ inline void HydratedFourRowTemplate::set_allocated_hydratedcontenttext(std::stri
_has_bits_[0] &= ~0x00000001u;
}
hydratedcontenttext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), hydratedcontenttext,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HydratedFourRowTemplate.hydratedContentText)
}
@@ -39952,43 +38409,28 @@ inline const std::string& HydratedFourRowTemplate::hydratedfootertext() const {
// @@protoc_insertion_point(field_get:proto.HydratedFourRowTemplate.hydratedFooterText)
return _internal_hydratedfootertext();
}
-inline void HydratedFourRowTemplate::set_hydratedfootertext(const std::string& value) {
- _internal_set_hydratedfootertext(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HydratedFourRowTemplate::set_hydratedfootertext(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ hydratedfootertext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedFourRowTemplate.hydratedFooterText)
}
inline std::string* HydratedFourRowTemplate::mutable_hydratedfootertext() {
+ std::string* _s = _internal_mutable_hydratedfootertext();
// @@protoc_insertion_point(field_mutable:proto.HydratedFourRowTemplate.hydratedFooterText)
- return _internal_mutable_hydratedfootertext();
+ return _s;
}
inline const std::string& HydratedFourRowTemplate::_internal_hydratedfootertext() const {
return hydratedfootertext_.Get();
}
inline void HydratedFourRowTemplate::_internal_set_hydratedfootertext(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- hydratedfootertext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HydratedFourRowTemplate::set_hydratedfootertext(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- hydratedfootertext_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HydratedFourRowTemplate.hydratedFooterText)
-}
-inline void HydratedFourRowTemplate::set_hydratedfootertext(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- hydratedfootertext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HydratedFourRowTemplate.hydratedFooterText)
-}
-inline void HydratedFourRowTemplate::set_hydratedfootertext(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- hydratedfootertext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HydratedFourRowTemplate.hydratedFooterText)
+ hydratedfootertext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HydratedFourRowTemplate::_internal_mutable_hydratedfootertext() {
_has_bits_[0] |= 0x00000002u;
- return hydratedfootertext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return hydratedfootertext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HydratedFourRowTemplate::release_hydratedfootertext() {
// @@protoc_insertion_point(field_release:proto.HydratedFourRowTemplate.hydratedFooterText)
@@ -39996,7 +38438,7 @@ inline std::string* HydratedFourRowTemplate::release_hydratedfootertext() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return hydratedfootertext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return hydratedfootertext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HydratedFourRowTemplate::set_allocated_hydratedfootertext(std::string* hydratedfootertext) {
if (hydratedfootertext != nullptr) {
@@ -40005,7 +38447,7 @@ inline void HydratedFourRowTemplate::set_allocated_hydratedfootertext(std::strin
_has_bits_[0] &= ~0x00000002u;
}
hydratedfootertext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), hydratedfootertext,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HydratedFourRowTemplate.hydratedFooterText)
}
@@ -40039,8 +38481,9 @@ inline ::proto::HydratedTemplateButton* HydratedFourRowTemplate::_internal_add_h
return hydratedbuttons_.Add();
}
inline ::proto::HydratedTemplateButton* HydratedFourRowTemplate::add_hydratedbuttons() {
+ ::proto::HydratedTemplateButton* _add = _internal_add_hydratedbuttons();
// @@protoc_insertion_point(field_add:proto.HydratedFourRowTemplate.hydratedButtons)
- return _internal_add_hydratedbuttons();
+ return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::HydratedTemplateButton >&
HydratedFourRowTemplate::hydratedbuttons() const {
@@ -40064,43 +38507,28 @@ inline const std::string& HydratedFourRowTemplate::templateid() const {
// @@protoc_insertion_point(field_get:proto.HydratedFourRowTemplate.templateId)
return _internal_templateid();
}
-inline void HydratedFourRowTemplate::set_templateid(const std::string& value) {
- _internal_set_templateid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void HydratedFourRowTemplate::set_templateid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ templateid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedFourRowTemplate.templateId)
}
inline std::string* HydratedFourRowTemplate::mutable_templateid() {
+ std::string* _s = _internal_mutable_templateid();
// @@protoc_insertion_point(field_mutable:proto.HydratedFourRowTemplate.templateId)
- return _internal_mutable_templateid();
+ return _s;
}
inline const std::string& HydratedFourRowTemplate::_internal_templateid() const {
return templateid_.Get();
}
inline void HydratedFourRowTemplate::_internal_set_templateid(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- templateid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HydratedFourRowTemplate::set_templateid(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- templateid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HydratedFourRowTemplate.templateId)
-}
-inline void HydratedFourRowTemplate::set_templateid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- templateid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HydratedFourRowTemplate.templateId)
-}
-inline void HydratedFourRowTemplate::set_templateid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- templateid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HydratedFourRowTemplate.templateId)
+ templateid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HydratedFourRowTemplate::_internal_mutable_templateid() {
_has_bits_[0] |= 0x00000004u;
- return templateid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return templateid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HydratedFourRowTemplate::release_templateid() {
// @@protoc_insertion_point(field_release:proto.HydratedFourRowTemplate.templateId)
@@ -40108,7 +38536,7 @@ inline std::string* HydratedFourRowTemplate::release_templateid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return templateid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return templateid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void HydratedFourRowTemplate::set_allocated_templateid(std::string* templateid) {
if (templateid != nullptr) {
@@ -40117,7 +38545,7 @@ inline void HydratedFourRowTemplate::set_allocated_templateid(std::string* templ
_has_bits_[0] &= ~0x00000004u;
}
templateid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), templateid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.HydratedFourRowTemplate.templateId)
}
@@ -40133,7 +38561,7 @@ inline void HydratedFourRowTemplate::set_has_documentmessage() {
}
inline void HydratedFourRowTemplate::clear_documentmessage() {
if (_internal_has_documentmessage()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete title_.documentmessage_;
}
clear_has_title();
@@ -40144,7 +38572,7 @@ inline ::proto::DocumentMessage* HydratedFourRowTemplate::release_documentmessag
if (_internal_has_documentmessage()) {
clear_has_title();
::proto::DocumentMessage* temp = title_.documentmessage_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
title_.documentmessage_ = nullptr;
@@ -40185,13 +38613,14 @@ inline ::proto::DocumentMessage* HydratedFourRowTemplate::_internal_mutable_docu
if (!_internal_has_documentmessage()) {
clear_title();
set_has_documentmessage();
- title_.documentmessage_ = CreateMaybeMessage< ::proto::DocumentMessage >(GetArena());
+ title_.documentmessage_ = CreateMaybeMessage< ::proto::DocumentMessage >(GetArenaForAllocation());
}
return title_.documentmessage_;
}
inline ::proto::DocumentMessage* HydratedFourRowTemplate::mutable_documentmessage() {
+ ::proto::DocumentMessage* _msg = _internal_mutable_documentmessage();
// @@protoc_insertion_point(field_mutable:proto.HydratedFourRowTemplate.documentMessage)
- return _internal_mutable_documentmessage();
+ return _msg;
}
// string hydratedTitleText = 2;
@@ -40206,7 +38635,7 @@ inline void HydratedFourRowTemplate::set_has_hydratedtitletext() {
}
inline void HydratedFourRowTemplate::clear_hydratedtitletext() {
if (_internal_has_hydratedtitletext()) {
- title_.hydratedtitletext_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ title_.hydratedtitletext_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
clear_has_title();
}
}
@@ -40214,13 +38643,20 @@ inline const std::string& HydratedFourRowTemplate::hydratedtitletext() const {
// @@protoc_insertion_point(field_get:proto.HydratedFourRowTemplate.hydratedTitleText)
return _internal_hydratedtitletext();
}
-inline void HydratedFourRowTemplate::set_hydratedtitletext(const std::string& value) {
- _internal_set_hydratedtitletext(value);
+template <typename ArgT0, typename... ArgT>
+inline void HydratedFourRowTemplate::set_hydratedtitletext(ArgT0&& arg0, ArgT... args) {
+ if (!_internal_has_hydratedtitletext()) {
+ clear_title();
+ set_has_hydratedtitletext();
+ title_.hydratedtitletext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ }
+ title_.hydratedtitletext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedFourRowTemplate.hydratedTitleText)
}
inline std::string* HydratedFourRowTemplate::mutable_hydratedtitletext() {
+ std::string* _s = _internal_mutable_hydratedtitletext();
// @@protoc_insertion_point(field_mutable:proto.HydratedFourRowTemplate.hydratedTitleText)
- return _internal_mutable_hydratedtitletext();
+ return _s;
}
inline const std::string& HydratedFourRowTemplate::_internal_hydratedtitletext() const {
if (_internal_has_hydratedtitletext()) {
@@ -40234,42 +38670,7 @@ inline void HydratedFourRowTemplate::_internal_set_hydratedtitletext(const std::
set_has_hydratedtitletext();
title_.hydratedtitletext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
- title_.hydratedtitletext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void HydratedFourRowTemplate::set_hydratedtitletext(std::string&& value) {
- // @@protoc_insertion_point(field_set:proto.HydratedFourRowTemplate.hydratedTitleText)
- if (!_internal_has_hydratedtitletext()) {
- clear_title();
- set_has_hydratedtitletext();
- title_.hydratedtitletext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
- title_.hydratedtitletext_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.HydratedFourRowTemplate.hydratedTitleText)
-}
-inline void HydratedFourRowTemplate::set_hydratedtitletext(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- if (!_internal_has_hydratedtitletext()) {
- clear_title();
- set_has_hydratedtitletext();
- title_.hydratedtitletext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
- title_.hydratedtitletext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
- ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.HydratedFourRowTemplate.hydratedTitleText)
-}
-inline void HydratedFourRowTemplate::set_hydratedtitletext(const char* value,
- size_t size) {
- if (!_internal_has_hydratedtitletext()) {
- clear_title();
- set_has_hydratedtitletext();
- title_.hydratedtitletext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
- title_.hydratedtitletext_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size),
- GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.HydratedFourRowTemplate.hydratedTitleText)
+ title_.hydratedtitletext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* HydratedFourRowTemplate::_internal_mutable_hydratedtitletext() {
if (!_internal_has_hydratedtitletext()) {
@@ -40278,13 +38679,13 @@ inline std::string* HydratedFourRowTemplate::_internal_mutable_hydratedtitletext
title_.hydratedtitletext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
return title_.hydratedtitletext_.Mutable(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* HydratedFourRowTemplate::release_hydratedtitletext() {
// @@protoc_insertion_point(field_release:proto.HydratedFourRowTemplate.hydratedTitleText)
if (_internal_has_hydratedtitletext()) {
clear_has_title();
- return title_.hydratedtitletext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return title_.hydratedtitletext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
} else {
return nullptr;
}
@@ -40296,7 +38697,7 @@ inline void HydratedFourRowTemplate::set_allocated_hydratedtitletext(std::string
if (hydratedtitletext != nullptr) {
set_has_hydratedtitletext();
title_.hydratedtitletext_.UnsafeSetDefault(hydratedtitletext);
- ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaForAllocation();
if (arena != nullptr) {
arena->Own(hydratedtitletext);
}
@@ -40316,7 +38717,7 @@ inline void HydratedFourRowTemplate::set_has_imagemessage() {
}
inline void HydratedFourRowTemplate::clear_imagemessage() {
if (_internal_has_imagemessage()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete title_.imagemessage_;
}
clear_has_title();
@@ -40327,7 +38728,7 @@ inline ::proto::ImageMessage* HydratedFourRowTemplate::release_imagemessage() {
if (_internal_has_imagemessage()) {
clear_has_title();
::proto::ImageMessage* temp = title_.imagemessage_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
title_.imagemessage_ = nullptr;
@@ -40368,13 +38769,14 @@ inline ::proto::ImageMessage* HydratedFourRowTemplate::_internal_mutable_imageme
if (!_internal_has_imagemessage()) {
clear_title();
set_has_imagemessage();
- title_.imagemessage_ = CreateMaybeMessage< ::proto::ImageMessage >(GetArena());
+ title_.imagemessage_ = CreateMaybeMessage< ::proto::ImageMessage >(GetArenaForAllocation());
}
return title_.imagemessage_;
}
inline ::proto::ImageMessage* HydratedFourRowTemplate::mutable_imagemessage() {
+ ::proto::ImageMessage* _msg = _internal_mutable_imagemessage();
// @@protoc_insertion_point(field_mutable:proto.HydratedFourRowTemplate.imageMessage)
- return _internal_mutable_imagemessage();
+ return _msg;
}
// .proto.VideoMessage videoMessage = 4;
@@ -40389,7 +38791,7 @@ inline void HydratedFourRowTemplate::set_has_videomessage() {
}
inline void HydratedFourRowTemplate::clear_videomessage() {
if (_internal_has_videomessage()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete title_.videomessage_;
}
clear_has_title();
@@ -40400,7 +38802,7 @@ inline ::proto::VideoMessage* HydratedFourRowTemplate::release_videomessage() {
if (_internal_has_videomessage()) {
clear_has_title();
::proto::VideoMessage* temp = title_.videomessage_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
title_.videomessage_ = nullptr;
@@ -40441,13 +38843,14 @@ inline ::proto::VideoMessage* HydratedFourRowTemplate::_internal_mutable_videome
if (!_internal_has_videomessage()) {
clear_title();
set_has_videomessage();
- title_.videomessage_ = CreateMaybeMessage< ::proto::VideoMessage >(GetArena());
+ title_.videomessage_ = CreateMaybeMessage< ::proto::VideoMessage >(GetArenaForAllocation());
}
return title_.videomessage_;
}
inline ::proto::VideoMessage* HydratedFourRowTemplate::mutable_videomessage() {
+ ::proto::VideoMessage* _msg = _internal_mutable_videomessage();
// @@protoc_insertion_point(field_mutable:proto.HydratedFourRowTemplate.videoMessage)
- return _internal_mutable_videomessage();
+ return _msg;
}
// .proto.LocationMessage locationMessage = 5;
@@ -40462,7 +38865,7 @@ inline void HydratedFourRowTemplate::set_has_locationmessage() {
}
inline void HydratedFourRowTemplate::clear_locationmessage() {
if (_internal_has_locationmessage()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete title_.locationmessage_;
}
clear_has_title();
@@ -40473,7 +38876,7 @@ inline ::proto::LocationMessage* HydratedFourRowTemplate::release_locationmessag
if (_internal_has_locationmessage()) {
clear_has_title();
::proto::LocationMessage* temp = title_.locationmessage_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
title_.locationmessage_ = nullptr;
@@ -40514,13 +38917,14 @@ inline ::proto::LocationMessage* HydratedFourRowTemplate::_internal_mutable_loca
if (!_internal_has_locationmessage()) {
clear_title();
set_has_locationmessage();
- title_.locationmessage_ = CreateMaybeMessage< ::proto::LocationMessage >(GetArena());
+ title_.locationmessage_ = CreateMaybeMessage< ::proto::LocationMessage >(GetArenaForAllocation());
}
return title_.locationmessage_;
}
inline ::proto::LocationMessage* HydratedFourRowTemplate::mutable_locationmessage() {
+ ::proto::LocationMessage* _msg = _internal_mutable_locationmessage();
// @@protoc_insertion_point(field_mutable:proto.HydratedFourRowTemplate.locationMessage)
- return _internal_mutable_locationmessage();
+ return _msg;
}
inline bool HydratedFourRowTemplate::has_title() const {
@@ -40560,7 +38964,7 @@ inline const ::proto::ContextInfo& TemplateMessage::contextinfo() const {
}
inline void TemplateMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -40575,9 +38979,15 @@ inline ::proto::ContextInfo* TemplateMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00000001u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* TemplateMessage::unsafe_arena_release_contextinfo() {
@@ -40590,23 +39000,24 @@ inline ::proto::ContextInfo* TemplateMessage::unsafe_arena_release_contextinfo()
inline ::proto::ContextInfo* TemplateMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00000001u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* TemplateMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.TemplateMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void TemplateMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -40643,7 +39054,7 @@ inline const ::proto::HydratedFourRowTemplate& TemplateMessage::hydratedtemplate
}
inline void TemplateMessage::unsafe_arena_set_allocated_hydratedtemplate(
::proto::HydratedFourRowTemplate* hydratedtemplate) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(hydratedtemplate_);
}
hydratedtemplate_ = hydratedtemplate;
@@ -40658,9 +39069,15 @@ inline ::proto::HydratedFourRowTemplate* TemplateMessage::release_hydratedtempla
_has_bits_[0] &= ~0x00000002u;
::proto::HydratedFourRowTemplate* temp = hydratedtemplate_;
hydratedtemplate_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::HydratedFourRowTemplate* TemplateMessage::unsafe_arena_release_hydratedtemplate() {
@@ -40673,23 +39090,24 @@ inline ::proto::HydratedFourRowTemplate* TemplateMessage::unsafe_arena_release_h
inline ::proto::HydratedFourRowTemplate* TemplateMessage::_internal_mutable_hydratedtemplate() {
_has_bits_[0] |= 0x00000002u;
if (hydratedtemplate_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::HydratedFourRowTemplate>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::HydratedFourRowTemplate>(GetArenaForAllocation());
hydratedtemplate_ = p;
}
return hydratedtemplate_;
}
inline ::proto::HydratedFourRowTemplate* TemplateMessage::mutable_hydratedtemplate() {
+ ::proto::HydratedFourRowTemplate* _msg = _internal_mutable_hydratedtemplate();
// @@protoc_insertion_point(field_mutable:proto.TemplateMessage.hydratedTemplate)
- return _internal_mutable_hydratedtemplate();
+ return _msg;
}
inline void TemplateMessage::set_allocated_hydratedtemplate(::proto::HydratedFourRowTemplate* hydratedtemplate) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete hydratedtemplate_;
}
if (hydratedtemplate) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(hydratedtemplate);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HydratedFourRowTemplate>::GetOwningArena(hydratedtemplate);
if (message_arena != submessage_arena) {
hydratedtemplate = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, hydratedtemplate, submessage_arena);
@@ -40714,7 +39132,7 @@ inline void TemplateMessage::set_has_fourrowtemplate() {
}
inline void TemplateMessage::clear_fourrowtemplate() {
if (_internal_has_fourrowtemplate()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete format_.fourrowtemplate_;
}
clear_has_format();
@@ -40725,7 +39143,7 @@ inline ::proto::FourRowTemplate* TemplateMessage::release_fourrowtemplate() {
if (_internal_has_fourrowtemplate()) {
clear_has_format();
::proto::FourRowTemplate* temp = format_.fourrowtemplate_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
format_.fourrowtemplate_ = nullptr;
@@ -40766,13 +39184,14 @@ inline ::proto::FourRowTemplate* TemplateMessage::_internal_mutable_fourrowtempl
if (!_internal_has_fourrowtemplate()) {
clear_format();
set_has_fourrowtemplate();
- format_.fourrowtemplate_ = CreateMaybeMessage< ::proto::FourRowTemplate >(GetArena());
+ format_.fourrowtemplate_ = CreateMaybeMessage< ::proto::FourRowTemplate >(GetArenaForAllocation());
}
return format_.fourrowtemplate_;
}
inline ::proto::FourRowTemplate* TemplateMessage::mutable_fourrowtemplate() {
+ ::proto::FourRowTemplate* _msg = _internal_mutable_fourrowtemplate();
// @@protoc_insertion_point(field_mutable:proto.TemplateMessage.fourRowTemplate)
- return _internal_mutable_fourrowtemplate();
+ return _msg;
}
// .proto.HydratedFourRowTemplate hydratedFourRowTemplate = 2;
@@ -40787,7 +39206,7 @@ inline void TemplateMessage::set_has_hydratedfourrowtemplate() {
}
inline void TemplateMessage::clear_hydratedfourrowtemplate() {
if (_internal_has_hydratedfourrowtemplate()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete format_.hydratedfourrowtemplate_;
}
clear_has_format();
@@ -40798,7 +39217,7 @@ inline ::proto::HydratedFourRowTemplate* TemplateMessage::release_hydratedfourro
if (_internal_has_hydratedfourrowtemplate()) {
clear_has_format();
::proto::HydratedFourRowTemplate* temp = format_.hydratedfourrowtemplate_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
format_.hydratedfourrowtemplate_ = nullptr;
@@ -40839,13 +39258,14 @@ inline ::proto::HydratedFourRowTemplate* TemplateMessage::_internal_mutable_hydr
if (!_internal_has_hydratedfourrowtemplate()) {
clear_format();
set_has_hydratedfourrowtemplate();
- format_.hydratedfourrowtemplate_ = CreateMaybeMessage< ::proto::HydratedFourRowTemplate >(GetArena());
+ format_.hydratedfourrowtemplate_ = CreateMaybeMessage< ::proto::HydratedFourRowTemplate >(GetArenaForAllocation());
}
return format_.hydratedfourrowtemplate_;
}
inline ::proto::HydratedFourRowTemplate* TemplateMessage::mutable_hydratedfourrowtemplate() {
+ ::proto::HydratedFourRowTemplate* _msg = _internal_mutable_hydratedfourrowtemplate();
// @@protoc_insertion_point(field_mutable:proto.TemplateMessage.hydratedFourRowTemplate)
- return _internal_mutable_hydratedfourrowtemplate();
+ return _msg;
}
inline bool TemplateMessage::has_format() const {
@@ -40877,43 +39297,28 @@ inline const std::string& TemplateButtonReplyMessage::selectedid() const {
// @@protoc_insertion_point(field_get:proto.TemplateButtonReplyMessage.selectedId)
return _internal_selectedid();
}
-inline void TemplateButtonReplyMessage::set_selectedid(const std::string& value) {
- _internal_set_selectedid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void TemplateButtonReplyMessage::set_selectedid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ selectedid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.TemplateButtonReplyMessage.selectedId)
}
inline std::string* TemplateButtonReplyMessage::mutable_selectedid() {
+ std::string* _s = _internal_mutable_selectedid();
// @@protoc_insertion_point(field_mutable:proto.TemplateButtonReplyMessage.selectedId)
- return _internal_mutable_selectedid();
+ return _s;
}
inline const std::string& TemplateButtonReplyMessage::_internal_selectedid() const {
return selectedid_.Get();
}
inline void TemplateButtonReplyMessage::_internal_set_selectedid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- selectedid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void TemplateButtonReplyMessage::set_selectedid(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- selectedid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.TemplateButtonReplyMessage.selectedId)
-}
-inline void TemplateButtonReplyMessage::set_selectedid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- selectedid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.TemplateButtonReplyMessage.selectedId)
-}
-inline void TemplateButtonReplyMessage::set_selectedid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- selectedid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.TemplateButtonReplyMessage.selectedId)
+ selectedid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* TemplateButtonReplyMessage::_internal_mutable_selectedid() {
_has_bits_[0] |= 0x00000001u;
- return selectedid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return selectedid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* TemplateButtonReplyMessage::release_selectedid() {
// @@protoc_insertion_point(field_release:proto.TemplateButtonReplyMessage.selectedId)
@@ -40921,7 +39326,7 @@ inline std::string* TemplateButtonReplyMessage::release_selectedid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return selectedid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return selectedid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void TemplateButtonReplyMessage::set_allocated_selectedid(std::string* selectedid) {
if (selectedid != nullptr) {
@@ -40930,7 +39335,7 @@ inline void TemplateButtonReplyMessage::set_allocated_selectedid(std::string* se
_has_bits_[0] &= ~0x00000001u;
}
selectedid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), selectedid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.TemplateButtonReplyMessage.selectedId)
}
@@ -40950,43 +39355,28 @@ inline const std::string& TemplateButtonReplyMessage::selecteddisplaytext() cons
// @@protoc_insertion_point(field_get:proto.TemplateButtonReplyMessage.selectedDisplayText)
return _internal_selecteddisplaytext();
}
-inline void TemplateButtonReplyMessage::set_selecteddisplaytext(const std::string& value) {
- _internal_set_selecteddisplaytext(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void TemplateButtonReplyMessage::set_selecteddisplaytext(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ selecteddisplaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.TemplateButtonReplyMessage.selectedDisplayText)
}
inline std::string* TemplateButtonReplyMessage::mutable_selecteddisplaytext() {
+ std::string* _s = _internal_mutable_selecteddisplaytext();
// @@protoc_insertion_point(field_mutable:proto.TemplateButtonReplyMessage.selectedDisplayText)
- return _internal_mutable_selecteddisplaytext();
+ return _s;
}
inline const std::string& TemplateButtonReplyMessage::_internal_selecteddisplaytext() const {
return selecteddisplaytext_.Get();
}
inline void TemplateButtonReplyMessage::_internal_set_selecteddisplaytext(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- selecteddisplaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void TemplateButtonReplyMessage::set_selecteddisplaytext(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- selecteddisplaytext_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.TemplateButtonReplyMessage.selectedDisplayText)
-}
-inline void TemplateButtonReplyMessage::set_selecteddisplaytext(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- selecteddisplaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.TemplateButtonReplyMessage.selectedDisplayText)
-}
-inline void TemplateButtonReplyMessage::set_selecteddisplaytext(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- selecteddisplaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.TemplateButtonReplyMessage.selectedDisplayText)
+ selecteddisplaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* TemplateButtonReplyMessage::_internal_mutable_selecteddisplaytext() {
_has_bits_[0] |= 0x00000002u;
- return selecteddisplaytext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return selecteddisplaytext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* TemplateButtonReplyMessage::release_selecteddisplaytext() {
// @@protoc_insertion_point(field_release:proto.TemplateButtonReplyMessage.selectedDisplayText)
@@ -40994,7 +39384,7 @@ inline std::string* TemplateButtonReplyMessage::release_selecteddisplaytext() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return selecteddisplaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return selecteddisplaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void TemplateButtonReplyMessage::set_allocated_selecteddisplaytext(std::string* selecteddisplaytext) {
if (selecteddisplaytext != nullptr) {
@@ -41003,7 +39393,7 @@ inline void TemplateButtonReplyMessage::set_allocated_selecteddisplaytext(std::s
_has_bits_[0] &= ~0x00000002u;
}
selecteddisplaytext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), selecteddisplaytext,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.TemplateButtonReplyMessage.selectedDisplayText)
}
@@ -41031,7 +39421,7 @@ inline const ::proto::ContextInfo& TemplateButtonReplyMessage::contextinfo() con
}
inline void TemplateButtonReplyMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -41046,9 +39436,15 @@ inline ::proto::ContextInfo* TemplateButtonReplyMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00000004u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* TemplateButtonReplyMessage::unsafe_arena_release_contextinfo() {
@@ -41061,23 +39457,24 @@ inline ::proto::ContextInfo* TemplateButtonReplyMessage::unsafe_arena_release_co
inline ::proto::ContextInfo* TemplateButtonReplyMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00000004u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* TemplateButtonReplyMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.TemplateButtonReplyMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void TemplateButtonReplyMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -41146,7 +39543,7 @@ inline const ::proto::ImageMessage& CatalogSnapshot::catalogimage() const {
}
inline void CatalogSnapshot::unsafe_arena_set_allocated_catalogimage(
::proto::ImageMessage* catalogimage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(catalogimage_);
}
catalogimage_ = catalogimage;
@@ -41161,9 +39558,15 @@ inline ::proto::ImageMessage* CatalogSnapshot::release_catalogimage() {
_has_bits_[0] &= ~0x00000004u;
::proto::ImageMessage* temp = catalogimage_;
catalogimage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ImageMessage* CatalogSnapshot::unsafe_arena_release_catalogimage() {
@@ -41176,23 +39579,24 @@ inline ::proto::ImageMessage* CatalogSnapshot::unsafe_arena_release_catalogimage
inline ::proto::ImageMessage* CatalogSnapshot::_internal_mutable_catalogimage() {
_has_bits_[0] |= 0x00000004u;
if (catalogimage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ImageMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ImageMessage>(GetArenaForAllocation());
catalogimage_ = p;
}
return catalogimage_;
}
inline ::proto::ImageMessage* CatalogSnapshot::mutable_catalogimage() {
+ ::proto::ImageMessage* _msg = _internal_mutable_catalogimage();
// @@protoc_insertion_point(field_mutable:proto.CatalogSnapshot.catalogImage)
- return _internal_mutable_catalogimage();
+ return _msg;
}
inline void CatalogSnapshot::set_allocated_catalogimage(::proto::ImageMessage* catalogimage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete catalogimage_;
}
if (catalogimage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(catalogimage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ImageMessage>::GetOwningArena(catalogimage);
if (message_arena != submessage_arena) {
catalogimage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, catalogimage, submessage_arena);
@@ -41221,43 +39625,28 @@ inline const std::string& CatalogSnapshot::title() const {
// @@protoc_insertion_point(field_get:proto.CatalogSnapshot.title)
return _internal_title();
}
-inline void CatalogSnapshot::set_title(const std::string& value) {
- _internal_set_title(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void CatalogSnapshot::set_title(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.CatalogSnapshot.title)
}
inline std::string* CatalogSnapshot::mutable_title() {
+ std::string* _s = _internal_mutable_title();
// @@protoc_insertion_point(field_mutable:proto.CatalogSnapshot.title)
- return _internal_mutable_title();
+ return _s;
}
inline const std::string& CatalogSnapshot::_internal_title() const {
return title_.Get();
}
inline void CatalogSnapshot::_internal_set_title(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void CatalogSnapshot::set_title(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- title_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.CatalogSnapshot.title)
-}
-inline void CatalogSnapshot::set_title(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.CatalogSnapshot.title)
-}
-inline void CatalogSnapshot::set_title(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.CatalogSnapshot.title)
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* CatalogSnapshot::_internal_mutable_title() {
_has_bits_[0] |= 0x00000001u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* CatalogSnapshot::release_title() {
// @@protoc_insertion_point(field_release:proto.CatalogSnapshot.title)
@@ -41265,7 +39654,7 @@ inline std::string* CatalogSnapshot::release_title() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void CatalogSnapshot::set_allocated_title(std::string* title) {
if (title != nullptr) {
@@ -41274,7 +39663,7 @@ inline void CatalogSnapshot::set_allocated_title(std::string* title) {
_has_bits_[0] &= ~0x00000001u;
}
title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.CatalogSnapshot.title)
}
@@ -41294,43 +39683,28 @@ inline const std::string& CatalogSnapshot::description() const {
// @@protoc_insertion_point(field_get:proto.CatalogSnapshot.description)
return _internal_description();
}
-inline void CatalogSnapshot::set_description(const std::string& value) {
- _internal_set_description(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void CatalogSnapshot::set_description(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.CatalogSnapshot.description)
}
inline std::string* CatalogSnapshot::mutable_description() {
+ std::string* _s = _internal_mutable_description();
// @@protoc_insertion_point(field_mutable:proto.CatalogSnapshot.description)
- return _internal_mutable_description();
+ return _s;
}
inline const std::string& CatalogSnapshot::_internal_description() const {
return description_.Get();
}
inline void CatalogSnapshot::_internal_set_description(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void CatalogSnapshot::set_description(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- description_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.CatalogSnapshot.description)
-}
-inline void CatalogSnapshot::set_description(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.CatalogSnapshot.description)
-}
-inline void CatalogSnapshot::set_description(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.CatalogSnapshot.description)
+ description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* CatalogSnapshot::_internal_mutable_description() {
_has_bits_[0] |= 0x00000002u;
- return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* CatalogSnapshot::release_description() {
// @@protoc_insertion_point(field_release:proto.CatalogSnapshot.description)
@@ -41338,7 +39712,7 @@ inline std::string* CatalogSnapshot::release_description() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void CatalogSnapshot::set_allocated_description(std::string* description) {
if (description != nullptr) {
@@ -41347,7 +39721,7 @@ inline void CatalogSnapshot::set_allocated_description(std::string* description)
_has_bits_[0] &= ~0x00000002u;
}
description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.CatalogSnapshot.description)
}
@@ -41379,7 +39753,7 @@ inline const ::proto::ImageMessage& ProductSnapshot::productimage() const {
}
inline void ProductSnapshot::unsafe_arena_set_allocated_productimage(
::proto::ImageMessage* productimage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(productimage_);
}
productimage_ = productimage;
@@ -41394,9 +39768,15 @@ inline ::proto::ImageMessage* ProductSnapshot::release_productimage() {
_has_bits_[0] &= ~0x00000080u;
::proto::ImageMessage* temp = productimage_;
productimage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ImageMessage* ProductSnapshot::unsafe_arena_release_productimage() {
@@ -41409,23 +39789,24 @@ inline ::proto::ImageMessage* ProductSnapshot::unsafe_arena_release_productimage
inline ::proto::ImageMessage* ProductSnapshot::_internal_mutable_productimage() {
_has_bits_[0] |= 0x00000080u;
if (productimage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ImageMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ImageMessage>(GetArenaForAllocation());
productimage_ = p;
}
return productimage_;
}
inline ::proto::ImageMessage* ProductSnapshot::mutable_productimage() {
+ ::proto::ImageMessage* _msg = _internal_mutable_productimage();
// @@protoc_insertion_point(field_mutable:proto.ProductSnapshot.productImage)
- return _internal_mutable_productimage();
+ return _msg;
}
inline void ProductSnapshot::set_allocated_productimage(::proto::ImageMessage* productimage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete productimage_;
}
if (productimage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(productimage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ImageMessage>::GetOwningArena(productimage);
if (message_arena != submessage_arena) {
productimage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, productimage, submessage_arena);
@@ -41454,43 +39835,28 @@ inline const std::string& ProductSnapshot::productid() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.productId)
return _internal_productid();
}
-inline void ProductSnapshot::set_productid(const std::string& value) {
- _internal_set_productid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ProductSnapshot::set_productid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ productid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.productId)
}
inline std::string* ProductSnapshot::mutable_productid() {
+ std::string* _s = _internal_mutable_productid();
// @@protoc_insertion_point(field_mutable:proto.ProductSnapshot.productId)
- return _internal_mutable_productid();
+ return _s;
}
inline const std::string& ProductSnapshot::_internal_productid() const {
return productid_.Get();
}
inline void ProductSnapshot::_internal_set_productid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- productid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ProductSnapshot::set_productid(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- productid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ProductSnapshot.productId)
-}
-inline void ProductSnapshot::set_productid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- productid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ProductSnapshot.productId)
-}
-inline void ProductSnapshot::set_productid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- productid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ProductSnapshot.productId)
+ productid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::_internal_mutable_productid() {
_has_bits_[0] |= 0x00000001u;
- return productid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return productid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::release_productid() {
// @@protoc_insertion_point(field_release:proto.ProductSnapshot.productId)
@@ -41498,7 +39864,7 @@ inline std::string* ProductSnapshot::release_productid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return productid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return productid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ProductSnapshot::set_allocated_productid(std::string* productid) {
if (productid != nullptr) {
@@ -41507,7 +39873,7 @@ inline void ProductSnapshot::set_allocated_productid(std::string* productid) {
_has_bits_[0] &= ~0x00000001u;
}
productid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), productid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ProductSnapshot.productId)
}
@@ -41527,43 +39893,28 @@ inline const std::string& ProductSnapshot::title() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.title)
return _internal_title();
}
-inline void ProductSnapshot::set_title(const std::string& value) {
- _internal_set_title(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ProductSnapshot::set_title(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.title)
}
inline std::string* ProductSnapshot::mutable_title() {
+ std::string* _s = _internal_mutable_title();
// @@protoc_insertion_point(field_mutable:proto.ProductSnapshot.title)
- return _internal_mutable_title();
+ return _s;
}
inline const std::string& ProductSnapshot::_internal_title() const {
return title_.Get();
}
inline void ProductSnapshot::_internal_set_title(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ProductSnapshot::set_title(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- title_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ProductSnapshot.title)
-}
-inline void ProductSnapshot::set_title(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ProductSnapshot.title)
-}
-inline void ProductSnapshot::set_title(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ProductSnapshot.title)
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::_internal_mutable_title() {
_has_bits_[0] |= 0x00000002u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::release_title() {
// @@protoc_insertion_point(field_release:proto.ProductSnapshot.title)
@@ -41571,7 +39922,7 @@ inline std::string* ProductSnapshot::release_title() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ProductSnapshot::set_allocated_title(std::string* title) {
if (title != nullptr) {
@@ -41580,7 +39931,7 @@ inline void ProductSnapshot::set_allocated_title(std::string* title) {
_has_bits_[0] &= ~0x00000002u;
}
title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ProductSnapshot.title)
}
@@ -41600,43 +39951,28 @@ inline const std::string& ProductSnapshot::description() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.description)
return _internal_description();
}
-inline void ProductSnapshot::set_description(const std::string& value) {
- _internal_set_description(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ProductSnapshot::set_description(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.description)
}
inline std::string* ProductSnapshot::mutable_description() {
+ std::string* _s = _internal_mutable_description();
// @@protoc_insertion_point(field_mutable:proto.ProductSnapshot.description)
- return _internal_mutable_description();
+ return _s;
}
inline const std::string& ProductSnapshot::_internal_description() const {
return description_.Get();
}
inline void ProductSnapshot::_internal_set_description(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ProductSnapshot::set_description(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- description_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ProductSnapshot.description)
-}
-inline void ProductSnapshot::set_description(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ProductSnapshot.description)
-}
-inline void ProductSnapshot::set_description(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ProductSnapshot.description)
+ description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::_internal_mutable_description() {
_has_bits_[0] |= 0x00000004u;
- return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::release_description() {
// @@protoc_insertion_point(field_release:proto.ProductSnapshot.description)
@@ -41644,7 +39980,7 @@ inline std::string* ProductSnapshot::release_description() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ProductSnapshot::set_allocated_description(std::string* description) {
if (description != nullptr) {
@@ -41653,7 +39989,7 @@ inline void ProductSnapshot::set_allocated_description(std::string* description)
_has_bits_[0] &= ~0x00000004u;
}
description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ProductSnapshot.description)
}
@@ -41673,43 +40009,28 @@ inline const std::string& ProductSnapshot::currencycode() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.currencyCode)
return _internal_currencycode();
}
-inline void ProductSnapshot::set_currencycode(const std::string& value) {
- _internal_set_currencycode(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ProductSnapshot::set_currencycode(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.currencyCode)
}
inline std::string* ProductSnapshot::mutable_currencycode() {
+ std::string* _s = _internal_mutable_currencycode();
// @@protoc_insertion_point(field_mutable:proto.ProductSnapshot.currencyCode)
- return _internal_mutable_currencycode();
+ return _s;
}
inline const std::string& ProductSnapshot::_internal_currencycode() const {
return currencycode_.Get();
}
inline void ProductSnapshot::_internal_set_currencycode(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ProductSnapshot::set_currencycode(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- currencycode_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ProductSnapshot.currencyCode)
-}
-inline void ProductSnapshot::set_currencycode(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ProductSnapshot.currencyCode)
-}
-inline void ProductSnapshot::set_currencycode(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ProductSnapshot.currencyCode)
+ currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::_internal_mutable_currencycode() {
_has_bits_[0] |= 0x00000008u;
- return currencycode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return currencycode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::release_currencycode() {
// @@protoc_insertion_point(field_release:proto.ProductSnapshot.currencyCode)
@@ -41717,7 +40038,7 @@ inline std::string* ProductSnapshot::release_currencycode() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return currencycode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return currencycode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ProductSnapshot::set_allocated_currencycode(std::string* currencycode) {
if (currencycode != nullptr) {
@@ -41726,7 +40047,7 @@ inline void ProductSnapshot::set_allocated_currencycode(std::string* currencycod
_has_bits_[0] &= ~0x00000008u;
}
currencycode_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), currencycode,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ProductSnapshot.currencyCode)
}
@@ -41739,7 +40060,7 @@ inline bool ProductSnapshot::has_priceamount1000() const {
return _internal_has_priceamount1000();
}
inline void ProductSnapshot::clear_priceamount1000() {
- priceamount1000_ = PROTOBUF_LONGLONG(0);
+ priceamount1000_ = int64_t{0};
_has_bits_[0] &= ~0x00000100u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 ProductSnapshot::_internal_priceamount1000() const {
@@ -41774,43 +40095,28 @@ inline const std::string& ProductSnapshot::retailerid() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.retailerId)
return _internal_retailerid();
}
-inline void ProductSnapshot::set_retailerid(const std::string& value) {
- _internal_set_retailerid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ProductSnapshot::set_retailerid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000010u;
+ retailerid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.retailerId)
}
inline std::string* ProductSnapshot::mutable_retailerid() {
+ std::string* _s = _internal_mutable_retailerid();
// @@protoc_insertion_point(field_mutable:proto.ProductSnapshot.retailerId)
- return _internal_mutable_retailerid();
+ return _s;
}
inline const std::string& ProductSnapshot::_internal_retailerid() const {
return retailerid_.Get();
}
inline void ProductSnapshot::_internal_set_retailerid(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
- retailerid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ProductSnapshot::set_retailerid(std::string&& value) {
- _has_bits_[0] |= 0x00000010u;
- retailerid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ProductSnapshot.retailerId)
-}
-inline void ProductSnapshot::set_retailerid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000010u;
- retailerid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ProductSnapshot.retailerId)
-}
-inline void ProductSnapshot::set_retailerid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000010u;
- retailerid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ProductSnapshot.retailerId)
+ retailerid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::_internal_mutable_retailerid() {
_has_bits_[0] |= 0x00000010u;
- return retailerid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return retailerid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::release_retailerid() {
// @@protoc_insertion_point(field_release:proto.ProductSnapshot.retailerId)
@@ -41818,7 +40124,7 @@ inline std::string* ProductSnapshot::release_retailerid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
- return retailerid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return retailerid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ProductSnapshot::set_allocated_retailerid(std::string* retailerid) {
if (retailerid != nullptr) {
@@ -41827,7 +40133,7 @@ inline void ProductSnapshot::set_allocated_retailerid(std::string* retailerid) {
_has_bits_[0] &= ~0x00000010u;
}
retailerid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), retailerid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ProductSnapshot.retailerId)
}
@@ -41847,43 +40153,28 @@ inline const std::string& ProductSnapshot::url() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.url)
return _internal_url();
}
-inline void ProductSnapshot::set_url(const std::string& value) {
- _internal_set_url(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ProductSnapshot::set_url(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000020u;
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.url)
}
inline std::string* ProductSnapshot::mutable_url() {
+ std::string* _s = _internal_mutable_url();
// @@protoc_insertion_point(field_mutable:proto.ProductSnapshot.url)
- return _internal_mutable_url();
+ return _s;
}
inline const std::string& ProductSnapshot::_internal_url() const {
return url_.Get();
}
inline void ProductSnapshot::_internal_set_url(const std::string& value) {
_has_bits_[0] |= 0x00000020u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ProductSnapshot::set_url(std::string&& value) {
- _has_bits_[0] |= 0x00000020u;
- url_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ProductSnapshot.url)
-}
-inline void ProductSnapshot::set_url(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000020u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ProductSnapshot.url)
-}
-inline void ProductSnapshot::set_url(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000020u;
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ProductSnapshot.url)
+ url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::_internal_mutable_url() {
_has_bits_[0] |= 0x00000020u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::release_url() {
// @@protoc_insertion_point(field_release:proto.ProductSnapshot.url)
@@ -41891,7 +40182,7 @@ inline std::string* ProductSnapshot::release_url() {
return nullptr;
}
_has_bits_[0] &= ~0x00000020u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ProductSnapshot::set_allocated_url(std::string* url) {
if (url != nullptr) {
@@ -41900,7 +40191,7 @@ inline void ProductSnapshot::set_allocated_url(std::string* url) {
_has_bits_[0] &= ~0x00000020u;
}
url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ProductSnapshot.url)
}
@@ -41948,43 +40239,28 @@ inline const std::string& ProductSnapshot::firstimageid() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.firstImageId)
return _internal_firstimageid();
}
-inline void ProductSnapshot::set_firstimageid(const std::string& value) {
- _internal_set_firstimageid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ProductSnapshot::set_firstimageid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000040u;
+ firstimageid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.firstImageId)
}
inline std::string* ProductSnapshot::mutable_firstimageid() {
+ std::string* _s = _internal_mutable_firstimageid();
// @@protoc_insertion_point(field_mutable:proto.ProductSnapshot.firstImageId)
- return _internal_mutable_firstimageid();
+ return _s;
}
inline const std::string& ProductSnapshot::_internal_firstimageid() const {
return firstimageid_.Get();
}
inline void ProductSnapshot::_internal_set_firstimageid(const std::string& value) {
_has_bits_[0] |= 0x00000040u;
- firstimageid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ProductSnapshot::set_firstimageid(std::string&& value) {
- _has_bits_[0] |= 0x00000040u;
- firstimageid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ProductSnapshot.firstImageId)
-}
-inline void ProductSnapshot::set_firstimageid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000040u;
- firstimageid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ProductSnapshot.firstImageId)
-}
-inline void ProductSnapshot::set_firstimageid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000040u;
- firstimageid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ProductSnapshot.firstImageId)
+ firstimageid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::_internal_mutable_firstimageid() {
_has_bits_[0] |= 0x00000040u;
- return firstimageid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return firstimageid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::release_firstimageid() {
// @@protoc_insertion_point(field_release:proto.ProductSnapshot.firstImageId)
@@ -41992,7 +40268,7 @@ inline std::string* ProductSnapshot::release_firstimageid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000040u;
- return firstimageid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return firstimageid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ProductSnapshot::set_allocated_firstimageid(std::string* firstimageid) {
if (firstimageid != nullptr) {
@@ -42001,7 +40277,7 @@ inline void ProductSnapshot::set_allocated_firstimageid(std::string* firstimagei
_has_bits_[0] &= ~0x00000040u;
}
firstimageid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), firstimageid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ProductSnapshot.firstImageId)
}
@@ -42033,7 +40309,7 @@ inline const ::proto::ProductSnapshot& ProductMessage::product() const {
}
inline void ProductMessage::unsafe_arena_set_allocated_product(
::proto::ProductSnapshot* product) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(product_);
}
product_ = product;
@@ -42048,9 +40324,15 @@ inline ::proto::ProductSnapshot* ProductMessage::release_product() {
_has_bits_[0] &= ~0x00000002u;
::proto::ProductSnapshot* temp = product_;
product_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ProductSnapshot* ProductMessage::unsafe_arena_release_product() {
@@ -42063,23 +40345,24 @@ inline ::proto::ProductSnapshot* ProductMessage::unsafe_arena_release_product()
inline ::proto::ProductSnapshot* ProductMessage::_internal_mutable_product() {
_has_bits_[0] |= 0x00000002u;
if (product_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ProductSnapshot>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ProductSnapshot>(GetArenaForAllocation());
product_ = p;
}
return product_;
}
inline ::proto::ProductSnapshot* ProductMessage::mutable_product() {
+ ::proto::ProductSnapshot* _msg = _internal_mutable_product();
// @@protoc_insertion_point(field_mutable:proto.ProductMessage.product)
- return _internal_mutable_product();
+ return _msg;
}
inline void ProductMessage::set_allocated_product(::proto::ProductSnapshot* product) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete product_;
}
if (product) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(product);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ProductSnapshot>::GetOwningArena(product);
if (message_arena != submessage_arena) {
product = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, product, submessage_arena);
@@ -42108,43 +40391,28 @@ inline const std::string& ProductMessage::businessownerjid() const {
// @@protoc_insertion_point(field_get:proto.ProductMessage.businessOwnerJid)
return _internal_businessownerjid();
}
-inline void ProductMessage::set_businessownerjid(const std::string& value) {
- _internal_set_businessownerjid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ProductMessage::set_businessownerjid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ businessownerjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductMessage.businessOwnerJid)
}
inline std::string* ProductMessage::mutable_businessownerjid() {
+ std::string* _s = _internal_mutable_businessownerjid();
// @@protoc_insertion_point(field_mutable:proto.ProductMessage.businessOwnerJid)
- return _internal_mutable_businessownerjid();
+ return _s;
}
inline const std::string& ProductMessage::_internal_businessownerjid() const {
return businessownerjid_.Get();
}
inline void ProductMessage::_internal_set_businessownerjid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- businessownerjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ProductMessage::set_businessownerjid(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- businessownerjid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ProductMessage.businessOwnerJid)
-}
-inline void ProductMessage::set_businessownerjid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- businessownerjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ProductMessage.businessOwnerJid)
-}
-inline void ProductMessage::set_businessownerjid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- businessownerjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ProductMessage.businessOwnerJid)
+ businessownerjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ProductMessage::_internal_mutable_businessownerjid() {
_has_bits_[0] |= 0x00000001u;
- return businessownerjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return businessownerjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ProductMessage::release_businessownerjid() {
// @@protoc_insertion_point(field_release:proto.ProductMessage.businessOwnerJid)
@@ -42152,7 +40420,7 @@ inline std::string* ProductMessage::release_businessownerjid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return businessownerjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return businessownerjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ProductMessage::set_allocated_businessownerjid(std::string* businessownerjid) {
if (businessownerjid != nullptr) {
@@ -42161,7 +40429,7 @@ inline void ProductMessage::set_allocated_businessownerjid(std::string* business
_has_bits_[0] &= ~0x00000001u;
}
businessownerjid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), businessownerjid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ProductMessage.businessOwnerJid)
}
@@ -42189,7 +40457,7 @@ inline const ::proto::CatalogSnapshot& ProductMessage::catalog() const {
}
inline void ProductMessage::unsafe_arena_set_allocated_catalog(
::proto::CatalogSnapshot* catalog) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(catalog_);
}
catalog_ = catalog;
@@ -42204,9 +40472,15 @@ inline ::proto::CatalogSnapshot* ProductMessage::release_catalog() {
_has_bits_[0] &= ~0x00000004u;
::proto::CatalogSnapshot* temp = catalog_;
catalog_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::CatalogSnapshot* ProductMessage::unsafe_arena_release_catalog() {
@@ -42219,23 +40493,24 @@ inline ::proto::CatalogSnapshot* ProductMessage::unsafe_arena_release_catalog()
inline ::proto::CatalogSnapshot* ProductMessage::_internal_mutable_catalog() {
_has_bits_[0] |= 0x00000004u;
if (catalog_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::CatalogSnapshot>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::CatalogSnapshot>(GetArenaForAllocation());
catalog_ = p;
}
return catalog_;
}
inline ::proto::CatalogSnapshot* ProductMessage::mutable_catalog() {
+ ::proto::CatalogSnapshot* _msg = _internal_mutable_catalog();
// @@protoc_insertion_point(field_mutable:proto.ProductMessage.catalog)
- return _internal_mutable_catalog();
+ return _msg;
}
inline void ProductMessage::set_allocated_catalog(::proto::CatalogSnapshot* catalog) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete catalog_;
}
if (catalog) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(catalog);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::CatalogSnapshot>::GetOwningArena(catalog);
if (message_arena != submessage_arena) {
catalog = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, catalog, submessage_arena);
@@ -42272,7 +40547,7 @@ inline const ::proto::ContextInfo& ProductMessage::contextinfo() const {
}
inline void ProductMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -42287,9 +40562,15 @@ inline ::proto::ContextInfo* ProductMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00000008u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* ProductMessage::unsafe_arena_release_contextinfo() {
@@ -42302,23 +40583,24 @@ inline ::proto::ContextInfo* ProductMessage::unsafe_arena_release_contextinfo()
inline ::proto::ContextInfo* ProductMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00000008u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* ProductMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.ProductMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void ProductMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -42351,43 +40633,28 @@ inline const std::string& OrderMessage::orderid() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.orderId)
return _internal_orderid();
}
-inline void OrderMessage::set_orderid(const std::string& value) {
- _internal_set_orderid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void OrderMessage::set_orderid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ orderid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.OrderMessage.orderId)
}
inline std::string* OrderMessage::mutable_orderid() {
+ std::string* _s = _internal_mutable_orderid();
// @@protoc_insertion_point(field_mutable:proto.OrderMessage.orderId)
- return _internal_mutable_orderid();
+ return _s;
}
inline const std::string& OrderMessage::_internal_orderid() const {
return orderid_.Get();
}
inline void OrderMessage::_internal_set_orderid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- orderid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void OrderMessage::set_orderid(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- orderid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.OrderMessage.orderId)
-}
-inline void OrderMessage::set_orderid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- orderid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.OrderMessage.orderId)
-}
-inline void OrderMessage::set_orderid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- orderid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.OrderMessage.orderId)
+ orderid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* OrderMessage::_internal_mutable_orderid() {
_has_bits_[0] |= 0x00000001u;
- return orderid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return orderid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* OrderMessage::release_orderid() {
// @@protoc_insertion_point(field_release:proto.OrderMessage.orderId)
@@ -42395,7 +40662,7 @@ inline std::string* OrderMessage::release_orderid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return orderid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return orderid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void OrderMessage::set_allocated_orderid(std::string* orderid) {
if (orderid != nullptr) {
@@ -42404,7 +40671,7 @@ inline void OrderMessage::set_allocated_orderid(std::string* orderid) {
_has_bits_[0] &= ~0x00000001u;
}
orderid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), orderid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.OrderMessage.orderId)
}
@@ -42424,43 +40691,28 @@ inline const std::string& OrderMessage::thumbnail() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.thumbnail)
return _internal_thumbnail();
}
-inline void OrderMessage::set_thumbnail(const std::string& value) {
- _internal_set_thumbnail(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void OrderMessage::set_thumbnail(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ thumbnail_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.OrderMessage.thumbnail)
}
inline std::string* OrderMessage::mutable_thumbnail() {
+ std::string* _s = _internal_mutable_thumbnail();
// @@protoc_insertion_point(field_mutable:proto.OrderMessage.thumbnail)
- return _internal_mutable_thumbnail();
+ return _s;
}
inline const std::string& OrderMessage::_internal_thumbnail() const {
return thumbnail_.Get();
}
inline void OrderMessage::_internal_set_thumbnail(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- thumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void OrderMessage::set_thumbnail(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- thumbnail_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.OrderMessage.thumbnail)
-}
-inline void OrderMessage::set_thumbnail(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- thumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.OrderMessage.thumbnail)
-}
-inline void OrderMessage::set_thumbnail(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- thumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.OrderMessage.thumbnail)
+ thumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* OrderMessage::_internal_mutable_thumbnail() {
_has_bits_[0] |= 0x00000002u;
- return thumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return thumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* OrderMessage::release_thumbnail() {
// @@protoc_insertion_point(field_release:proto.OrderMessage.thumbnail)
@@ -42468,7 +40720,7 @@ inline std::string* OrderMessage::release_thumbnail() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return thumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return thumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void OrderMessage::set_allocated_thumbnail(std::string* thumbnail) {
if (thumbnail != nullptr) {
@@ -42477,7 +40729,7 @@ inline void OrderMessage::set_allocated_thumbnail(std::string* thumbnail) {
_has_bits_[0] &= ~0x00000002u;
}
thumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnail,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.OrderMessage.thumbnail)
}
@@ -42583,43 +40835,28 @@ inline const std::string& OrderMessage::message() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.message)
return _internal_message();
}
-inline void OrderMessage::set_message(const std::string& value) {
- _internal_set_message(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void OrderMessage::set_message(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.OrderMessage.message)
}
inline std::string* OrderMessage::mutable_message() {
+ std::string* _s = _internal_mutable_message();
// @@protoc_insertion_point(field_mutable:proto.OrderMessage.message)
- return _internal_mutable_message();
+ return _s;
}
inline const std::string& OrderMessage::_internal_message() const {
return message_.Get();
}
inline void OrderMessage::_internal_set_message(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void OrderMessage::set_message(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- message_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.OrderMessage.message)
-}
-inline void OrderMessage::set_message(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.OrderMessage.message)
-}
-inline void OrderMessage::set_message(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.OrderMessage.message)
+ message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* OrderMessage::_internal_mutable_message() {
_has_bits_[0] |= 0x00000004u;
- return message_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return message_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* OrderMessage::release_message() {
// @@protoc_insertion_point(field_release:proto.OrderMessage.message)
@@ -42627,7 +40864,7 @@ inline std::string* OrderMessage::release_message() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return message_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return message_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void OrderMessage::set_allocated_message(std::string* message) {
if (message != nullptr) {
@@ -42636,7 +40873,7 @@ inline void OrderMessage::set_allocated_message(std::string* message) {
_has_bits_[0] &= ~0x00000004u;
}
message_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), message,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.OrderMessage.message)
}
@@ -42656,43 +40893,28 @@ inline const std::string& OrderMessage::ordertitle() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.orderTitle)
return _internal_ordertitle();
}
-inline void OrderMessage::set_ordertitle(const std::string& value) {
- _internal_set_ordertitle(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void OrderMessage::set_ordertitle(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ ordertitle_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.OrderMessage.orderTitle)
}
inline std::string* OrderMessage::mutable_ordertitle() {
+ std::string* _s = _internal_mutable_ordertitle();
// @@protoc_insertion_point(field_mutable:proto.OrderMessage.orderTitle)
- return _internal_mutable_ordertitle();
+ return _s;
}
inline const std::string& OrderMessage::_internal_ordertitle() const {
return ordertitle_.Get();
}
inline void OrderMessage::_internal_set_ordertitle(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- ordertitle_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void OrderMessage::set_ordertitle(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- ordertitle_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.OrderMessage.orderTitle)
-}
-inline void OrderMessage::set_ordertitle(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- ordertitle_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.OrderMessage.orderTitle)
-}
-inline void OrderMessage::set_ordertitle(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- ordertitle_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.OrderMessage.orderTitle)
+ ordertitle_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* OrderMessage::_internal_mutable_ordertitle() {
_has_bits_[0] |= 0x00000008u;
- return ordertitle_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return ordertitle_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* OrderMessage::release_ordertitle() {
// @@protoc_insertion_point(field_release:proto.OrderMessage.orderTitle)
@@ -42700,7 +40922,7 @@ inline std::string* OrderMessage::release_ordertitle() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return ordertitle_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return ordertitle_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void OrderMessage::set_allocated_ordertitle(std::string* ordertitle) {
if (ordertitle != nullptr) {
@@ -42709,7 +40931,7 @@ inline void OrderMessage::set_allocated_ordertitle(std::string* ordertitle) {
_has_bits_[0] &= ~0x00000008u;
}
ordertitle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ordertitle,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.OrderMessage.orderTitle)
}
@@ -42729,43 +40951,28 @@ inline const std::string& OrderMessage::sellerjid() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.sellerJid)
return _internal_sellerjid();
}
-inline void OrderMessage::set_sellerjid(const std::string& value) {
- _internal_set_sellerjid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void OrderMessage::set_sellerjid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000010u;
+ sellerjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.OrderMessage.sellerJid)
}
inline std::string* OrderMessage::mutable_sellerjid() {
+ std::string* _s = _internal_mutable_sellerjid();
// @@protoc_insertion_point(field_mutable:proto.OrderMessage.sellerJid)
- return _internal_mutable_sellerjid();
+ return _s;
}
inline const std::string& OrderMessage::_internal_sellerjid() const {
return sellerjid_.Get();
}
inline void OrderMessage::_internal_set_sellerjid(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
- sellerjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void OrderMessage::set_sellerjid(std::string&& value) {
- _has_bits_[0] |= 0x00000010u;
- sellerjid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.OrderMessage.sellerJid)
-}
-inline void OrderMessage::set_sellerjid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000010u;
- sellerjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.OrderMessage.sellerJid)
-}
-inline void OrderMessage::set_sellerjid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000010u;
- sellerjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.OrderMessage.sellerJid)
+ sellerjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* OrderMessage::_internal_mutable_sellerjid() {
_has_bits_[0] |= 0x00000010u;
- return sellerjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return sellerjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* OrderMessage::release_sellerjid() {
// @@protoc_insertion_point(field_release:proto.OrderMessage.sellerJid)
@@ -42773,7 +40980,7 @@ inline std::string* OrderMessage::release_sellerjid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
- return sellerjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return sellerjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void OrderMessage::set_allocated_sellerjid(std::string* sellerjid) {
if (sellerjid != nullptr) {
@@ -42782,7 +40989,7 @@ inline void OrderMessage::set_allocated_sellerjid(std::string* sellerjid) {
_has_bits_[0] &= ~0x00000010u;
}
sellerjid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sellerjid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.OrderMessage.sellerJid)
}
@@ -42802,43 +41009,28 @@ inline const std::string& OrderMessage::token() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.token)
return _internal_token();
}
-inline void OrderMessage::set_token(const std::string& value) {
- _internal_set_token(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void OrderMessage::set_token(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000020u;
+ token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.OrderMessage.token)
}
inline std::string* OrderMessage::mutable_token() {
+ std::string* _s = _internal_mutable_token();
// @@protoc_insertion_point(field_mutable:proto.OrderMessage.token)
- return _internal_mutable_token();
+ return _s;
}
inline const std::string& OrderMessage::_internal_token() const {
return token_.Get();
}
inline void OrderMessage::_internal_set_token(const std::string& value) {
_has_bits_[0] |= 0x00000020u;
- token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void OrderMessage::set_token(std::string&& value) {
- _has_bits_[0] |= 0x00000020u;
- token_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.OrderMessage.token)
-}
-inline void OrderMessage::set_token(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000020u;
- token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.OrderMessage.token)
-}
-inline void OrderMessage::set_token(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000020u;
- token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.OrderMessage.token)
+ token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* OrderMessage::_internal_mutable_token() {
_has_bits_[0] |= 0x00000020u;
- return token_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return token_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* OrderMessage::release_token() {
// @@protoc_insertion_point(field_release:proto.OrderMessage.token)
@@ -42846,7 +41038,7 @@ inline std::string* OrderMessage::release_token() {
return nullptr;
}
_has_bits_[0] &= ~0x00000020u;
- return token_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return token_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void OrderMessage::set_allocated_token(std::string* token) {
if (token != nullptr) {
@@ -42855,7 +41047,7 @@ inline void OrderMessage::set_allocated_token(std::string* token) {
_has_bits_[0] &= ~0x00000020u;
}
token_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), token,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.OrderMessage.token)
}
@@ -42868,7 +41060,7 @@ inline bool OrderMessage::has_totalamount1000() const {
return _internal_has_totalamount1000();
}
inline void OrderMessage::clear_totalamount1000() {
- totalamount1000_ = PROTOBUF_LONGLONG(0);
+ totalamount1000_ = int64_t{0};
_has_bits_[0] &= ~0x00000100u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 OrderMessage::_internal_totalamount1000() const {
@@ -42903,43 +41095,28 @@ inline const std::string& OrderMessage::totalcurrencycode() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.totalCurrencyCode)
return _internal_totalcurrencycode();
}
-inline void OrderMessage::set_totalcurrencycode(const std::string& value) {
- _internal_set_totalcurrencycode(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void OrderMessage::set_totalcurrencycode(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000040u;
+ totalcurrencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.OrderMessage.totalCurrencyCode)
}
inline std::string* OrderMessage::mutable_totalcurrencycode() {
+ std::string* _s = _internal_mutable_totalcurrencycode();
// @@protoc_insertion_point(field_mutable:proto.OrderMessage.totalCurrencyCode)
- return _internal_mutable_totalcurrencycode();
+ return _s;
}
inline const std::string& OrderMessage::_internal_totalcurrencycode() const {
return totalcurrencycode_.Get();
}
inline void OrderMessage::_internal_set_totalcurrencycode(const std::string& value) {
_has_bits_[0] |= 0x00000040u;
- totalcurrencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void OrderMessage::set_totalcurrencycode(std::string&& value) {
- _has_bits_[0] |= 0x00000040u;
- totalcurrencycode_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.OrderMessage.totalCurrencyCode)
-}
-inline void OrderMessage::set_totalcurrencycode(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000040u;
- totalcurrencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.OrderMessage.totalCurrencyCode)
-}
-inline void OrderMessage::set_totalcurrencycode(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000040u;
- totalcurrencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.OrderMessage.totalCurrencyCode)
+ totalcurrencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* OrderMessage::_internal_mutable_totalcurrencycode() {
_has_bits_[0] |= 0x00000040u;
- return totalcurrencycode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return totalcurrencycode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* OrderMessage::release_totalcurrencycode() {
// @@protoc_insertion_point(field_release:proto.OrderMessage.totalCurrencyCode)
@@ -42947,7 +41124,7 @@ inline std::string* OrderMessage::release_totalcurrencycode() {
return nullptr;
}
_has_bits_[0] &= ~0x00000040u;
- return totalcurrencycode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return totalcurrencycode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void OrderMessage::set_allocated_totalcurrencycode(std::string* totalcurrencycode) {
if (totalcurrencycode != nullptr) {
@@ -42956,7 +41133,7 @@ inline void OrderMessage::set_allocated_totalcurrencycode(std::string* totalcurr
_has_bits_[0] &= ~0x00000040u;
}
totalcurrencycode_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), totalcurrencycode,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.OrderMessage.totalCurrencyCode)
}
@@ -42984,7 +41161,7 @@ inline const ::proto::ContextInfo& OrderMessage::contextinfo() const {
}
inline void OrderMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -42999,9 +41176,15 @@ inline ::proto::ContextInfo* OrderMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00000080u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* OrderMessage::unsafe_arena_release_contextinfo() {
@@ -43014,23 +41197,24 @@ inline ::proto::ContextInfo* OrderMessage::unsafe_arena_release_contextinfo() {
inline ::proto::ContextInfo* OrderMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00000080u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* OrderMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.OrderMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void OrderMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -43063,43 +41247,28 @@ inline const std::string& Row::title() const {
// @@protoc_insertion_point(field_get:proto.Row.title)
return _internal_title();
}
-inline void Row::set_title(const std::string& value) {
- _internal_set_title(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void Row::set_title(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Row.title)
}
inline std::string* Row::mutable_title() {
+ std::string* _s = _internal_mutable_title();
// @@protoc_insertion_point(field_mutable:proto.Row.title)
- return _internal_mutable_title();
+ return _s;
}
inline const std::string& Row::_internal_title() const {
return title_.Get();
}
inline void Row::_internal_set_title(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void Row::set_title(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- title_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.Row.title)
-}
-inline void Row::set_title(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.Row.title)
-}
-inline void Row::set_title(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.Row.title)
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* Row::_internal_mutable_title() {
_has_bits_[0] |= 0x00000001u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* Row::release_title() {
// @@protoc_insertion_point(field_release:proto.Row.title)
@@ -43107,7 +41276,7 @@ inline std::string* Row::release_title() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void Row::set_allocated_title(std::string* title) {
if (title != nullptr) {
@@ -43116,7 +41285,7 @@ inline void Row::set_allocated_title(std::string* title) {
_has_bits_[0] &= ~0x00000001u;
}
title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.Row.title)
}
@@ -43136,43 +41305,28 @@ inline const std::string& Row::description() const {
// @@protoc_insertion_point(field_get:proto.Row.description)
return _internal_description();
}
-inline void Row::set_description(const std::string& value) {
- _internal_set_description(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void Row::set_description(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Row.description)
}
inline std::string* Row::mutable_description() {
+ std::string* _s = _internal_mutable_description();
// @@protoc_insertion_point(field_mutable:proto.Row.description)
- return _internal_mutable_description();
+ return _s;
}
inline const std::string& Row::_internal_description() const {
return description_.Get();
}
inline void Row::_internal_set_description(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void Row::set_description(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- description_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.Row.description)
-}
-inline void Row::set_description(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.Row.description)
-}
-inline void Row::set_description(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.Row.description)
+ description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* Row::_internal_mutable_description() {
_has_bits_[0] |= 0x00000002u;
- return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* Row::release_description() {
// @@protoc_insertion_point(field_release:proto.Row.description)
@@ -43180,7 +41334,7 @@ inline std::string* Row::release_description() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void Row::set_allocated_description(std::string* description) {
if (description != nullptr) {
@@ -43189,7 +41343,7 @@ inline void Row::set_allocated_description(std::string* description) {
_has_bits_[0] &= ~0x00000002u;
}
description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.Row.description)
}
@@ -43209,43 +41363,28 @@ inline const std::string& Row::rowid() const {
// @@protoc_insertion_point(field_get:proto.Row.rowId)
return _internal_rowid();
}
-inline void Row::set_rowid(const std::string& value) {
- _internal_set_rowid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void Row::set_rowid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ rowid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Row.rowId)
}
inline std::string* Row::mutable_rowid() {
+ std::string* _s = _internal_mutable_rowid();
// @@protoc_insertion_point(field_mutable:proto.Row.rowId)
- return _internal_mutable_rowid();
+ return _s;
}
inline const std::string& Row::_internal_rowid() const {
return rowid_.Get();
}
inline void Row::_internal_set_rowid(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- rowid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void Row::set_rowid(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- rowid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.Row.rowId)
-}
-inline void Row::set_rowid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- rowid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.Row.rowId)
-}
-inline void Row::set_rowid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- rowid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.Row.rowId)
+ rowid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* Row::_internal_mutable_rowid() {
_has_bits_[0] |= 0x00000004u;
- return rowid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return rowid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* Row::release_rowid() {
// @@protoc_insertion_point(field_release:proto.Row.rowId)
@@ -43253,7 +41392,7 @@ inline std::string* Row::release_rowid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return rowid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return rowid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void Row::set_allocated_rowid(std::string* rowid) {
if (rowid != nullptr) {
@@ -43262,7 +41401,7 @@ inline void Row::set_allocated_rowid(std::string* rowid) {
_has_bits_[0] &= ~0x00000004u;
}
rowid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), rowid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.Row.rowId)
}
@@ -43286,43 +41425,28 @@ inline const std::string& Section::title() const {
// @@protoc_insertion_point(field_get:proto.Section.title)
return _internal_title();
}
-inline void Section::set_title(const std::string& value) {
- _internal_set_title(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void Section::set_title(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Section.title)
}
inline std::string* Section::mutable_title() {
+ std::string* _s = _internal_mutable_title();
// @@protoc_insertion_point(field_mutable:proto.Section.title)
- return _internal_mutable_title();
+ return _s;
}
inline const std::string& Section::_internal_title() const {
return title_.Get();
}
inline void Section::_internal_set_title(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void Section::set_title(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- title_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.Section.title)
-}
-inline void Section::set_title(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.Section.title)
-}
-inline void Section::set_title(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.Section.title)
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* Section::_internal_mutable_title() {
_has_bits_[0] |= 0x00000001u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* Section::release_title() {
// @@protoc_insertion_point(field_release:proto.Section.title)
@@ -43330,7 +41454,7 @@ inline std::string* Section::release_title() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void Section::set_allocated_title(std::string* title) {
if (title != nullptr) {
@@ -43339,7 +41463,7 @@ inline void Section::set_allocated_title(std::string* title) {
_has_bits_[0] &= ~0x00000001u;
}
title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.Section.title)
}
@@ -43373,8 +41497,9 @@ inline ::proto::Row* Section::_internal_add_rows() {
return rows_.Add();
}
inline ::proto::Row* Section::add_rows() {
+ ::proto::Row* _add = _internal_add_rows();
// @@protoc_insertion_point(field_add:proto.Section.rows)
- return _internal_add_rows();
+ return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Row >&
Section::rows() const {
@@ -43402,43 +41527,28 @@ inline const std::string& ListMessage::title() const {
// @@protoc_insertion_point(field_get:proto.ListMessage.title)
return _internal_title();
}
-inline void ListMessage::set_title(const std::string& value) {
- _internal_set_title(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ListMessage::set_title(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ListMessage.title)
}
inline std::string* ListMessage::mutable_title() {
+ std::string* _s = _internal_mutable_title();
// @@protoc_insertion_point(field_mutable:proto.ListMessage.title)
- return _internal_mutable_title();
+ return _s;
}
inline const std::string& ListMessage::_internal_title() const {
return title_.Get();
}
inline void ListMessage::_internal_set_title(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ListMessage::set_title(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- title_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ListMessage.title)
-}
-inline void ListMessage::set_title(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ListMessage.title)
-}
-inline void ListMessage::set_title(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ListMessage.title)
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ListMessage::_internal_mutable_title() {
_has_bits_[0] |= 0x00000001u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ListMessage::release_title() {
// @@protoc_insertion_point(field_release:proto.ListMessage.title)
@@ -43446,7 +41556,7 @@ inline std::string* ListMessage::release_title() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ListMessage::set_allocated_title(std::string* title) {
if (title != nullptr) {
@@ -43455,7 +41565,7 @@ inline void ListMessage::set_allocated_title(std::string* title) {
_has_bits_[0] &= ~0x00000001u;
}
title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ListMessage.title)
}
@@ -43475,43 +41585,28 @@ inline const std::string& ListMessage::description() const {
// @@protoc_insertion_point(field_get:proto.ListMessage.description)
return _internal_description();
}
-inline void ListMessage::set_description(const std::string& value) {
- _internal_set_description(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ListMessage::set_description(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ListMessage.description)
}
inline std::string* ListMessage::mutable_description() {
+ std::string* _s = _internal_mutable_description();
// @@protoc_insertion_point(field_mutable:proto.ListMessage.description)
- return _internal_mutable_description();
+ return _s;
}
inline const std::string& ListMessage::_internal_description() const {
return description_.Get();
}
inline void ListMessage::_internal_set_description(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ListMessage::set_description(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- description_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ListMessage.description)
-}
-inline void ListMessage::set_description(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ListMessage.description)
-}
-inline void ListMessage::set_description(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ListMessage.description)
+ description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ListMessage::_internal_mutable_description() {
_has_bits_[0] |= 0x00000002u;
- return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ListMessage::release_description() {
// @@protoc_insertion_point(field_release:proto.ListMessage.description)
@@ -43519,7 +41614,7 @@ inline std::string* ListMessage::release_description() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ListMessage::set_allocated_description(std::string* description) {
if (description != nullptr) {
@@ -43528,7 +41623,7 @@ inline void ListMessage::set_allocated_description(std::string* description) {
_has_bits_[0] &= ~0x00000002u;
}
description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ListMessage.description)
}
@@ -43548,43 +41643,28 @@ inline const std::string& ListMessage::buttontext() const {
// @@protoc_insertion_point(field_get:proto.ListMessage.buttonText)
return _internal_buttontext();
}
-inline void ListMessage::set_buttontext(const std::string& value) {
- _internal_set_buttontext(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ListMessage::set_buttontext(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ buttontext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ListMessage.buttonText)
}
inline std::string* ListMessage::mutable_buttontext() {
+ std::string* _s = _internal_mutable_buttontext();
// @@protoc_insertion_point(field_mutable:proto.ListMessage.buttonText)
- return _internal_mutable_buttontext();
+ return _s;
}
inline const std::string& ListMessage::_internal_buttontext() const {
return buttontext_.Get();
}
inline void ListMessage::_internal_set_buttontext(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- buttontext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ListMessage::set_buttontext(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- buttontext_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ListMessage.buttonText)
-}
-inline void ListMessage::set_buttontext(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- buttontext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ListMessage.buttonText)
-}
-inline void ListMessage::set_buttontext(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- buttontext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ListMessage.buttonText)
+ buttontext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ListMessage::_internal_mutable_buttontext() {
_has_bits_[0] |= 0x00000004u;
- return buttontext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return buttontext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ListMessage::release_buttontext() {
// @@protoc_insertion_point(field_release:proto.ListMessage.buttonText)
@@ -43592,7 +41672,7 @@ inline std::string* ListMessage::release_buttontext() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return buttontext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return buttontext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ListMessage::set_allocated_buttontext(std::string* buttontext) {
if (buttontext != nullptr) {
@@ -43601,7 +41681,7 @@ inline void ListMessage::set_allocated_buttontext(std::string* buttontext) {
_has_bits_[0] &= ~0x00000004u;
}
buttontext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), buttontext,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ListMessage.buttonText)
}
@@ -43664,8 +41744,9 @@ inline ::proto::Section* ListMessage::_internal_add_sections() {
return sections_.Add();
}
inline ::proto::Section* ListMessage::add_sections() {
+ ::proto::Section* _add = _internal_add_sections();
// @@protoc_insertion_point(field_add:proto.ListMessage.sections)
- return _internal_add_sections();
+ return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Section >&
ListMessage::sections() const {
@@ -43693,43 +41774,28 @@ inline const std::string& SingleSelectReply::selectedrowid() const {
// @@protoc_insertion_point(field_get:proto.SingleSelectReply.selectedRowId)
return _internal_selectedrowid();
}
-inline void SingleSelectReply::set_selectedrowid(const std::string& value) {
- _internal_set_selectedrowid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void SingleSelectReply::set_selectedrowid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ selectedrowid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.SingleSelectReply.selectedRowId)
}
inline std::string* SingleSelectReply::mutable_selectedrowid() {
+ std::string* _s = _internal_mutable_selectedrowid();
// @@protoc_insertion_point(field_mutable:proto.SingleSelectReply.selectedRowId)
- return _internal_mutable_selectedrowid();
+ return _s;
}
inline const std::string& SingleSelectReply::_internal_selectedrowid() const {
return selectedrowid_.Get();
}
inline void SingleSelectReply::_internal_set_selectedrowid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- selectedrowid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void SingleSelectReply::set_selectedrowid(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- selectedrowid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.SingleSelectReply.selectedRowId)
-}
-inline void SingleSelectReply::set_selectedrowid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- selectedrowid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.SingleSelectReply.selectedRowId)
-}
-inline void SingleSelectReply::set_selectedrowid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- selectedrowid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.SingleSelectReply.selectedRowId)
+ selectedrowid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* SingleSelectReply::_internal_mutable_selectedrowid() {
_has_bits_[0] |= 0x00000001u;
- return selectedrowid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return selectedrowid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* SingleSelectReply::release_selectedrowid() {
// @@protoc_insertion_point(field_release:proto.SingleSelectReply.selectedRowId)
@@ -43737,7 +41803,7 @@ inline std::string* SingleSelectReply::release_selectedrowid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return selectedrowid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return selectedrowid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void SingleSelectReply::set_allocated_selectedrowid(std::string* selectedrowid) {
if (selectedrowid != nullptr) {
@@ -43746,7 +41812,7 @@ inline void SingleSelectReply::set_allocated_selectedrowid(std::string* selected
_has_bits_[0] &= ~0x00000001u;
}
selectedrowid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), selectedrowid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.SingleSelectReply.selectedRowId)
}
@@ -43770,43 +41836,28 @@ inline const std::string& ListResponseMessage::title() const {
// @@protoc_insertion_point(field_get:proto.ListResponseMessage.title)
return _internal_title();
}
-inline void ListResponseMessage::set_title(const std::string& value) {
- _internal_set_title(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ListResponseMessage::set_title(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ListResponseMessage.title)
}
inline std::string* ListResponseMessage::mutable_title() {
+ std::string* _s = _internal_mutable_title();
// @@protoc_insertion_point(field_mutable:proto.ListResponseMessage.title)
- return _internal_mutable_title();
+ return _s;
}
inline const std::string& ListResponseMessage::_internal_title() const {
return title_.Get();
}
inline void ListResponseMessage::_internal_set_title(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ListResponseMessage::set_title(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- title_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ListResponseMessage.title)
-}
-inline void ListResponseMessage::set_title(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ListResponseMessage.title)
-}
-inline void ListResponseMessage::set_title(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ListResponseMessage.title)
+ title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ListResponseMessage::_internal_mutable_title() {
_has_bits_[0] |= 0x00000001u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ListResponseMessage::release_title() {
// @@protoc_insertion_point(field_release:proto.ListResponseMessage.title)
@@ -43814,7 +41865,7 @@ inline std::string* ListResponseMessage::release_title() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ListResponseMessage::set_allocated_title(std::string* title) {
if (title != nullptr) {
@@ -43823,7 +41874,7 @@ inline void ListResponseMessage::set_allocated_title(std::string* title) {
_has_bits_[0] &= ~0x00000001u;
}
title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ListResponseMessage.title)
}
@@ -43880,7 +41931,7 @@ inline const ::proto::SingleSelectReply& ListResponseMessage::singleselectreply(
}
inline void ListResponseMessage::unsafe_arena_set_allocated_singleselectreply(
::proto::SingleSelectReply* singleselectreply) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(singleselectreply_);
}
singleselectreply_ = singleselectreply;
@@ -43895,9 +41946,15 @@ inline ::proto::SingleSelectReply* ListResponseMessage::release_singleselectrepl
_has_bits_[0] &= ~0x00000004u;
::proto::SingleSelectReply* temp = singleselectreply_;
singleselectreply_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::SingleSelectReply* ListResponseMessage::unsafe_arena_release_singleselectreply() {
@@ -43910,23 +41967,24 @@ inline ::proto::SingleSelectReply* ListResponseMessage::unsafe_arena_release_sin
inline ::proto::SingleSelectReply* ListResponseMessage::_internal_mutable_singleselectreply() {
_has_bits_[0] |= 0x00000004u;
if (singleselectreply_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::SingleSelectReply>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::SingleSelectReply>(GetArenaForAllocation());
singleselectreply_ = p;
}
return singleselectreply_;
}
inline ::proto::SingleSelectReply* ListResponseMessage::mutable_singleselectreply() {
+ ::proto::SingleSelectReply* _msg = _internal_mutable_singleselectreply();
// @@protoc_insertion_point(field_mutable:proto.ListResponseMessage.singleSelectReply)
- return _internal_mutable_singleselectreply();
+ return _msg;
}
inline void ListResponseMessage::set_allocated_singleselectreply(::proto::SingleSelectReply* singleselectreply) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete singleselectreply_;
}
if (singleselectreply) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(singleselectreply);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::SingleSelectReply>::GetOwningArena(singleselectreply);
if (message_arena != submessage_arena) {
singleselectreply = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, singleselectreply, submessage_arena);
@@ -43963,7 +42021,7 @@ inline const ::proto::ContextInfo& ListResponseMessage::contextinfo() const {
}
inline void ListResponseMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -43978,9 +42036,15 @@ inline ::proto::ContextInfo* ListResponseMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00000008u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* ListResponseMessage::unsafe_arena_release_contextinfo() {
@@ -43993,23 +42057,24 @@ inline ::proto::ContextInfo* ListResponseMessage::unsafe_arena_release_contextin
inline ::proto::ContextInfo* ListResponseMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00000008u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* ListResponseMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.ListResponseMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void ListResponseMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -44038,43 +42103,28 @@ inline const std::string& ListResponseMessage::description() const {
// @@protoc_insertion_point(field_get:proto.ListResponseMessage.description)
return _internal_description();
}
-inline void ListResponseMessage::set_description(const std::string& value) {
- _internal_set_description(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ListResponseMessage::set_description(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ListResponseMessage.description)
}
inline std::string* ListResponseMessage::mutable_description() {
+ std::string* _s = _internal_mutable_description();
// @@protoc_insertion_point(field_mutable:proto.ListResponseMessage.description)
- return _internal_mutable_description();
+ return _s;
}
inline const std::string& ListResponseMessage::_internal_description() const {
return description_.Get();
}
inline void ListResponseMessage::_internal_set_description(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ListResponseMessage::set_description(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- description_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ListResponseMessage.description)
-}
-inline void ListResponseMessage::set_description(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ListResponseMessage.description)
-}
-inline void ListResponseMessage::set_description(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ListResponseMessage.description)
+ description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ListResponseMessage::_internal_mutable_description() {
_has_bits_[0] |= 0x00000002u;
- return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ListResponseMessage::release_description() {
// @@protoc_insertion_point(field_release:proto.ListResponseMessage.description)
@@ -44082,7 +42132,7 @@ inline std::string* ListResponseMessage::release_description() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ListResponseMessage::set_allocated_description(std::string* description) {
if (description != nullptr) {
@@ -44091,7 +42141,7 @@ inline void ListResponseMessage::set_allocated_description(std::string* descript
_has_bits_[0] &= ~0x00000002u;
}
description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ListResponseMessage.description)
}
@@ -44115,43 +42165,28 @@ inline const std::string& GroupInviteMessage::groupjid() const {
// @@protoc_insertion_point(field_get:proto.GroupInviteMessage.groupJid)
return _internal_groupjid();
}
-inline void GroupInviteMessage::set_groupjid(const std::string& value) {
- _internal_set_groupjid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void GroupInviteMessage::set_groupjid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ groupjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.GroupInviteMessage.groupJid)
}
inline std::string* GroupInviteMessage::mutable_groupjid() {
+ std::string* _s = _internal_mutable_groupjid();
// @@protoc_insertion_point(field_mutable:proto.GroupInviteMessage.groupJid)
- return _internal_mutable_groupjid();
+ return _s;
}
inline const std::string& GroupInviteMessage::_internal_groupjid() const {
return groupjid_.Get();
}
inline void GroupInviteMessage::_internal_set_groupjid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- groupjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void GroupInviteMessage::set_groupjid(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- groupjid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.GroupInviteMessage.groupJid)
-}
-inline void GroupInviteMessage::set_groupjid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- groupjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.GroupInviteMessage.groupJid)
-}
-inline void GroupInviteMessage::set_groupjid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- groupjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.GroupInviteMessage.groupJid)
+ groupjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::_internal_mutable_groupjid() {
_has_bits_[0] |= 0x00000001u;
- return groupjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return groupjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::release_groupjid() {
// @@protoc_insertion_point(field_release:proto.GroupInviteMessage.groupJid)
@@ -44159,7 +42194,7 @@ inline std::string* GroupInviteMessage::release_groupjid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return groupjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return groupjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void GroupInviteMessage::set_allocated_groupjid(std::string* groupjid) {
if (groupjid != nullptr) {
@@ -44168,7 +42203,7 @@ inline void GroupInviteMessage::set_allocated_groupjid(std::string* groupjid) {
_has_bits_[0] &= ~0x00000001u;
}
groupjid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), groupjid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.GroupInviteMessage.groupJid)
}
@@ -44188,43 +42223,28 @@ inline const std::string& GroupInviteMessage::invitecode() const {
// @@protoc_insertion_point(field_get:proto.GroupInviteMessage.inviteCode)
return _internal_invitecode();
}
-inline void GroupInviteMessage::set_invitecode(const std::string& value) {
- _internal_set_invitecode(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void GroupInviteMessage::set_invitecode(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ invitecode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.GroupInviteMessage.inviteCode)
}
inline std::string* GroupInviteMessage::mutable_invitecode() {
+ std::string* _s = _internal_mutable_invitecode();
// @@protoc_insertion_point(field_mutable:proto.GroupInviteMessage.inviteCode)
- return _internal_mutable_invitecode();
+ return _s;
}
inline const std::string& GroupInviteMessage::_internal_invitecode() const {
return invitecode_.Get();
}
inline void GroupInviteMessage::_internal_set_invitecode(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- invitecode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void GroupInviteMessage::set_invitecode(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- invitecode_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.GroupInviteMessage.inviteCode)
-}
-inline void GroupInviteMessage::set_invitecode(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- invitecode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.GroupInviteMessage.inviteCode)
-}
-inline void GroupInviteMessage::set_invitecode(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- invitecode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.GroupInviteMessage.inviteCode)
+ invitecode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::_internal_mutable_invitecode() {
_has_bits_[0] |= 0x00000002u;
- return invitecode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return invitecode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::release_invitecode() {
// @@protoc_insertion_point(field_release:proto.GroupInviteMessage.inviteCode)
@@ -44232,7 +42252,7 @@ inline std::string* GroupInviteMessage::release_invitecode() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return invitecode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return invitecode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void GroupInviteMessage::set_allocated_invitecode(std::string* invitecode) {
if (invitecode != nullptr) {
@@ -44241,7 +42261,7 @@ inline void GroupInviteMessage::set_allocated_invitecode(std::string* invitecode
_has_bits_[0] &= ~0x00000002u;
}
invitecode_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), invitecode,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.GroupInviteMessage.inviteCode)
}
@@ -44254,7 +42274,7 @@ inline bool GroupInviteMessage::has_inviteexpiration() const {
return _internal_has_inviteexpiration();
}
inline void GroupInviteMessage::clear_inviteexpiration() {
- inviteexpiration_ = PROTOBUF_LONGLONG(0);
+ inviteexpiration_ = int64_t{0};
_has_bits_[0] &= ~0x00000040u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 GroupInviteMessage::_internal_inviteexpiration() const {
@@ -44289,43 +42309,28 @@ inline const std::string& GroupInviteMessage::groupname() const {
// @@protoc_insertion_point(field_get:proto.GroupInviteMessage.groupName)
return _internal_groupname();
}
-inline void GroupInviteMessage::set_groupname(const std::string& value) {
- _internal_set_groupname(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void GroupInviteMessage::set_groupname(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ groupname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.GroupInviteMessage.groupName)
}
inline std::string* GroupInviteMessage::mutable_groupname() {
+ std::string* _s = _internal_mutable_groupname();
// @@protoc_insertion_point(field_mutable:proto.GroupInviteMessage.groupName)
- return _internal_mutable_groupname();
+ return _s;
}
inline const std::string& GroupInviteMessage::_internal_groupname() const {
return groupname_.Get();
}
inline void GroupInviteMessage::_internal_set_groupname(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- groupname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void GroupInviteMessage::set_groupname(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- groupname_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.GroupInviteMessage.groupName)
-}
-inline void GroupInviteMessage::set_groupname(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- groupname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.GroupInviteMessage.groupName)
-}
-inline void GroupInviteMessage::set_groupname(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- groupname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.GroupInviteMessage.groupName)
+ groupname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::_internal_mutable_groupname() {
_has_bits_[0] |= 0x00000004u;
- return groupname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return groupname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::release_groupname() {
// @@protoc_insertion_point(field_release:proto.GroupInviteMessage.groupName)
@@ -44333,7 +42338,7 @@ inline std::string* GroupInviteMessage::release_groupname() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return groupname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return groupname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void GroupInviteMessage::set_allocated_groupname(std::string* groupname) {
if (groupname != nullptr) {
@@ -44342,7 +42347,7 @@ inline void GroupInviteMessage::set_allocated_groupname(std::string* groupname)
_has_bits_[0] &= ~0x00000004u;
}
groupname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), groupname,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.GroupInviteMessage.groupName)
}
@@ -44362,43 +42367,28 @@ inline const std::string& GroupInviteMessage::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.GroupInviteMessage.jpegThumbnail)
return _internal_jpegthumbnail();
}
-inline void GroupInviteMessage::set_jpegthumbnail(const std::string& value) {
- _internal_set_jpegthumbnail(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void GroupInviteMessage::set_jpegthumbnail(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ jpegthumbnail_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.GroupInviteMessage.jpegThumbnail)
}
inline std::string* GroupInviteMessage::mutable_jpegthumbnail() {
+ std::string* _s = _internal_mutable_jpegthumbnail();
// @@protoc_insertion_point(field_mutable:proto.GroupInviteMessage.jpegThumbnail)
- return _internal_mutable_jpegthumbnail();
+ return _s;
}
inline const std::string& GroupInviteMessage::_internal_jpegthumbnail() const {
return jpegthumbnail_.Get();
}
inline void GroupInviteMessage::_internal_set_jpegthumbnail(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void GroupInviteMessage::set_jpegthumbnail(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- jpegthumbnail_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.GroupInviteMessage.jpegThumbnail)
-}
-inline void GroupInviteMessage::set_jpegthumbnail(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.GroupInviteMessage.jpegThumbnail)
-}
-inline void GroupInviteMessage::set_jpegthumbnail(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.GroupInviteMessage.jpegThumbnail)
+ jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::_internal_mutable_jpegthumbnail() {
_has_bits_[0] |= 0x00000008u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.GroupInviteMessage.jpegThumbnail)
@@ -44406,7 +42396,7 @@ inline std::string* GroupInviteMessage::release_jpegthumbnail() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void GroupInviteMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
@@ -44415,7 +42405,7 @@ inline void GroupInviteMessage::set_allocated_jpegthumbnail(std::string* jpegthu
_has_bits_[0] &= ~0x00000008u;
}
jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.GroupInviteMessage.jpegThumbnail)
}
@@ -44435,43 +42425,28 @@ inline const std::string& GroupInviteMessage::caption() const {
// @@protoc_insertion_point(field_get:proto.GroupInviteMessage.caption)
return _internal_caption();
}
-inline void GroupInviteMessage::set_caption(const std::string& value) {
- _internal_set_caption(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void GroupInviteMessage::set_caption(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000010u;
+ caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.GroupInviteMessage.caption)
}
inline std::string* GroupInviteMessage::mutable_caption() {
+ std::string* _s = _internal_mutable_caption();
// @@protoc_insertion_point(field_mutable:proto.GroupInviteMessage.caption)
- return _internal_mutable_caption();
+ return _s;
}
inline const std::string& GroupInviteMessage::_internal_caption() const {
return caption_.Get();
}
inline void GroupInviteMessage::_internal_set_caption(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void GroupInviteMessage::set_caption(std::string&& value) {
- _has_bits_[0] |= 0x00000010u;
- caption_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.GroupInviteMessage.caption)
-}
-inline void GroupInviteMessage::set_caption(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000010u;
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.GroupInviteMessage.caption)
-}
-inline void GroupInviteMessage::set_caption(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000010u;
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.GroupInviteMessage.caption)
+ caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::_internal_mutable_caption() {
_has_bits_[0] |= 0x00000010u;
- return caption_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return caption_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::release_caption() {
// @@protoc_insertion_point(field_release:proto.GroupInviteMessage.caption)
@@ -44479,7 +42454,7 @@ inline std::string* GroupInviteMessage::release_caption() {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
- return caption_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return caption_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void GroupInviteMessage::set_allocated_caption(std::string* caption) {
if (caption != nullptr) {
@@ -44488,7 +42463,7 @@ inline void GroupInviteMessage::set_allocated_caption(std::string* caption) {
_has_bits_[0] &= ~0x00000010u;
}
caption_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), caption,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.GroupInviteMessage.caption)
}
@@ -44516,7 +42491,7 @@ inline const ::proto::ContextInfo& GroupInviteMessage::contextinfo() const {
}
inline void GroupInviteMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -44531,9 +42506,15 @@ inline ::proto::ContextInfo* GroupInviteMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00000020u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* GroupInviteMessage::unsafe_arena_release_contextinfo() {
@@ -44546,23 +42527,24 @@ inline ::proto::ContextInfo* GroupInviteMessage::unsafe_arena_release_contextinf
inline ::proto::ContextInfo* GroupInviteMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00000020u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* GroupInviteMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.GroupInviteMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void GroupInviteMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -44595,43 +42577,28 @@ inline const std::string& EphemeralSetting::chatjid() const {
// @@protoc_insertion_point(field_get:proto.EphemeralSetting.chatJid)
return _internal_chatjid();
}
-inline void EphemeralSetting::set_chatjid(const std::string& value) {
- _internal_set_chatjid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void EphemeralSetting::set_chatjid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ chatjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.EphemeralSetting.chatJid)
}
inline std::string* EphemeralSetting::mutable_chatjid() {
+ std::string* _s = _internal_mutable_chatjid();
// @@protoc_insertion_point(field_mutable:proto.EphemeralSetting.chatJid)
- return _internal_mutable_chatjid();
+ return _s;
}
inline const std::string& EphemeralSetting::_internal_chatjid() const {
return chatjid_.Get();
}
inline void EphemeralSetting::_internal_set_chatjid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- chatjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void EphemeralSetting::set_chatjid(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- chatjid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.EphemeralSetting.chatJid)
-}
-inline void EphemeralSetting::set_chatjid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- chatjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.EphemeralSetting.chatJid)
-}
-inline void EphemeralSetting::set_chatjid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- chatjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.EphemeralSetting.chatJid)
+ chatjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* EphemeralSetting::_internal_mutable_chatjid() {
_has_bits_[0] |= 0x00000001u;
- return chatjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return chatjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* EphemeralSetting::release_chatjid() {
// @@protoc_insertion_point(field_release:proto.EphemeralSetting.chatJid)
@@ -44639,7 +42606,7 @@ inline std::string* EphemeralSetting::release_chatjid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return chatjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return chatjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void EphemeralSetting::set_allocated_chatjid(std::string* chatjid) {
if (chatjid != nullptr) {
@@ -44648,7 +42615,7 @@ inline void EphemeralSetting::set_allocated_chatjid(std::string* chatjid) {
_has_bits_[0] &= ~0x00000001u;
}
chatjid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), chatjid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.EphemeralSetting.chatJid)
}
@@ -44689,7 +42656,7 @@ inline bool EphemeralSetting::has_ephemeralsettingtimestamp() const {
return _internal_has_ephemeralsettingtimestamp();
}
inline void EphemeralSetting::clear_ephemeralsettingtimestamp() {
- ephemeralsettingtimestamp_ = PROTOBUF_LONGLONG(0);
+ ephemeralsettingtimestamp_ = int64_t{0};
_has_bits_[0] &= ~0x00000002u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 EphemeralSetting::_internal_ephemeralsettingtimestamp() const {
@@ -44728,43 +42695,28 @@ inline const std::string& DeviceSentMessage::destinationjid() const {
// @@protoc_insertion_point(field_get:proto.DeviceSentMessage.destinationJid)
return _internal_destinationjid();
}
-inline void DeviceSentMessage::set_destinationjid(const std::string& value) {
- _internal_set_destinationjid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DeviceSentMessage::set_destinationjid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ destinationjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DeviceSentMessage.destinationJid)
}
inline std::string* DeviceSentMessage::mutable_destinationjid() {
+ std::string* _s = _internal_mutable_destinationjid();
// @@protoc_insertion_point(field_mutable:proto.DeviceSentMessage.destinationJid)
- return _internal_mutable_destinationjid();
+ return _s;
}
inline const std::string& DeviceSentMessage::_internal_destinationjid() const {
return destinationjid_.Get();
}
inline void DeviceSentMessage::_internal_set_destinationjid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- destinationjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DeviceSentMessage::set_destinationjid(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- destinationjid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DeviceSentMessage.destinationJid)
-}
-inline void DeviceSentMessage::set_destinationjid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- destinationjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DeviceSentMessage.destinationJid)
-}
-inline void DeviceSentMessage::set_destinationjid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- destinationjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DeviceSentMessage.destinationJid)
+ destinationjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DeviceSentMessage::_internal_mutable_destinationjid() {
_has_bits_[0] |= 0x00000001u;
- return destinationjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return destinationjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DeviceSentMessage::release_destinationjid() {
// @@protoc_insertion_point(field_release:proto.DeviceSentMessage.destinationJid)
@@ -44772,7 +42724,7 @@ inline std::string* DeviceSentMessage::release_destinationjid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return destinationjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return destinationjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DeviceSentMessage::set_allocated_destinationjid(std::string* destinationjid) {
if (destinationjid != nullptr) {
@@ -44781,7 +42733,7 @@ inline void DeviceSentMessage::set_allocated_destinationjid(std::string* destina
_has_bits_[0] &= ~0x00000001u;
}
destinationjid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), destinationjid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DeviceSentMessage.destinationJid)
}
@@ -44809,7 +42761,7 @@ inline const ::proto::Message& DeviceSentMessage::message() const {
}
inline void DeviceSentMessage::unsafe_arena_set_allocated_message(
::proto::Message* message) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(message_);
}
message_ = message;
@@ -44824,9 +42776,15 @@ inline ::proto::Message* DeviceSentMessage::release_message() {
_has_bits_[0] &= ~0x00000004u;
::proto::Message* temp = message_;
message_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::Message* DeviceSentMessage::unsafe_arena_release_message() {
@@ -44839,23 +42797,24 @@ inline ::proto::Message* DeviceSentMessage::unsafe_arena_release_message() {
inline ::proto::Message* DeviceSentMessage::_internal_mutable_message() {
_has_bits_[0] |= 0x00000004u;
if (message_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::Message>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::Message>(GetArenaForAllocation());
message_ = p;
}
return message_;
}
inline ::proto::Message* DeviceSentMessage::mutable_message() {
+ ::proto::Message* _msg = _internal_mutable_message();
// @@protoc_insertion_point(field_mutable:proto.DeviceSentMessage.message)
- return _internal_mutable_message();
+ return _msg;
}
inline void DeviceSentMessage::set_allocated_message(::proto::Message* message) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete message_;
}
if (message) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(message);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Message>::GetOwningArena(message);
if (message_arena != submessage_arena) {
message = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, message, submessage_arena);
@@ -44884,43 +42843,28 @@ inline const std::string& DeviceSentMessage::phash() const {
// @@protoc_insertion_point(field_get:proto.DeviceSentMessage.phash)
return _internal_phash();
}
-inline void DeviceSentMessage::set_phash(const std::string& value) {
- _internal_set_phash(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void DeviceSentMessage::set_phash(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ phash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DeviceSentMessage.phash)
}
inline std::string* DeviceSentMessage::mutable_phash() {
+ std::string* _s = _internal_mutable_phash();
// @@protoc_insertion_point(field_mutable:proto.DeviceSentMessage.phash)
- return _internal_mutable_phash();
+ return _s;
}
inline const std::string& DeviceSentMessage::_internal_phash() const {
return phash_.Get();
}
inline void DeviceSentMessage::_internal_set_phash(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- phash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void DeviceSentMessage::set_phash(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- phash_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.DeviceSentMessage.phash)
-}
-inline void DeviceSentMessage::set_phash(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- phash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.DeviceSentMessage.phash)
-}
-inline void DeviceSentMessage::set_phash(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- phash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.DeviceSentMessage.phash)
+ phash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* DeviceSentMessage::_internal_mutable_phash() {
_has_bits_[0] |= 0x00000002u;
- return phash_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return phash_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* DeviceSentMessage::release_phash() {
// @@protoc_insertion_point(field_release:proto.DeviceSentMessage.phash)
@@ -44928,7 +42872,7 @@ inline std::string* DeviceSentMessage::release_phash() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return phash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return phash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void DeviceSentMessage::set_allocated_phash(std::string* phash) {
if (phash != nullptr) {
@@ -44937,7 +42881,7 @@ inline void DeviceSentMessage::set_allocated_phash(std::string* phash) {
_has_bits_[0] &= ~0x00000002u;
}
phash_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), phash,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.DeviceSentMessage.phash)
}
@@ -44971,8 +42915,9 @@ inline ::proto::EphemeralSetting* DeviceSentMessage::_internal_add_broadcastephe
return broadcastephemeralsettings_.Add();
}
inline ::proto::EphemeralSetting* DeviceSentMessage::add_broadcastephemeralsettings() {
+ ::proto::EphemeralSetting* _add = _internal_add_broadcastephemeralsettings();
// @@protoc_insertion_point(field_add:proto.DeviceSentMessage.broadcastEphemeralSettings)
- return _internal_add_broadcastephemeralsettings();
+ return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::EphemeralSetting >&
DeviceSentMessage::broadcastephemeralsettings() const {
@@ -45008,7 +42953,7 @@ inline const ::proto::Message& FutureProofMessage::message() const {
}
inline void FutureProofMessage::unsafe_arena_set_allocated_message(
::proto::Message* message) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(message_);
}
message_ = message;
@@ -45023,9 +42968,15 @@ inline ::proto::Message* FutureProofMessage::release_message() {
_has_bits_[0] &= ~0x00000001u;
::proto::Message* temp = message_;
message_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::Message* FutureProofMessage::unsafe_arena_release_message() {
@@ -45038,23 +42989,24 @@ inline ::proto::Message* FutureProofMessage::unsafe_arena_release_message() {
inline ::proto::Message* FutureProofMessage::_internal_mutable_message() {
_has_bits_[0] |= 0x00000001u;
if (message_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::Message>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::Message>(GetArenaForAllocation());
message_ = p;
}
return message_;
}
inline ::proto::Message* FutureProofMessage::mutable_message() {
+ ::proto::Message* _msg = _internal_mutable_message();
// @@protoc_insertion_point(field_mutable:proto.FutureProofMessage.message)
- return _internal_mutable_message();
+ return _msg;
}
inline void FutureProofMessage::set_allocated_message(::proto::Message* message) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete message_;
}
if (message) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(message);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Message>::GetOwningArena(message);
if (message_arena != submessage_arena) {
message = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, message, submessage_arena);
@@ -45087,43 +43039,28 @@ inline const std::string& ButtonText::displaytext() const {
// @@protoc_insertion_point(field_get:proto.ButtonText.displayText)
return _internal_displaytext();
}
-inline void ButtonText::set_displaytext(const std::string& value) {
- _internal_set_displaytext(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ButtonText::set_displaytext(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ButtonText.displayText)
}
inline std::string* ButtonText::mutable_displaytext() {
+ std::string* _s = _internal_mutable_displaytext();
// @@protoc_insertion_point(field_mutable:proto.ButtonText.displayText)
- return _internal_mutable_displaytext();
+ return _s;
}
inline const std::string& ButtonText::_internal_displaytext() const {
return displaytext_.Get();
}
inline void ButtonText::_internal_set_displaytext(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ButtonText::set_displaytext(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- displaytext_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ButtonText.displayText)
-}
-inline void ButtonText::set_displaytext(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ButtonText.displayText)
-}
-inline void ButtonText::set_displaytext(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ButtonText.displayText)
+ displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ButtonText::_internal_mutable_displaytext() {
_has_bits_[0] |= 0x00000001u;
- return displaytext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return displaytext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ButtonText::release_displaytext() {
// @@protoc_insertion_point(field_release:proto.ButtonText.displayText)
@@ -45131,7 +43068,7 @@ inline std::string* ButtonText::release_displaytext() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return displaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return displaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ButtonText::set_allocated_displaytext(std::string* displaytext) {
if (displaytext != nullptr) {
@@ -45140,7 +43077,7 @@ inline void ButtonText::set_allocated_displaytext(std::string* displaytext) {
_has_bits_[0] &= ~0x00000001u;
}
displaytext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), displaytext,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ButtonText.displayText)
}
@@ -45164,43 +43101,28 @@ inline const std::string& Button::buttonid() const {
// @@protoc_insertion_point(field_get:proto.Button.buttonId)
return _internal_buttonid();
}
-inline void Button::set_buttonid(const std::string& value) {
- _internal_set_buttonid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void Button::set_buttonid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ buttonid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Button.buttonId)
}
inline std::string* Button::mutable_buttonid() {
+ std::string* _s = _internal_mutable_buttonid();
// @@protoc_insertion_point(field_mutable:proto.Button.buttonId)
- return _internal_mutable_buttonid();
+ return _s;
}
inline const std::string& Button::_internal_buttonid() const {
return buttonid_.Get();
}
inline void Button::_internal_set_buttonid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- buttonid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void Button::set_buttonid(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- buttonid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.Button.buttonId)
-}
-inline void Button::set_buttonid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- buttonid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.Button.buttonId)
-}
-inline void Button::set_buttonid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- buttonid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.Button.buttonId)
+ buttonid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* Button::_internal_mutable_buttonid() {
_has_bits_[0] |= 0x00000001u;
- return buttonid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return buttonid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* Button::release_buttonid() {
// @@protoc_insertion_point(field_release:proto.Button.buttonId)
@@ -45208,7 +43130,7 @@ inline std::string* Button::release_buttonid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return buttonid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return buttonid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void Button::set_allocated_buttonid(std::string* buttonid) {
if (buttonid != nullptr) {
@@ -45217,7 +43139,7 @@ inline void Button::set_allocated_buttonid(std::string* buttonid) {
_has_bits_[0] &= ~0x00000001u;
}
buttonid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), buttonid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.Button.buttonId)
}
@@ -45245,7 +43167,7 @@ inline const ::proto::ButtonText& Button::buttontext() const {
}
inline void Button::unsafe_arena_set_allocated_buttontext(
::proto::ButtonText* buttontext) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(buttontext_);
}
buttontext_ = buttontext;
@@ -45260,9 +43182,15 @@ inline ::proto::ButtonText* Button::release_buttontext() {
_has_bits_[0] &= ~0x00000002u;
::proto::ButtonText* temp = buttontext_;
buttontext_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ButtonText* Button::unsafe_arena_release_buttontext() {
@@ -45275,23 +43203,24 @@ inline ::proto::ButtonText* Button::unsafe_arena_release_buttontext() {
inline ::proto::ButtonText* Button::_internal_mutable_buttontext() {
_has_bits_[0] |= 0x00000002u;
if (buttontext_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ButtonText>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ButtonText>(GetArenaForAllocation());
buttontext_ = p;
}
return buttontext_;
}
inline ::proto::ButtonText* Button::mutable_buttontext() {
+ ::proto::ButtonText* _msg = _internal_mutable_buttontext();
// @@protoc_insertion_point(field_mutable:proto.Button.buttonText)
- return _internal_mutable_buttontext();
+ return _msg;
}
inline void Button::set_allocated_buttontext(::proto::ButtonText* buttontext) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete buttontext_;
}
if (buttontext) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(buttontext);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ButtonText>::GetOwningArena(buttontext);
if (message_arena != submessage_arena) {
buttontext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, buttontext, submessage_arena);
@@ -45353,43 +43282,28 @@ inline const std::string& ButtonsMessage::contenttext() const {
// @@protoc_insertion_point(field_get:proto.ButtonsMessage.contentText)
return _internal_contenttext();
}
-inline void ButtonsMessage::set_contenttext(const std::string& value) {
- _internal_set_contenttext(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ButtonsMessage::set_contenttext(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ contenttext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ButtonsMessage.contentText)
}
inline std::string* ButtonsMessage::mutable_contenttext() {
+ std::string* _s = _internal_mutable_contenttext();
// @@protoc_insertion_point(field_mutable:proto.ButtonsMessage.contentText)
- return _internal_mutable_contenttext();
+ return _s;
}
inline const std::string& ButtonsMessage::_internal_contenttext() const {
return contenttext_.Get();
}
inline void ButtonsMessage::_internal_set_contenttext(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- contenttext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ButtonsMessage::set_contenttext(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- contenttext_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ButtonsMessage.contentText)
-}
-inline void ButtonsMessage::set_contenttext(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- contenttext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ButtonsMessage.contentText)
-}
-inline void ButtonsMessage::set_contenttext(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- contenttext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ButtonsMessage.contentText)
+ contenttext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ButtonsMessage::_internal_mutable_contenttext() {
_has_bits_[0] |= 0x00000001u;
- return contenttext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return contenttext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ButtonsMessage::release_contenttext() {
// @@protoc_insertion_point(field_release:proto.ButtonsMessage.contentText)
@@ -45397,7 +43311,7 @@ inline std::string* ButtonsMessage::release_contenttext() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return contenttext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return contenttext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ButtonsMessage::set_allocated_contenttext(std::string* contenttext) {
if (contenttext != nullptr) {
@@ -45406,7 +43320,7 @@ inline void ButtonsMessage::set_allocated_contenttext(std::string* contenttext)
_has_bits_[0] &= ~0x00000001u;
}
contenttext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), contenttext,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ButtonsMessage.contentText)
}
@@ -45426,43 +43340,28 @@ inline const std::string& ButtonsMessage::footertext() const {
// @@protoc_insertion_point(field_get:proto.ButtonsMessage.footerText)
return _internal_footertext();
}
-inline void ButtonsMessage::set_footertext(const std::string& value) {
- _internal_set_footertext(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ButtonsMessage::set_footertext(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ footertext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ButtonsMessage.footerText)
}
inline std::string* ButtonsMessage::mutable_footertext() {
+ std::string* _s = _internal_mutable_footertext();
// @@protoc_insertion_point(field_mutable:proto.ButtonsMessage.footerText)
- return _internal_mutable_footertext();
+ return _s;
}
inline const std::string& ButtonsMessage::_internal_footertext() const {
return footertext_.Get();
}
inline void ButtonsMessage::_internal_set_footertext(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- footertext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ButtonsMessage::set_footertext(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- footertext_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ButtonsMessage.footerText)
-}
-inline void ButtonsMessage::set_footertext(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- footertext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ButtonsMessage.footerText)
-}
-inline void ButtonsMessage::set_footertext(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- footertext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ButtonsMessage.footerText)
+ footertext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ButtonsMessage::_internal_mutable_footertext() {
_has_bits_[0] |= 0x00000002u;
- return footertext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return footertext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ButtonsMessage::release_footertext() {
// @@protoc_insertion_point(field_release:proto.ButtonsMessage.footerText)
@@ -45470,7 +43369,7 @@ inline std::string* ButtonsMessage::release_footertext() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return footertext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return footertext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ButtonsMessage::set_allocated_footertext(std::string* footertext) {
if (footertext != nullptr) {
@@ -45479,7 +43378,7 @@ inline void ButtonsMessage::set_allocated_footertext(std::string* footertext) {
_has_bits_[0] &= ~0x00000002u;
}
footertext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), footertext,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ButtonsMessage.footerText)
}
@@ -45507,7 +43406,7 @@ inline const ::proto::ContextInfo& ButtonsMessage::contextinfo() const {
}
inline void ButtonsMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -45522,9 +43421,15 @@ inline ::proto::ContextInfo* ButtonsMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00000004u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* ButtonsMessage::unsafe_arena_release_contextinfo() {
@@ -45537,23 +43442,24 @@ inline ::proto::ContextInfo* ButtonsMessage::unsafe_arena_release_contextinfo()
inline ::proto::ContextInfo* ButtonsMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00000004u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* ButtonsMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.ButtonsMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void ButtonsMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -45596,8 +43502,9 @@ inline ::proto::Button* ButtonsMessage::_internal_add_buttons() {
return buttons_.Add();
}
inline ::proto::Button* ButtonsMessage::add_buttons() {
+ ::proto::Button* _add = _internal_add_buttons();
// @@protoc_insertion_point(field_add:proto.ButtonsMessage.buttons)
- return _internal_add_buttons();
+ return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Button >&
ButtonsMessage::buttons() const {
@@ -45646,7 +43553,7 @@ inline void ButtonsMessage::set_has_text() {
}
inline void ButtonsMessage::clear_text() {
if (_internal_has_text()) {
- header_.text_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ header_.text_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
clear_has_header();
}
}
@@ -45654,13 +43561,20 @@ inline const std::string& ButtonsMessage::text() const {
// @@protoc_insertion_point(field_get:proto.ButtonsMessage.text)
return _internal_text();
}
-inline void ButtonsMessage::set_text(const std::string& value) {
- _internal_set_text(value);
+template <typename ArgT0, typename... ArgT>
+inline void ButtonsMessage::set_text(ArgT0&& arg0, ArgT... args) {
+ if (!_internal_has_text()) {
+ clear_header();
+ set_has_text();
+ header_.text_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ }
+ header_.text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ButtonsMessage.text)
}
inline std::string* ButtonsMessage::mutable_text() {
+ std::string* _s = _internal_mutable_text();
// @@protoc_insertion_point(field_mutable:proto.ButtonsMessage.text)
- return _internal_mutable_text();
+ return _s;
}
inline const std::string& ButtonsMessage::_internal_text() const {
if (_internal_has_text()) {
@@ -45674,42 +43588,7 @@ inline void ButtonsMessage::_internal_set_text(const std::string& value) {
set_has_text();
header_.text_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
- header_.text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ButtonsMessage::set_text(std::string&& value) {
- // @@protoc_insertion_point(field_set:proto.ButtonsMessage.text)
- if (!_internal_has_text()) {
- clear_header();
- set_has_text();
- header_.text_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
- header_.text_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ButtonsMessage.text)
-}
-inline void ButtonsMessage::set_text(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- if (!_internal_has_text()) {
- clear_header();
- set_has_text();
- header_.text_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
- header_.text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
- ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ButtonsMessage.text)
-}
-inline void ButtonsMessage::set_text(const char* value,
- size_t size) {
- if (!_internal_has_text()) {
- clear_header();
- set_has_text();
- header_.text_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
- header_.text_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size),
- GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ButtonsMessage.text)
+ header_.text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ButtonsMessage::_internal_mutable_text() {
if (!_internal_has_text()) {
@@ -45718,13 +43597,13 @@ inline std::string* ButtonsMessage::_internal_mutable_text() {
header_.text_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
return header_.text_.Mutable(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ButtonsMessage::release_text() {
// @@protoc_insertion_point(field_release:proto.ButtonsMessage.text)
if (_internal_has_text()) {
clear_has_header();
- return header_.text_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return header_.text_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
} else {
return nullptr;
}
@@ -45736,7 +43615,7 @@ inline void ButtonsMessage::set_allocated_text(std::string* text) {
if (text != nullptr) {
set_has_text();
header_.text_.UnsafeSetDefault(text);
- ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaForAllocation();
if (arena != nullptr) {
arena->Own(text);
}
@@ -45756,7 +43635,7 @@ inline void ButtonsMessage::set_has_documentmessage() {
}
inline void ButtonsMessage::clear_documentmessage() {
if (_internal_has_documentmessage()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete header_.documentmessage_;
}
clear_has_header();
@@ -45767,7 +43646,7 @@ inline ::proto::DocumentMessage* ButtonsMessage::release_documentmessage() {
if (_internal_has_documentmessage()) {
clear_has_header();
::proto::DocumentMessage* temp = header_.documentmessage_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
header_.documentmessage_ = nullptr;
@@ -45808,13 +43687,14 @@ inline ::proto::DocumentMessage* ButtonsMessage::_internal_mutable_documentmessa
if (!_internal_has_documentmessage()) {
clear_header();
set_has_documentmessage();
- header_.documentmessage_ = CreateMaybeMessage< ::proto::DocumentMessage >(GetArena());
+ header_.documentmessage_ = CreateMaybeMessage< ::proto::DocumentMessage >(GetArenaForAllocation());
}
return header_.documentmessage_;
}
inline ::proto::DocumentMessage* ButtonsMessage::mutable_documentmessage() {
+ ::proto::DocumentMessage* _msg = _internal_mutable_documentmessage();
// @@protoc_insertion_point(field_mutable:proto.ButtonsMessage.documentMessage)
- return _internal_mutable_documentmessage();
+ return _msg;
}
// .proto.ImageMessage imageMessage = 3;
@@ -45829,7 +43709,7 @@ inline void ButtonsMessage::set_has_imagemessage() {
}
inline void ButtonsMessage::clear_imagemessage() {
if (_internal_has_imagemessage()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete header_.imagemessage_;
}
clear_has_header();
@@ -45840,7 +43720,7 @@ inline ::proto::ImageMessage* ButtonsMessage::release_imagemessage() {
if (_internal_has_imagemessage()) {
clear_has_header();
::proto::ImageMessage* temp = header_.imagemessage_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
header_.imagemessage_ = nullptr;
@@ -45881,13 +43761,14 @@ inline ::proto::ImageMessage* ButtonsMessage::_internal_mutable_imagemessage() {
if (!_internal_has_imagemessage()) {
clear_header();
set_has_imagemessage();
- header_.imagemessage_ = CreateMaybeMessage< ::proto::ImageMessage >(GetArena());
+ header_.imagemessage_ = CreateMaybeMessage< ::proto::ImageMessage >(GetArenaForAllocation());
}
return header_.imagemessage_;
}
inline ::proto::ImageMessage* ButtonsMessage::mutable_imagemessage() {
+ ::proto::ImageMessage* _msg = _internal_mutable_imagemessage();
// @@protoc_insertion_point(field_mutable:proto.ButtonsMessage.imageMessage)
- return _internal_mutable_imagemessage();
+ return _msg;
}
// .proto.VideoMessage videoMessage = 4;
@@ -45902,7 +43783,7 @@ inline void ButtonsMessage::set_has_videomessage() {
}
inline void ButtonsMessage::clear_videomessage() {
if (_internal_has_videomessage()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete header_.videomessage_;
}
clear_has_header();
@@ -45913,7 +43794,7 @@ inline ::proto::VideoMessage* ButtonsMessage::release_videomessage() {
if (_internal_has_videomessage()) {
clear_has_header();
::proto::VideoMessage* temp = header_.videomessage_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
header_.videomessage_ = nullptr;
@@ -45954,13 +43835,14 @@ inline ::proto::VideoMessage* ButtonsMessage::_internal_mutable_videomessage() {
if (!_internal_has_videomessage()) {
clear_header();
set_has_videomessage();
- header_.videomessage_ = CreateMaybeMessage< ::proto::VideoMessage >(GetArena());
+ header_.videomessage_ = CreateMaybeMessage< ::proto::VideoMessage >(GetArenaForAllocation());
}
return header_.videomessage_;
}
inline ::proto::VideoMessage* ButtonsMessage::mutable_videomessage() {
+ ::proto::VideoMessage* _msg = _internal_mutable_videomessage();
// @@protoc_insertion_point(field_mutable:proto.ButtonsMessage.videoMessage)
- return _internal_mutable_videomessage();
+ return _msg;
}
// .proto.LocationMessage locationMessage = 5;
@@ -45975,7 +43857,7 @@ inline void ButtonsMessage::set_has_locationmessage() {
}
inline void ButtonsMessage::clear_locationmessage() {
if (_internal_has_locationmessage()) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete header_.locationmessage_;
}
clear_has_header();
@@ -45986,7 +43868,7 @@ inline ::proto::LocationMessage* ButtonsMessage::release_locationmessage() {
if (_internal_has_locationmessage()) {
clear_has_header();
::proto::LocationMessage* temp = header_.locationmessage_;
- if (GetArena() != nullptr) {
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
header_.locationmessage_ = nullptr;
@@ -46027,13 +43909,14 @@ inline ::proto::LocationMessage* ButtonsMessage::_internal_mutable_locationmessa
if (!_internal_has_locationmessage()) {
clear_header();
set_has_locationmessage();
- header_.locationmessage_ = CreateMaybeMessage< ::proto::LocationMessage >(GetArena());
+ header_.locationmessage_ = CreateMaybeMessage< ::proto::LocationMessage >(GetArenaForAllocation());
}
return header_.locationmessage_;
}
inline ::proto::LocationMessage* ButtonsMessage::mutable_locationmessage() {
+ ::proto::LocationMessage* _msg = _internal_mutable_locationmessage();
// @@protoc_insertion_point(field_mutable:proto.ButtonsMessage.locationMessage)
- return _internal_mutable_locationmessage();
+ return _msg;
}
inline bool ButtonsMessage::has_header() const {
@@ -46065,43 +43948,28 @@ inline const std::string& ButtonsResponseMessage::selectedbuttonid() const {
// @@protoc_insertion_point(field_get:proto.ButtonsResponseMessage.selectedButtonId)
return _internal_selectedbuttonid();
}
-inline void ButtonsResponseMessage::set_selectedbuttonid(const std::string& value) {
- _internal_set_selectedbuttonid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void ButtonsResponseMessage::set_selectedbuttonid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ selectedbuttonid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ButtonsResponseMessage.selectedButtonId)
}
inline std::string* ButtonsResponseMessage::mutable_selectedbuttonid() {
+ std::string* _s = _internal_mutable_selectedbuttonid();
// @@protoc_insertion_point(field_mutable:proto.ButtonsResponseMessage.selectedButtonId)
- return _internal_mutable_selectedbuttonid();
+ return _s;
}
inline const std::string& ButtonsResponseMessage::_internal_selectedbuttonid() const {
return selectedbuttonid_.Get();
}
inline void ButtonsResponseMessage::_internal_set_selectedbuttonid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- selectedbuttonid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ButtonsResponseMessage::set_selectedbuttonid(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- selectedbuttonid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ButtonsResponseMessage.selectedButtonId)
-}
-inline void ButtonsResponseMessage::set_selectedbuttonid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- selectedbuttonid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ButtonsResponseMessage.selectedButtonId)
-}
-inline void ButtonsResponseMessage::set_selectedbuttonid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- selectedbuttonid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ButtonsResponseMessage.selectedButtonId)
+ selectedbuttonid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ButtonsResponseMessage::_internal_mutable_selectedbuttonid() {
_has_bits_[0] |= 0x00000001u;
- return selectedbuttonid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return selectedbuttonid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ButtonsResponseMessage::release_selectedbuttonid() {
// @@protoc_insertion_point(field_release:proto.ButtonsResponseMessage.selectedButtonId)
@@ -46109,7 +43977,7 @@ inline std::string* ButtonsResponseMessage::release_selectedbuttonid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return selectedbuttonid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return selectedbuttonid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ButtonsResponseMessage::set_allocated_selectedbuttonid(std::string* selectedbuttonid) {
if (selectedbuttonid != nullptr) {
@@ -46118,7 +43986,7 @@ inline void ButtonsResponseMessage::set_allocated_selectedbuttonid(std::string*
_has_bits_[0] &= ~0x00000001u;
}
selectedbuttonid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), selectedbuttonid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.ButtonsResponseMessage.selectedButtonId)
}
@@ -46146,7 +44014,7 @@ inline const ::proto::ContextInfo& ButtonsResponseMessage::contextinfo() const {
}
inline void ButtonsResponseMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
}
contextinfo_ = contextinfo;
@@ -46161,9 +44029,15 @@ inline ::proto::ContextInfo* ButtonsResponseMessage::release_contextinfo() {
_has_bits_[0] &= ~0x00000002u;
::proto::ContextInfo* temp = contextinfo_;
contextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContextInfo* ButtonsResponseMessage::unsafe_arena_release_contextinfo() {
@@ -46176,23 +44050,24 @@ inline ::proto::ContextInfo* ButtonsResponseMessage::unsafe_arena_release_contex
inline ::proto::ContextInfo* ButtonsResponseMessage::_internal_mutable_contextinfo() {
_has_bits_[0] |= 0x00000002u;
if (contextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
contextinfo_ = p;
}
return contextinfo_;
}
inline ::proto::ContextInfo* ButtonsResponseMessage::mutable_contextinfo() {
+ ::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
// @@protoc_insertion_point(field_mutable:proto.ButtonsResponseMessage.contextInfo)
- return _internal_mutable_contextinfo();
+ return _msg;
}
inline void ButtonsResponseMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
@@ -46246,7 +44121,7 @@ inline void ButtonsResponseMessage::set_has_selecteddisplaytext() {
}
inline void ButtonsResponseMessage::clear_selecteddisplaytext() {
if (_internal_has_selecteddisplaytext()) {
- response_.selecteddisplaytext_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ response_.selecteddisplaytext_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
clear_has_response();
}
}
@@ -46254,13 +44129,20 @@ inline const std::string& ButtonsResponseMessage::selecteddisplaytext() const {
// @@protoc_insertion_point(field_get:proto.ButtonsResponseMessage.selectedDisplayText)
return _internal_selecteddisplaytext();
}
-inline void ButtonsResponseMessage::set_selecteddisplaytext(const std::string& value) {
- _internal_set_selecteddisplaytext(value);
+template <typename ArgT0, typename... ArgT>
+inline void ButtonsResponseMessage::set_selecteddisplaytext(ArgT0&& arg0, ArgT... args) {
+ if (!_internal_has_selecteddisplaytext()) {
+ clear_response();
+ set_has_selecteddisplaytext();
+ response_.selecteddisplaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ }
+ response_.selecteddisplaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ButtonsResponseMessage.selectedDisplayText)
}
inline std::string* ButtonsResponseMessage::mutable_selecteddisplaytext() {
+ std::string* _s = _internal_mutable_selecteddisplaytext();
// @@protoc_insertion_point(field_mutable:proto.ButtonsResponseMessage.selectedDisplayText)
- return _internal_mutable_selecteddisplaytext();
+ return _s;
}
inline const std::string& ButtonsResponseMessage::_internal_selecteddisplaytext() const {
if (_internal_has_selecteddisplaytext()) {
@@ -46274,42 +44156,7 @@ inline void ButtonsResponseMessage::_internal_set_selecteddisplaytext(const std:
set_has_selecteddisplaytext();
response_.selecteddisplaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
- response_.selecteddisplaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void ButtonsResponseMessage::set_selecteddisplaytext(std::string&& value) {
- // @@protoc_insertion_point(field_set:proto.ButtonsResponseMessage.selectedDisplayText)
- if (!_internal_has_selecteddisplaytext()) {
- clear_response();
- set_has_selecteddisplaytext();
- response_.selecteddisplaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
- response_.selecteddisplaytext_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.ButtonsResponseMessage.selectedDisplayText)
-}
-inline void ButtonsResponseMessage::set_selecteddisplaytext(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- if (!_internal_has_selecteddisplaytext()) {
- clear_response();
- set_has_selecteddisplaytext();
- response_.selecteddisplaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
- response_.selecteddisplaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
- ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.ButtonsResponseMessage.selectedDisplayText)
-}
-inline void ButtonsResponseMessage::set_selecteddisplaytext(const char* value,
- size_t size) {
- if (!_internal_has_selecteddisplaytext()) {
- clear_response();
- set_has_selecteddisplaytext();
- response_.selecteddisplaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- }
- response_.selecteddisplaytext_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size),
- GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.ButtonsResponseMessage.selectedDisplayText)
+ response_.selecteddisplaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ButtonsResponseMessage::_internal_mutable_selecteddisplaytext() {
if (!_internal_has_selecteddisplaytext()) {
@@ -46318,13 +44165,13 @@ inline std::string* ButtonsResponseMessage::_internal_mutable_selecteddisplaytex
response_.selecteddisplaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
return response_.selecteddisplaytext_.Mutable(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ButtonsResponseMessage::release_selecteddisplaytext() {
// @@protoc_insertion_point(field_release:proto.ButtonsResponseMessage.selectedDisplayText)
if (_internal_has_selecteddisplaytext()) {
clear_has_response();
- return response_.selecteddisplaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return response_.selecteddisplaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
} else {
return nullptr;
}
@@ -46336,7 +44183,7 @@ inline void ButtonsResponseMessage::set_allocated_selecteddisplaytext(std::strin
if (selecteddisplaytext != nullptr) {
set_has_selecteddisplaytext();
response_.selecteddisplaytext_.UnsafeSetDefault(selecteddisplaytext);
- ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaForAllocation();
if (arena != nullptr) {
arena->Own(selecteddisplaytext);
}
@@ -46373,43 +44220,28 @@ inline const std::string& Message::conversation() const {
// @@protoc_insertion_point(field_get:proto.Message.conversation)
return _internal_conversation();
}
-inline void Message::set_conversation(const std::string& value) {
- _internal_set_conversation(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void Message::set_conversation(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ conversation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Message.conversation)
}
inline std::string* Message::mutable_conversation() {
+ std::string* _s = _internal_mutable_conversation();
// @@protoc_insertion_point(field_mutable:proto.Message.conversation)
- return _internal_mutable_conversation();
+ return _s;
}
inline const std::string& Message::_internal_conversation() const {
return conversation_.Get();
}
inline void Message::_internal_set_conversation(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- conversation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void Message::set_conversation(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- conversation_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.Message.conversation)
-}
-inline void Message::set_conversation(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- conversation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.Message.conversation)
-}
-inline void Message::set_conversation(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- conversation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.Message.conversation)
+ conversation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* Message::_internal_mutable_conversation() {
_has_bits_[0] |= 0x00000001u;
- return conversation_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return conversation_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* Message::release_conversation() {
// @@protoc_insertion_point(field_release:proto.Message.conversation)
@@ -46417,7 +44249,7 @@ inline std::string* Message::release_conversation() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return conversation_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return conversation_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void Message::set_allocated_conversation(std::string* conversation) {
if (conversation != nullptr) {
@@ -46426,7 +44258,7 @@ inline void Message::set_allocated_conversation(std::string* conversation) {
_has_bits_[0] &= ~0x00000001u;
}
conversation_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), conversation,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.Message.conversation)
}
@@ -46454,7 +44286,7 @@ inline const ::proto::SenderKeyDistributionMessage& Message::senderkeydistributi
}
inline void Message::unsafe_arena_set_allocated_senderkeydistributionmessage(
::proto::SenderKeyDistributionMessage* senderkeydistributionmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(senderkeydistributionmessage_);
}
senderkeydistributionmessage_ = senderkeydistributionmessage;
@@ -46469,9 +44301,15 @@ inline ::proto::SenderKeyDistributionMessage* Message::release_senderkeydistribu
_has_bits_[0] &= ~0x00000002u;
::proto::SenderKeyDistributionMessage* temp = senderkeydistributionmessage_;
senderkeydistributionmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::SenderKeyDistributionMessage* Message::unsafe_arena_release_senderkeydistributionmessage() {
@@ -46484,23 +44322,24 @@ inline ::proto::SenderKeyDistributionMessage* Message::unsafe_arena_release_send
inline ::proto::SenderKeyDistributionMessage* Message::_internal_mutable_senderkeydistributionmessage() {
_has_bits_[0] |= 0x00000002u;
if (senderkeydistributionmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::SenderKeyDistributionMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::SenderKeyDistributionMessage>(GetArenaForAllocation());
senderkeydistributionmessage_ = p;
}
return senderkeydistributionmessage_;
}
inline ::proto::SenderKeyDistributionMessage* Message::mutable_senderkeydistributionmessage() {
+ ::proto::SenderKeyDistributionMessage* _msg = _internal_mutable_senderkeydistributionmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.senderKeyDistributionMessage)
- return _internal_mutable_senderkeydistributionmessage();
+ return _msg;
}
inline void Message::set_allocated_senderkeydistributionmessage(::proto::SenderKeyDistributionMessage* senderkeydistributionmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete senderkeydistributionmessage_;
}
if (senderkeydistributionmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(senderkeydistributionmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::SenderKeyDistributionMessage>::GetOwningArena(senderkeydistributionmessage);
if (message_arena != submessage_arena) {
senderkeydistributionmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, senderkeydistributionmessage, submessage_arena);
@@ -46537,7 +44376,7 @@ inline const ::proto::ImageMessage& Message::imagemessage() const {
}
inline void Message::unsafe_arena_set_allocated_imagemessage(
::proto::ImageMessage* imagemessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(imagemessage_);
}
imagemessage_ = imagemessage;
@@ -46552,9 +44391,15 @@ inline ::proto::ImageMessage* Message::release_imagemessage() {
_has_bits_[0] &= ~0x00000004u;
::proto::ImageMessage* temp = imagemessage_;
imagemessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ImageMessage* Message::unsafe_arena_release_imagemessage() {
@@ -46567,23 +44412,24 @@ inline ::proto::ImageMessage* Message::unsafe_arena_release_imagemessage() {
inline ::proto::ImageMessage* Message::_internal_mutable_imagemessage() {
_has_bits_[0] |= 0x00000004u;
if (imagemessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ImageMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ImageMessage>(GetArenaForAllocation());
imagemessage_ = p;
}
return imagemessage_;
}
inline ::proto::ImageMessage* Message::mutable_imagemessage() {
+ ::proto::ImageMessage* _msg = _internal_mutable_imagemessage();
// @@protoc_insertion_point(field_mutable:proto.Message.imageMessage)
- return _internal_mutable_imagemessage();
+ return _msg;
}
inline void Message::set_allocated_imagemessage(::proto::ImageMessage* imagemessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete imagemessage_;
}
if (imagemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(imagemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ImageMessage>::GetOwningArena(imagemessage);
if (message_arena != submessage_arena) {
imagemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, imagemessage, submessage_arena);
@@ -46620,7 +44466,7 @@ inline const ::proto::ContactMessage& Message::contactmessage() const {
}
inline void Message::unsafe_arena_set_allocated_contactmessage(
::proto::ContactMessage* contactmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contactmessage_);
}
contactmessage_ = contactmessage;
@@ -46635,9 +44481,15 @@ inline ::proto::ContactMessage* Message::release_contactmessage() {
_has_bits_[0] &= ~0x00000008u;
::proto::ContactMessage* temp = contactmessage_;
contactmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContactMessage* Message::unsafe_arena_release_contactmessage() {
@@ -46650,23 +44502,24 @@ inline ::proto::ContactMessage* Message::unsafe_arena_release_contactmessage() {
inline ::proto::ContactMessage* Message::_internal_mutable_contactmessage() {
_has_bits_[0] |= 0x00000008u;
if (contactmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContactMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContactMessage>(GetArenaForAllocation());
contactmessage_ = p;
}
return contactmessage_;
}
inline ::proto::ContactMessage* Message::mutable_contactmessage() {
+ ::proto::ContactMessage* _msg = _internal_mutable_contactmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.contactMessage)
- return _internal_mutable_contactmessage();
+ return _msg;
}
inline void Message::set_allocated_contactmessage(::proto::ContactMessage* contactmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contactmessage_;
}
if (contactmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contactmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContactMessage>::GetOwningArena(contactmessage);
if (message_arena != submessage_arena) {
contactmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contactmessage, submessage_arena);
@@ -46703,7 +44556,7 @@ inline const ::proto::LocationMessage& Message::locationmessage() const {
}
inline void Message::unsafe_arena_set_allocated_locationmessage(
::proto::LocationMessage* locationmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(locationmessage_);
}
locationmessage_ = locationmessage;
@@ -46718,9 +44571,15 @@ inline ::proto::LocationMessage* Message::release_locationmessage() {
_has_bits_[0] &= ~0x00000010u;
::proto::LocationMessage* temp = locationmessage_;
locationmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::LocationMessage* Message::unsafe_arena_release_locationmessage() {
@@ -46733,23 +44592,24 @@ inline ::proto::LocationMessage* Message::unsafe_arena_release_locationmessage()
inline ::proto::LocationMessage* Message::_internal_mutable_locationmessage() {
_has_bits_[0] |= 0x00000010u;
if (locationmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::LocationMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::LocationMessage>(GetArenaForAllocation());
locationmessage_ = p;
}
return locationmessage_;
}
inline ::proto::LocationMessage* Message::mutable_locationmessage() {
+ ::proto::LocationMessage* _msg = _internal_mutable_locationmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.locationMessage)
- return _internal_mutable_locationmessage();
+ return _msg;
}
inline void Message::set_allocated_locationmessage(::proto::LocationMessage* locationmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete locationmessage_;
}
if (locationmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(locationmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::LocationMessage>::GetOwningArena(locationmessage);
if (message_arena != submessage_arena) {
locationmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, locationmessage, submessage_arena);
@@ -46786,7 +44646,7 @@ inline const ::proto::ExtendedTextMessage& Message::extendedtextmessage() const
}
inline void Message::unsafe_arena_set_allocated_extendedtextmessage(
::proto::ExtendedTextMessage* extendedtextmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(extendedtextmessage_);
}
extendedtextmessage_ = extendedtextmessage;
@@ -46801,9 +44661,15 @@ inline ::proto::ExtendedTextMessage* Message::release_extendedtextmessage() {
_has_bits_[0] &= ~0x00000020u;
::proto::ExtendedTextMessage* temp = extendedtextmessage_;
extendedtextmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ExtendedTextMessage* Message::unsafe_arena_release_extendedtextmessage() {
@@ -46816,23 +44682,24 @@ inline ::proto::ExtendedTextMessage* Message::unsafe_arena_release_extendedtextm
inline ::proto::ExtendedTextMessage* Message::_internal_mutable_extendedtextmessage() {
_has_bits_[0] |= 0x00000020u;
if (extendedtextmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ExtendedTextMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ExtendedTextMessage>(GetArenaForAllocation());
extendedtextmessage_ = p;
}
return extendedtextmessage_;
}
inline ::proto::ExtendedTextMessage* Message::mutable_extendedtextmessage() {
+ ::proto::ExtendedTextMessage* _msg = _internal_mutable_extendedtextmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.extendedTextMessage)
- return _internal_mutable_extendedtextmessage();
+ return _msg;
}
inline void Message::set_allocated_extendedtextmessage(::proto::ExtendedTextMessage* extendedtextmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete extendedtextmessage_;
}
if (extendedtextmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(extendedtextmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ExtendedTextMessage>::GetOwningArena(extendedtextmessage);
if (message_arena != submessage_arena) {
extendedtextmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, extendedtextmessage, submessage_arena);
@@ -46869,7 +44736,7 @@ inline const ::proto::DocumentMessage& Message::documentmessage() const {
}
inline void Message::unsafe_arena_set_allocated_documentmessage(
::proto::DocumentMessage* documentmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(documentmessage_);
}
documentmessage_ = documentmessage;
@@ -46884,9 +44751,15 @@ inline ::proto::DocumentMessage* Message::release_documentmessage() {
_has_bits_[0] &= ~0x00000040u;
::proto::DocumentMessage* temp = documentmessage_;
documentmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::DocumentMessage* Message::unsafe_arena_release_documentmessage() {
@@ -46899,23 +44772,24 @@ inline ::proto::DocumentMessage* Message::unsafe_arena_release_documentmessage()
inline ::proto::DocumentMessage* Message::_internal_mutable_documentmessage() {
_has_bits_[0] |= 0x00000040u;
if (documentmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::DocumentMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::DocumentMessage>(GetArenaForAllocation());
documentmessage_ = p;
}
return documentmessage_;
}
inline ::proto::DocumentMessage* Message::mutable_documentmessage() {
+ ::proto::DocumentMessage* _msg = _internal_mutable_documentmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.documentMessage)
- return _internal_mutable_documentmessage();
+ return _msg;
}
inline void Message::set_allocated_documentmessage(::proto::DocumentMessage* documentmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete documentmessage_;
}
if (documentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(documentmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::DocumentMessage>::GetOwningArena(documentmessage);
if (message_arena != submessage_arena) {
documentmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, documentmessage, submessage_arena);
@@ -46952,7 +44826,7 @@ inline const ::proto::AudioMessage& Message::audiomessage() const {
}
inline void Message::unsafe_arena_set_allocated_audiomessage(
::proto::AudioMessage* audiomessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(audiomessage_);
}
audiomessage_ = audiomessage;
@@ -46967,9 +44841,15 @@ inline ::proto::AudioMessage* Message::release_audiomessage() {
_has_bits_[0] &= ~0x00000080u;
::proto::AudioMessage* temp = audiomessage_;
audiomessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::AudioMessage* Message::unsafe_arena_release_audiomessage() {
@@ -46982,23 +44862,24 @@ inline ::proto::AudioMessage* Message::unsafe_arena_release_audiomessage() {
inline ::proto::AudioMessage* Message::_internal_mutable_audiomessage() {
_has_bits_[0] |= 0x00000080u;
if (audiomessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::AudioMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::AudioMessage>(GetArenaForAllocation());
audiomessage_ = p;
}
return audiomessage_;
}
inline ::proto::AudioMessage* Message::mutable_audiomessage() {
+ ::proto::AudioMessage* _msg = _internal_mutable_audiomessage();
// @@protoc_insertion_point(field_mutable:proto.Message.audioMessage)
- return _internal_mutable_audiomessage();
+ return _msg;
}
inline void Message::set_allocated_audiomessage(::proto::AudioMessage* audiomessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete audiomessage_;
}
if (audiomessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(audiomessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AudioMessage>::GetOwningArena(audiomessage);
if (message_arena != submessage_arena) {
audiomessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, audiomessage, submessage_arena);
@@ -47035,7 +44916,7 @@ inline const ::proto::VideoMessage& Message::videomessage() const {
}
inline void Message::unsafe_arena_set_allocated_videomessage(
::proto::VideoMessage* videomessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(videomessage_);
}
videomessage_ = videomessage;
@@ -47050,9 +44931,15 @@ inline ::proto::VideoMessage* Message::release_videomessage() {
_has_bits_[0] &= ~0x00000100u;
::proto::VideoMessage* temp = videomessage_;
videomessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::VideoMessage* Message::unsafe_arena_release_videomessage() {
@@ -47065,23 +44952,24 @@ inline ::proto::VideoMessage* Message::unsafe_arena_release_videomessage() {
inline ::proto::VideoMessage* Message::_internal_mutable_videomessage() {
_has_bits_[0] |= 0x00000100u;
if (videomessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::VideoMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::VideoMessage>(GetArenaForAllocation());
videomessage_ = p;
}
return videomessage_;
}
inline ::proto::VideoMessage* Message::mutable_videomessage() {
+ ::proto::VideoMessage* _msg = _internal_mutable_videomessage();
// @@protoc_insertion_point(field_mutable:proto.Message.videoMessage)
- return _internal_mutable_videomessage();
+ return _msg;
}
inline void Message::set_allocated_videomessage(::proto::VideoMessage* videomessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete videomessage_;
}
if (videomessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(videomessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::VideoMessage>::GetOwningArena(videomessage);
if (message_arena != submessage_arena) {
videomessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, videomessage, submessage_arena);
@@ -47118,7 +45006,7 @@ inline const ::proto::Call& Message::call() const {
}
inline void Message::unsafe_arena_set_allocated_call(
::proto::Call* call) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(call_);
}
call_ = call;
@@ -47133,9 +45021,15 @@ inline ::proto::Call* Message::release_call() {
_has_bits_[0] &= ~0x00000200u;
::proto::Call* temp = call_;
call_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::Call* Message::unsafe_arena_release_call() {
@@ -47148,23 +45042,24 @@ inline ::proto::Call* Message::unsafe_arena_release_call() {
inline ::proto::Call* Message::_internal_mutable_call() {
_has_bits_[0] |= 0x00000200u;
if (call_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::Call>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::Call>(GetArenaForAllocation());
call_ = p;
}
return call_;
}
inline ::proto::Call* Message::mutable_call() {
+ ::proto::Call* _msg = _internal_mutable_call();
// @@protoc_insertion_point(field_mutable:proto.Message.call)
- return _internal_mutable_call();
+ return _msg;
}
inline void Message::set_allocated_call(::proto::Call* call) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete call_;
}
if (call) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(call);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Call>::GetOwningArena(call);
if (message_arena != submessage_arena) {
call = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, call, submessage_arena);
@@ -47201,7 +45096,7 @@ inline const ::proto::Chat& Message::chat() const {
}
inline void Message::unsafe_arena_set_allocated_chat(
::proto::Chat* chat) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(chat_);
}
chat_ = chat;
@@ -47216,9 +45111,15 @@ inline ::proto::Chat* Message::release_chat() {
_has_bits_[0] &= ~0x00000400u;
::proto::Chat* temp = chat_;
chat_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::Chat* Message::unsafe_arena_release_chat() {
@@ -47231,23 +45132,24 @@ inline ::proto::Chat* Message::unsafe_arena_release_chat() {
inline ::proto::Chat* Message::_internal_mutable_chat() {
_has_bits_[0] |= 0x00000400u;
if (chat_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::Chat>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::Chat>(GetArenaForAllocation());
chat_ = p;
}
return chat_;
}
inline ::proto::Chat* Message::mutable_chat() {
+ ::proto::Chat* _msg = _internal_mutable_chat();
// @@protoc_insertion_point(field_mutable:proto.Message.chat)
- return _internal_mutable_chat();
+ return _msg;
}
inline void Message::set_allocated_chat(::proto::Chat* chat) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete chat_;
}
if (chat) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(chat);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Chat>::GetOwningArena(chat);
if (message_arena != submessage_arena) {
chat = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, chat, submessage_arena);
@@ -47284,7 +45186,7 @@ inline const ::proto::ProtocolMessage& Message::protocolmessage() const {
}
inline void Message::unsafe_arena_set_allocated_protocolmessage(
::proto::ProtocolMessage* protocolmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(protocolmessage_);
}
protocolmessage_ = protocolmessage;
@@ -47299,9 +45201,15 @@ inline ::proto::ProtocolMessage* Message::release_protocolmessage() {
_has_bits_[0] &= ~0x00000800u;
::proto::ProtocolMessage* temp = protocolmessage_;
protocolmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ProtocolMessage* Message::unsafe_arena_release_protocolmessage() {
@@ -47314,23 +45222,24 @@ inline ::proto::ProtocolMessage* Message::unsafe_arena_release_protocolmessage()
inline ::proto::ProtocolMessage* Message::_internal_mutable_protocolmessage() {
_has_bits_[0] |= 0x00000800u;
if (protocolmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ProtocolMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ProtocolMessage>(GetArenaForAllocation());
protocolmessage_ = p;
}
return protocolmessage_;
}
inline ::proto::ProtocolMessage* Message::mutable_protocolmessage() {
+ ::proto::ProtocolMessage* _msg = _internal_mutable_protocolmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.protocolMessage)
- return _internal_mutable_protocolmessage();
+ return _msg;
}
inline void Message::set_allocated_protocolmessage(::proto::ProtocolMessage* protocolmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete protocolmessage_;
}
if (protocolmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(protocolmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ProtocolMessage>::GetOwningArena(protocolmessage);
if (message_arena != submessage_arena) {
protocolmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, protocolmessage, submessage_arena);
@@ -47367,7 +45276,7 @@ inline const ::proto::ContactsArrayMessage& Message::contactsarraymessage() cons
}
inline void Message::unsafe_arena_set_allocated_contactsarraymessage(
::proto::ContactsArrayMessage* contactsarraymessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contactsarraymessage_);
}
contactsarraymessage_ = contactsarraymessage;
@@ -47382,9 +45291,15 @@ inline ::proto::ContactsArrayMessage* Message::release_contactsarraymessage() {
_has_bits_[0] &= ~0x00001000u;
::proto::ContactsArrayMessage* temp = contactsarraymessage_;
contactsarraymessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ContactsArrayMessage* Message::unsafe_arena_release_contactsarraymessage() {
@@ -47397,23 +45312,24 @@ inline ::proto::ContactsArrayMessage* Message::unsafe_arena_release_contactsarra
inline ::proto::ContactsArrayMessage* Message::_internal_mutable_contactsarraymessage() {
_has_bits_[0] |= 0x00001000u;
if (contactsarraymessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ContactsArrayMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ContactsArrayMessage>(GetArenaForAllocation());
contactsarraymessage_ = p;
}
return contactsarraymessage_;
}
inline ::proto::ContactsArrayMessage* Message::mutable_contactsarraymessage() {
+ ::proto::ContactsArrayMessage* _msg = _internal_mutable_contactsarraymessage();
// @@protoc_insertion_point(field_mutable:proto.Message.contactsArrayMessage)
- return _internal_mutable_contactsarraymessage();
+ return _msg;
}
inline void Message::set_allocated_contactsarraymessage(::proto::ContactsArrayMessage* contactsarraymessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete contactsarraymessage_;
}
if (contactsarraymessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(contactsarraymessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContactsArrayMessage>::GetOwningArena(contactsarraymessage);
if (message_arena != submessage_arena) {
contactsarraymessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contactsarraymessage, submessage_arena);
@@ -47450,7 +45366,7 @@ inline const ::proto::HighlyStructuredMessage& Message::highlystructuredmessage(
}
inline void Message::unsafe_arena_set_allocated_highlystructuredmessage(
::proto::HighlyStructuredMessage* highlystructuredmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(highlystructuredmessage_);
}
highlystructuredmessage_ = highlystructuredmessage;
@@ -47465,9 +45381,15 @@ inline ::proto::HighlyStructuredMessage* Message::release_highlystructuredmessag
_has_bits_[0] &= ~0x00002000u;
::proto::HighlyStructuredMessage* temp = highlystructuredmessage_;
highlystructuredmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::HighlyStructuredMessage* Message::unsafe_arena_release_highlystructuredmessage() {
@@ -47480,23 +45402,24 @@ inline ::proto::HighlyStructuredMessage* Message::unsafe_arena_release_highlystr
inline ::proto::HighlyStructuredMessage* Message::_internal_mutable_highlystructuredmessage() {
_has_bits_[0] |= 0x00002000u;
if (highlystructuredmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
highlystructuredmessage_ = p;
}
return highlystructuredmessage_;
}
inline ::proto::HighlyStructuredMessage* Message::mutable_highlystructuredmessage() {
+ ::proto::HighlyStructuredMessage* _msg = _internal_mutable_highlystructuredmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.highlyStructuredMessage)
- return _internal_mutable_highlystructuredmessage();
+ return _msg;
}
inline void Message::set_allocated_highlystructuredmessage(::proto::HighlyStructuredMessage* highlystructuredmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete highlystructuredmessage_;
}
if (highlystructuredmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(highlystructuredmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(highlystructuredmessage);
if (message_arena != submessage_arena) {
highlystructuredmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, highlystructuredmessage, submessage_arena);
@@ -47533,7 +45456,7 @@ inline const ::proto::SenderKeyDistributionMessage& Message::fastratchetkeysende
}
inline void Message::unsafe_arena_set_allocated_fastratchetkeysenderkeydistributionmessage(
::proto::SenderKeyDistributionMessage* fastratchetkeysenderkeydistributionmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fastratchetkeysenderkeydistributionmessage_);
}
fastratchetkeysenderkeydistributionmessage_ = fastratchetkeysenderkeydistributionmessage;
@@ -47548,9 +45471,15 @@ inline ::proto::SenderKeyDistributionMessage* Message::release_fastratchetkeysen
_has_bits_[0] &= ~0x00004000u;
::proto::SenderKeyDistributionMessage* temp = fastratchetkeysenderkeydistributionmessage_;
fastratchetkeysenderkeydistributionmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::SenderKeyDistributionMessage* Message::unsafe_arena_release_fastratchetkeysenderkeydistributionmessage() {
@@ -47563,23 +45492,24 @@ inline ::proto::SenderKeyDistributionMessage* Message::unsafe_arena_release_fast
inline ::proto::SenderKeyDistributionMessage* Message::_internal_mutable_fastratchetkeysenderkeydistributionmessage() {
_has_bits_[0] |= 0x00004000u;
if (fastratchetkeysenderkeydistributionmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::SenderKeyDistributionMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::SenderKeyDistributionMessage>(GetArenaForAllocation());
fastratchetkeysenderkeydistributionmessage_ = p;
}
return fastratchetkeysenderkeydistributionmessage_;
}
inline ::proto::SenderKeyDistributionMessage* Message::mutable_fastratchetkeysenderkeydistributionmessage() {
+ ::proto::SenderKeyDistributionMessage* _msg = _internal_mutable_fastratchetkeysenderkeydistributionmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.fastRatchetKeySenderKeyDistributionMessage)
- return _internal_mutable_fastratchetkeysenderkeydistributionmessage();
+ return _msg;
}
inline void Message::set_allocated_fastratchetkeysenderkeydistributionmessage(::proto::SenderKeyDistributionMessage* fastratchetkeysenderkeydistributionmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete fastratchetkeysenderkeydistributionmessage_;
}
if (fastratchetkeysenderkeydistributionmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(fastratchetkeysenderkeydistributionmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::SenderKeyDistributionMessage>::GetOwningArena(fastratchetkeysenderkeydistributionmessage);
if (message_arena != submessage_arena) {
fastratchetkeysenderkeydistributionmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, fastratchetkeysenderkeydistributionmessage, submessage_arena);
@@ -47616,7 +45546,7 @@ inline const ::proto::SendPaymentMessage& Message::sendpaymentmessage() const {
}
inline void Message::unsafe_arena_set_allocated_sendpaymentmessage(
::proto::SendPaymentMessage* sendpaymentmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sendpaymentmessage_);
}
sendpaymentmessage_ = sendpaymentmessage;
@@ -47631,9 +45561,15 @@ inline ::proto::SendPaymentMessage* Message::release_sendpaymentmessage() {
_has_bits_[0] &= ~0x00008000u;
::proto::SendPaymentMessage* temp = sendpaymentmessage_;
sendpaymentmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::SendPaymentMessage* Message::unsafe_arena_release_sendpaymentmessage() {
@@ -47646,23 +45582,24 @@ inline ::proto::SendPaymentMessage* Message::unsafe_arena_release_sendpaymentmes
inline ::proto::SendPaymentMessage* Message::_internal_mutable_sendpaymentmessage() {
_has_bits_[0] |= 0x00008000u;
if (sendpaymentmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::SendPaymentMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::SendPaymentMessage>(GetArenaForAllocation());
sendpaymentmessage_ = p;
}
return sendpaymentmessage_;
}
inline ::proto::SendPaymentMessage* Message::mutable_sendpaymentmessage() {
+ ::proto::SendPaymentMessage* _msg = _internal_mutable_sendpaymentmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.sendPaymentMessage)
- return _internal_mutable_sendpaymentmessage();
+ return _msg;
}
inline void Message::set_allocated_sendpaymentmessage(::proto::SendPaymentMessage* sendpaymentmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete sendpaymentmessage_;
}
if (sendpaymentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(sendpaymentmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::SendPaymentMessage>::GetOwningArena(sendpaymentmessage);
if (message_arena != submessage_arena) {
sendpaymentmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, sendpaymentmessage, submessage_arena);
@@ -47699,7 +45636,7 @@ inline const ::proto::LiveLocationMessage& Message::livelocationmessage() const
}
inline void Message::unsafe_arena_set_allocated_livelocationmessage(
::proto::LiveLocationMessage* livelocationmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(livelocationmessage_);
}
livelocationmessage_ = livelocationmessage;
@@ -47714,9 +45651,15 @@ inline ::proto::LiveLocationMessage* Message::release_livelocationmessage() {
_has_bits_[0] &= ~0x00010000u;
::proto::LiveLocationMessage* temp = livelocationmessage_;
livelocationmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::LiveLocationMessage* Message::unsafe_arena_release_livelocationmessage() {
@@ -47729,23 +45672,24 @@ inline ::proto::LiveLocationMessage* Message::unsafe_arena_release_livelocationm
inline ::proto::LiveLocationMessage* Message::_internal_mutable_livelocationmessage() {
_has_bits_[0] |= 0x00010000u;
if (livelocationmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::LiveLocationMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::LiveLocationMessage>(GetArenaForAllocation());
livelocationmessage_ = p;
}
return livelocationmessage_;
}
inline ::proto::LiveLocationMessage* Message::mutable_livelocationmessage() {
+ ::proto::LiveLocationMessage* _msg = _internal_mutable_livelocationmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.liveLocationMessage)
- return _internal_mutable_livelocationmessage();
+ return _msg;
}
inline void Message::set_allocated_livelocationmessage(::proto::LiveLocationMessage* livelocationmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete livelocationmessage_;
}
if (livelocationmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(livelocationmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::LiveLocationMessage>::GetOwningArena(livelocationmessage);
if (message_arena != submessage_arena) {
livelocationmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, livelocationmessage, submessage_arena);
@@ -47782,7 +45726,7 @@ inline const ::proto::RequestPaymentMessage& Message::requestpaymentmessage() co
}
inline void Message::unsafe_arena_set_allocated_requestpaymentmessage(
::proto::RequestPaymentMessage* requestpaymentmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(requestpaymentmessage_);
}
requestpaymentmessage_ = requestpaymentmessage;
@@ -47797,9 +45741,15 @@ inline ::proto::RequestPaymentMessage* Message::release_requestpaymentmessage()
_has_bits_[0] &= ~0x00020000u;
::proto::RequestPaymentMessage* temp = requestpaymentmessage_;
requestpaymentmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::RequestPaymentMessage* Message::unsafe_arena_release_requestpaymentmessage() {
@@ -47812,23 +45762,24 @@ inline ::proto::RequestPaymentMessage* Message::unsafe_arena_release_requestpaym
inline ::proto::RequestPaymentMessage* Message::_internal_mutable_requestpaymentmessage() {
_has_bits_[0] |= 0x00020000u;
if (requestpaymentmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::RequestPaymentMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::RequestPaymentMessage>(GetArenaForAllocation());
requestpaymentmessage_ = p;
}
return requestpaymentmessage_;
}
inline ::proto::RequestPaymentMessage* Message::mutable_requestpaymentmessage() {
+ ::proto::RequestPaymentMessage* _msg = _internal_mutable_requestpaymentmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.requestPaymentMessage)
- return _internal_mutable_requestpaymentmessage();
+ return _msg;
}
inline void Message::set_allocated_requestpaymentmessage(::proto::RequestPaymentMessage* requestpaymentmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete requestpaymentmessage_;
}
if (requestpaymentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(requestpaymentmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::RequestPaymentMessage>::GetOwningArena(requestpaymentmessage);
if (message_arena != submessage_arena) {
requestpaymentmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, requestpaymentmessage, submessage_arena);
@@ -47865,7 +45816,7 @@ inline const ::proto::DeclinePaymentRequestMessage& Message::declinepaymentreque
}
inline void Message::unsafe_arena_set_allocated_declinepaymentrequestmessage(
::proto::DeclinePaymentRequestMessage* declinepaymentrequestmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(declinepaymentrequestmessage_);
}
declinepaymentrequestmessage_ = declinepaymentrequestmessage;
@@ -47880,9 +45831,15 @@ inline ::proto::DeclinePaymentRequestMessage* Message::release_declinepaymentreq
_has_bits_[0] &= ~0x00040000u;
::proto::DeclinePaymentRequestMessage* temp = declinepaymentrequestmessage_;
declinepaymentrequestmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::DeclinePaymentRequestMessage* Message::unsafe_arena_release_declinepaymentrequestmessage() {
@@ -47895,23 +45852,24 @@ inline ::proto::DeclinePaymentRequestMessage* Message::unsafe_arena_release_decl
inline ::proto::DeclinePaymentRequestMessage* Message::_internal_mutable_declinepaymentrequestmessage() {
_has_bits_[0] |= 0x00040000u;
if (declinepaymentrequestmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::DeclinePaymentRequestMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::DeclinePaymentRequestMessage>(GetArenaForAllocation());
declinepaymentrequestmessage_ = p;
}
return declinepaymentrequestmessage_;
}
inline ::proto::DeclinePaymentRequestMessage* Message::mutable_declinepaymentrequestmessage() {
+ ::proto::DeclinePaymentRequestMessage* _msg = _internal_mutable_declinepaymentrequestmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.declinePaymentRequestMessage)
- return _internal_mutable_declinepaymentrequestmessage();
+ return _msg;
}
inline void Message::set_allocated_declinepaymentrequestmessage(::proto::DeclinePaymentRequestMessage* declinepaymentrequestmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete declinepaymentrequestmessage_;
}
if (declinepaymentrequestmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(declinepaymentrequestmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::DeclinePaymentRequestMessage>::GetOwningArena(declinepaymentrequestmessage);
if (message_arena != submessage_arena) {
declinepaymentrequestmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, declinepaymentrequestmessage, submessage_arena);
@@ -47948,7 +45906,7 @@ inline const ::proto::CancelPaymentRequestMessage& Message::cancelpaymentrequest
}
inline void Message::unsafe_arena_set_allocated_cancelpaymentrequestmessage(
::proto::CancelPaymentRequestMessage* cancelpaymentrequestmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cancelpaymentrequestmessage_);
}
cancelpaymentrequestmessage_ = cancelpaymentrequestmessage;
@@ -47963,9 +45921,15 @@ inline ::proto::CancelPaymentRequestMessage* Message::release_cancelpaymentreque
_has_bits_[0] &= ~0x00080000u;
::proto::CancelPaymentRequestMessage* temp = cancelpaymentrequestmessage_;
cancelpaymentrequestmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::CancelPaymentRequestMessage* Message::unsafe_arena_release_cancelpaymentrequestmessage() {
@@ -47978,23 +45942,24 @@ inline ::proto::CancelPaymentRequestMessage* Message::unsafe_arena_release_cance
inline ::proto::CancelPaymentRequestMessage* Message::_internal_mutable_cancelpaymentrequestmessage() {
_has_bits_[0] |= 0x00080000u;
if (cancelpaymentrequestmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::CancelPaymentRequestMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::CancelPaymentRequestMessage>(GetArenaForAllocation());
cancelpaymentrequestmessage_ = p;
}
return cancelpaymentrequestmessage_;
}
inline ::proto::CancelPaymentRequestMessage* Message::mutable_cancelpaymentrequestmessage() {
+ ::proto::CancelPaymentRequestMessage* _msg = _internal_mutable_cancelpaymentrequestmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.cancelPaymentRequestMessage)
- return _internal_mutable_cancelpaymentrequestmessage();
+ return _msg;
}
inline void Message::set_allocated_cancelpaymentrequestmessage(::proto::CancelPaymentRequestMessage* cancelpaymentrequestmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete cancelpaymentrequestmessage_;
}
if (cancelpaymentrequestmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(cancelpaymentrequestmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::CancelPaymentRequestMessage>::GetOwningArena(cancelpaymentrequestmessage);
if (message_arena != submessage_arena) {
cancelpaymentrequestmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, cancelpaymentrequestmessage, submessage_arena);
@@ -48031,7 +45996,7 @@ inline const ::proto::TemplateMessage& Message::templatemessage() const {
}
inline void Message::unsafe_arena_set_allocated_templatemessage(
::proto::TemplateMessage* templatemessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(templatemessage_);
}
templatemessage_ = templatemessage;
@@ -48046,9 +46011,15 @@ inline ::proto::TemplateMessage* Message::release_templatemessage() {
_has_bits_[0] &= ~0x00100000u;
::proto::TemplateMessage* temp = templatemessage_;
templatemessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::TemplateMessage* Message::unsafe_arena_release_templatemessage() {
@@ -48061,23 +46032,24 @@ inline ::proto::TemplateMessage* Message::unsafe_arena_release_templatemessage()
inline ::proto::TemplateMessage* Message::_internal_mutable_templatemessage() {
_has_bits_[0] |= 0x00100000u;
if (templatemessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::TemplateMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::TemplateMessage>(GetArenaForAllocation());
templatemessage_ = p;
}
return templatemessage_;
}
inline ::proto::TemplateMessage* Message::mutable_templatemessage() {
+ ::proto::TemplateMessage* _msg = _internal_mutable_templatemessage();
// @@protoc_insertion_point(field_mutable:proto.Message.templateMessage)
- return _internal_mutable_templatemessage();
+ return _msg;
}
inline void Message::set_allocated_templatemessage(::proto::TemplateMessage* templatemessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete templatemessage_;
}
if (templatemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(templatemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::TemplateMessage>::GetOwningArena(templatemessage);
if (message_arena != submessage_arena) {
templatemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, templatemessage, submessage_arena);
@@ -48114,7 +46086,7 @@ inline const ::proto::StickerMessage& Message::stickermessage() const {
}
inline void Message::unsafe_arena_set_allocated_stickermessage(
::proto::StickerMessage* stickermessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stickermessage_);
}
stickermessage_ = stickermessage;
@@ -48129,9 +46101,15 @@ inline ::proto::StickerMessage* Message::release_stickermessage() {
_has_bits_[0] &= ~0x00200000u;
::proto::StickerMessage* temp = stickermessage_;
stickermessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::StickerMessage* Message::unsafe_arena_release_stickermessage() {
@@ -48144,23 +46122,24 @@ inline ::proto::StickerMessage* Message::unsafe_arena_release_stickermessage() {
inline ::proto::StickerMessage* Message::_internal_mutable_stickermessage() {
_has_bits_[0] |= 0x00200000u;
if (stickermessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::StickerMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::StickerMessage>(GetArenaForAllocation());
stickermessage_ = p;
}
return stickermessage_;
}
inline ::proto::StickerMessage* Message::mutable_stickermessage() {
+ ::proto::StickerMessage* _msg = _internal_mutable_stickermessage();
// @@protoc_insertion_point(field_mutable:proto.Message.stickerMessage)
- return _internal_mutable_stickermessage();
+ return _msg;
}
inline void Message::set_allocated_stickermessage(::proto::StickerMessage* stickermessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete stickermessage_;
}
if (stickermessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(stickermessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::StickerMessage>::GetOwningArena(stickermessage);
if (message_arena != submessage_arena) {
stickermessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, stickermessage, submessage_arena);
@@ -48197,7 +46176,7 @@ inline const ::proto::GroupInviteMessage& Message::groupinvitemessage() const {
}
inline void Message::unsafe_arena_set_allocated_groupinvitemessage(
::proto::GroupInviteMessage* groupinvitemessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(groupinvitemessage_);
}
groupinvitemessage_ = groupinvitemessage;
@@ -48212,9 +46191,15 @@ inline ::proto::GroupInviteMessage* Message::release_groupinvitemessage() {
_has_bits_[0] &= ~0x00400000u;
::proto::GroupInviteMessage* temp = groupinvitemessage_;
groupinvitemessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::GroupInviteMessage* Message::unsafe_arena_release_groupinvitemessage() {
@@ -48227,23 +46212,24 @@ inline ::proto::GroupInviteMessage* Message::unsafe_arena_release_groupinvitemes
inline ::proto::GroupInviteMessage* Message::_internal_mutable_groupinvitemessage() {
_has_bits_[0] |= 0x00400000u;
if (groupinvitemessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::GroupInviteMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::GroupInviteMessage>(GetArenaForAllocation());
groupinvitemessage_ = p;
}
return groupinvitemessage_;
}
inline ::proto::GroupInviteMessage* Message::mutable_groupinvitemessage() {
+ ::proto::GroupInviteMessage* _msg = _internal_mutable_groupinvitemessage();
// @@protoc_insertion_point(field_mutable:proto.Message.groupInviteMessage)
- return _internal_mutable_groupinvitemessage();
+ return _msg;
}
inline void Message::set_allocated_groupinvitemessage(::proto::GroupInviteMessage* groupinvitemessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete groupinvitemessage_;
}
if (groupinvitemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(groupinvitemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::GroupInviteMessage>::GetOwningArena(groupinvitemessage);
if (message_arena != submessage_arena) {
groupinvitemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, groupinvitemessage, submessage_arena);
@@ -48280,7 +46266,7 @@ inline const ::proto::TemplateButtonReplyMessage& Message::templatebuttonreplyme
}
inline void Message::unsafe_arena_set_allocated_templatebuttonreplymessage(
::proto::TemplateButtonReplyMessage* templatebuttonreplymessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(templatebuttonreplymessage_);
}
templatebuttonreplymessage_ = templatebuttonreplymessage;
@@ -48295,9 +46281,15 @@ inline ::proto::TemplateButtonReplyMessage* Message::release_templatebuttonreply
_has_bits_[0] &= ~0x00800000u;
::proto::TemplateButtonReplyMessage* temp = templatebuttonreplymessage_;
templatebuttonreplymessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::TemplateButtonReplyMessage* Message::unsafe_arena_release_templatebuttonreplymessage() {
@@ -48310,23 +46302,24 @@ inline ::proto::TemplateButtonReplyMessage* Message::unsafe_arena_release_templa
inline ::proto::TemplateButtonReplyMessage* Message::_internal_mutable_templatebuttonreplymessage() {
_has_bits_[0] |= 0x00800000u;
if (templatebuttonreplymessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::TemplateButtonReplyMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::TemplateButtonReplyMessage>(GetArenaForAllocation());
templatebuttonreplymessage_ = p;
}
return templatebuttonreplymessage_;
}
inline ::proto::TemplateButtonReplyMessage* Message::mutable_templatebuttonreplymessage() {
+ ::proto::TemplateButtonReplyMessage* _msg = _internal_mutable_templatebuttonreplymessage();
// @@protoc_insertion_point(field_mutable:proto.Message.templateButtonReplyMessage)
- return _internal_mutable_templatebuttonreplymessage();
+ return _msg;
}
inline void Message::set_allocated_templatebuttonreplymessage(::proto::TemplateButtonReplyMessage* templatebuttonreplymessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete templatebuttonreplymessage_;
}
if (templatebuttonreplymessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(templatebuttonreplymessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::TemplateButtonReplyMessage>::GetOwningArena(templatebuttonreplymessage);
if (message_arena != submessage_arena) {
templatebuttonreplymessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, templatebuttonreplymessage, submessage_arena);
@@ -48363,7 +46356,7 @@ inline const ::proto::ProductMessage& Message::productmessage() const {
}
inline void Message::unsafe_arena_set_allocated_productmessage(
::proto::ProductMessage* productmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(productmessage_);
}
productmessage_ = productmessage;
@@ -48378,9 +46371,15 @@ inline ::proto::ProductMessage* Message::release_productmessage() {
_has_bits_[0] &= ~0x01000000u;
::proto::ProductMessage* temp = productmessage_;
productmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ProductMessage* Message::unsafe_arena_release_productmessage() {
@@ -48393,23 +46392,24 @@ inline ::proto::ProductMessage* Message::unsafe_arena_release_productmessage() {
inline ::proto::ProductMessage* Message::_internal_mutable_productmessage() {
_has_bits_[0] |= 0x01000000u;
if (productmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ProductMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ProductMessage>(GetArenaForAllocation());
productmessage_ = p;
}
return productmessage_;
}
inline ::proto::ProductMessage* Message::mutable_productmessage() {
+ ::proto::ProductMessage* _msg = _internal_mutable_productmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.productMessage)
- return _internal_mutable_productmessage();
+ return _msg;
}
inline void Message::set_allocated_productmessage(::proto::ProductMessage* productmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete productmessage_;
}
if (productmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(productmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ProductMessage>::GetOwningArena(productmessage);
if (message_arena != submessage_arena) {
productmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, productmessage, submessage_arena);
@@ -48446,7 +46446,7 @@ inline const ::proto::DeviceSentMessage& Message::devicesentmessage() const {
}
inline void Message::unsafe_arena_set_allocated_devicesentmessage(
::proto::DeviceSentMessage* devicesentmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(devicesentmessage_);
}
devicesentmessage_ = devicesentmessage;
@@ -48461,9 +46461,15 @@ inline ::proto::DeviceSentMessage* Message::release_devicesentmessage() {
_has_bits_[0] &= ~0x02000000u;
::proto::DeviceSentMessage* temp = devicesentmessage_;
devicesentmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::DeviceSentMessage* Message::unsafe_arena_release_devicesentmessage() {
@@ -48476,23 +46482,24 @@ inline ::proto::DeviceSentMessage* Message::unsafe_arena_release_devicesentmessa
inline ::proto::DeviceSentMessage* Message::_internal_mutable_devicesentmessage() {
_has_bits_[0] |= 0x02000000u;
if (devicesentmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::DeviceSentMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::DeviceSentMessage>(GetArenaForAllocation());
devicesentmessage_ = p;
}
return devicesentmessage_;
}
inline ::proto::DeviceSentMessage* Message::mutable_devicesentmessage() {
+ ::proto::DeviceSentMessage* _msg = _internal_mutable_devicesentmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.deviceSentMessage)
- return _internal_mutable_devicesentmessage();
+ return _msg;
}
inline void Message::set_allocated_devicesentmessage(::proto::DeviceSentMessage* devicesentmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete devicesentmessage_;
}
if (devicesentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(devicesentmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::DeviceSentMessage>::GetOwningArena(devicesentmessage);
if (message_arena != submessage_arena) {
devicesentmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, devicesentmessage, submessage_arena);
@@ -48529,7 +46536,7 @@ inline const ::proto::MessageContextInfo& Message::messagecontextinfo() const {
}
inline void Message::unsafe_arena_set_allocated_messagecontextinfo(
::proto::MessageContextInfo* messagecontextinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(messagecontextinfo_);
}
messagecontextinfo_ = messagecontextinfo;
@@ -48544,9 +46551,15 @@ inline ::proto::MessageContextInfo* Message::release_messagecontextinfo() {
_has_bits_[0] &= ~0x04000000u;
::proto::MessageContextInfo* temp = messagecontextinfo_;
messagecontextinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::MessageContextInfo* Message::unsafe_arena_release_messagecontextinfo() {
@@ -48559,23 +46572,24 @@ inline ::proto::MessageContextInfo* Message::unsafe_arena_release_messagecontext
inline ::proto::MessageContextInfo* Message::_internal_mutable_messagecontextinfo() {
_has_bits_[0] |= 0x04000000u;
if (messagecontextinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::MessageContextInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::MessageContextInfo>(GetArenaForAllocation());
messagecontextinfo_ = p;
}
return messagecontextinfo_;
}
inline ::proto::MessageContextInfo* Message::mutable_messagecontextinfo() {
+ ::proto::MessageContextInfo* _msg = _internal_mutable_messagecontextinfo();
// @@protoc_insertion_point(field_mutable:proto.Message.messageContextInfo)
- return _internal_mutable_messagecontextinfo();
+ return _msg;
}
inline void Message::set_allocated_messagecontextinfo(::proto::MessageContextInfo* messagecontextinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete messagecontextinfo_;
}
if (messagecontextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(messagecontextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageContextInfo>::GetOwningArena(messagecontextinfo);
if (message_arena != submessage_arena) {
messagecontextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, messagecontextinfo, submessage_arena);
@@ -48612,7 +46626,7 @@ inline const ::proto::ListMessage& Message::listmessage() const {
}
inline void Message::unsafe_arena_set_allocated_listmessage(
::proto::ListMessage* listmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(listmessage_);
}
listmessage_ = listmessage;
@@ -48627,9 +46641,15 @@ inline ::proto::ListMessage* Message::release_listmessage() {
_has_bits_[0] &= ~0x08000000u;
::proto::ListMessage* temp = listmessage_;
listmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ListMessage* Message::unsafe_arena_release_listmessage() {
@@ -48642,23 +46662,24 @@ inline ::proto::ListMessage* Message::unsafe_arena_release_listmessage() {
inline ::proto::ListMessage* Message::_internal_mutable_listmessage() {
_has_bits_[0] |= 0x08000000u;
if (listmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ListMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ListMessage>(GetArenaForAllocation());
listmessage_ = p;
}
return listmessage_;
}
inline ::proto::ListMessage* Message::mutable_listmessage() {
+ ::proto::ListMessage* _msg = _internal_mutable_listmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.listMessage)
- return _internal_mutable_listmessage();
+ return _msg;
}
inline void Message::set_allocated_listmessage(::proto::ListMessage* listmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete listmessage_;
}
if (listmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(listmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ListMessage>::GetOwningArena(listmessage);
if (message_arena != submessage_arena) {
listmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, listmessage, submessage_arena);
@@ -48695,7 +46716,7 @@ inline const ::proto::FutureProofMessage& Message::viewoncemessage() const {
}
inline void Message::unsafe_arena_set_allocated_viewoncemessage(
::proto::FutureProofMessage* viewoncemessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(viewoncemessage_);
}
viewoncemessage_ = viewoncemessage;
@@ -48710,9 +46731,15 @@ inline ::proto::FutureProofMessage* Message::release_viewoncemessage() {
_has_bits_[0] &= ~0x10000000u;
::proto::FutureProofMessage* temp = viewoncemessage_;
viewoncemessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::FutureProofMessage* Message::unsafe_arena_release_viewoncemessage() {
@@ -48725,23 +46752,24 @@ inline ::proto::FutureProofMessage* Message::unsafe_arena_release_viewoncemessag
inline ::proto::FutureProofMessage* Message::_internal_mutable_viewoncemessage() {
_has_bits_[0] |= 0x10000000u;
if (viewoncemessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::FutureProofMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::FutureProofMessage>(GetArenaForAllocation());
viewoncemessage_ = p;
}
return viewoncemessage_;
}
inline ::proto::FutureProofMessage* Message::mutable_viewoncemessage() {
+ ::proto::FutureProofMessage* _msg = _internal_mutable_viewoncemessage();
// @@protoc_insertion_point(field_mutable:proto.Message.viewOnceMessage)
- return _internal_mutable_viewoncemessage();
+ return _msg;
}
inline void Message::set_allocated_viewoncemessage(::proto::FutureProofMessage* viewoncemessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete viewoncemessage_;
}
if (viewoncemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(viewoncemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::FutureProofMessage>::GetOwningArena(viewoncemessage);
if (message_arena != submessage_arena) {
viewoncemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, viewoncemessage, submessage_arena);
@@ -48778,7 +46806,7 @@ inline const ::proto::OrderMessage& Message::ordermessage() const {
}
inline void Message::unsafe_arena_set_allocated_ordermessage(
::proto::OrderMessage* ordermessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ordermessage_);
}
ordermessage_ = ordermessage;
@@ -48793,9 +46821,15 @@ inline ::proto::OrderMessage* Message::release_ordermessage() {
_has_bits_[0] &= ~0x20000000u;
::proto::OrderMessage* temp = ordermessage_;
ordermessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::OrderMessage* Message::unsafe_arena_release_ordermessage() {
@@ -48808,23 +46842,24 @@ inline ::proto::OrderMessage* Message::unsafe_arena_release_ordermessage() {
inline ::proto::OrderMessage* Message::_internal_mutable_ordermessage() {
_has_bits_[0] |= 0x20000000u;
if (ordermessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::OrderMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::OrderMessage>(GetArenaForAllocation());
ordermessage_ = p;
}
return ordermessage_;
}
inline ::proto::OrderMessage* Message::mutable_ordermessage() {
+ ::proto::OrderMessage* _msg = _internal_mutable_ordermessage();
// @@protoc_insertion_point(field_mutable:proto.Message.orderMessage)
- return _internal_mutable_ordermessage();
+ return _msg;
}
inline void Message::set_allocated_ordermessage(::proto::OrderMessage* ordermessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete ordermessage_;
}
if (ordermessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(ordermessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::OrderMessage>::GetOwningArena(ordermessage);
if (message_arena != submessage_arena) {
ordermessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, ordermessage, submessage_arena);
@@ -48861,7 +46896,7 @@ inline const ::proto::ListResponseMessage& Message::listresponsemessage() const
}
inline void Message::unsafe_arena_set_allocated_listresponsemessage(
::proto::ListResponseMessage* listresponsemessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(listresponsemessage_);
}
listresponsemessage_ = listresponsemessage;
@@ -48876,9 +46911,15 @@ inline ::proto::ListResponseMessage* Message::release_listresponsemessage() {
_has_bits_[0] &= ~0x40000000u;
::proto::ListResponseMessage* temp = listresponsemessage_;
listresponsemessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ListResponseMessage* Message::unsafe_arena_release_listresponsemessage() {
@@ -48891,23 +46932,24 @@ inline ::proto::ListResponseMessage* Message::unsafe_arena_release_listresponsem
inline ::proto::ListResponseMessage* Message::_internal_mutable_listresponsemessage() {
_has_bits_[0] |= 0x40000000u;
if (listresponsemessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ListResponseMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ListResponseMessage>(GetArenaForAllocation());
listresponsemessage_ = p;
}
return listresponsemessage_;
}
inline ::proto::ListResponseMessage* Message::mutable_listresponsemessage() {
+ ::proto::ListResponseMessage* _msg = _internal_mutable_listresponsemessage();
// @@protoc_insertion_point(field_mutable:proto.Message.listResponseMessage)
- return _internal_mutable_listresponsemessage();
+ return _msg;
}
inline void Message::set_allocated_listresponsemessage(::proto::ListResponseMessage* listresponsemessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete listresponsemessage_;
}
if (listresponsemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(listresponsemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ListResponseMessage>::GetOwningArena(listresponsemessage);
if (message_arena != submessage_arena) {
listresponsemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, listresponsemessage, submessage_arena);
@@ -48944,7 +46986,7 @@ inline const ::proto::FutureProofMessage& Message::ephemeralmessage() const {
}
inline void Message::unsafe_arena_set_allocated_ephemeralmessage(
::proto::FutureProofMessage* ephemeralmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ephemeralmessage_);
}
ephemeralmessage_ = ephemeralmessage;
@@ -48959,9 +47001,15 @@ inline ::proto::FutureProofMessage* Message::release_ephemeralmessage() {
_has_bits_[0] &= ~0x80000000u;
::proto::FutureProofMessage* temp = ephemeralmessage_;
ephemeralmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::FutureProofMessage* Message::unsafe_arena_release_ephemeralmessage() {
@@ -48974,23 +47022,24 @@ inline ::proto::FutureProofMessage* Message::unsafe_arena_release_ephemeralmessa
inline ::proto::FutureProofMessage* Message::_internal_mutable_ephemeralmessage() {
_has_bits_[0] |= 0x80000000u;
if (ephemeralmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::FutureProofMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::FutureProofMessage>(GetArenaForAllocation());
ephemeralmessage_ = p;
}
return ephemeralmessage_;
}
inline ::proto::FutureProofMessage* Message::mutable_ephemeralmessage() {
+ ::proto::FutureProofMessage* _msg = _internal_mutable_ephemeralmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.ephemeralMessage)
- return _internal_mutable_ephemeralmessage();
+ return _msg;
}
inline void Message::set_allocated_ephemeralmessage(::proto::FutureProofMessage* ephemeralmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete ephemeralmessage_;
}
if (ephemeralmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(ephemeralmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::FutureProofMessage>::GetOwningArena(ephemeralmessage);
if (message_arena != submessage_arena) {
ephemeralmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, ephemeralmessage, submessage_arena);
@@ -49027,7 +47076,7 @@ inline const ::proto::InvoiceMessage& Message::invoicemessage() const {
}
inline void Message::unsafe_arena_set_allocated_invoicemessage(
::proto::InvoiceMessage* invoicemessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(invoicemessage_);
}
invoicemessage_ = invoicemessage;
@@ -49042,9 +47091,15 @@ inline ::proto::InvoiceMessage* Message::release_invoicemessage() {
_has_bits_[1] &= ~0x00000001u;
::proto::InvoiceMessage* temp = invoicemessage_;
invoicemessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::InvoiceMessage* Message::unsafe_arena_release_invoicemessage() {
@@ -49057,23 +47112,24 @@ inline ::proto::InvoiceMessage* Message::unsafe_arena_release_invoicemessage() {
inline ::proto::InvoiceMessage* Message::_internal_mutable_invoicemessage() {
_has_bits_[1] |= 0x00000001u;
if (invoicemessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::InvoiceMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::InvoiceMessage>(GetArenaForAllocation());
invoicemessage_ = p;
}
return invoicemessage_;
}
inline ::proto::InvoiceMessage* Message::mutable_invoicemessage() {
+ ::proto::InvoiceMessage* _msg = _internal_mutable_invoicemessage();
// @@protoc_insertion_point(field_mutable:proto.Message.invoiceMessage)
- return _internal_mutable_invoicemessage();
+ return _msg;
}
inline void Message::set_allocated_invoicemessage(::proto::InvoiceMessage* invoicemessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete invoicemessage_;
}
if (invoicemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(invoicemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::InvoiceMessage>::GetOwningArena(invoicemessage);
if (message_arena != submessage_arena) {
invoicemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, invoicemessage, submessage_arena);
@@ -49110,7 +47166,7 @@ inline const ::proto::ButtonsMessage& Message::buttonsmessage() const {
}
inline void Message::unsafe_arena_set_allocated_buttonsmessage(
::proto::ButtonsMessage* buttonsmessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(buttonsmessage_);
}
buttonsmessage_ = buttonsmessage;
@@ -49125,9 +47181,15 @@ inline ::proto::ButtonsMessage* Message::release_buttonsmessage() {
_has_bits_[1] &= ~0x00000002u;
::proto::ButtonsMessage* temp = buttonsmessage_;
buttonsmessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ButtonsMessage* Message::unsafe_arena_release_buttonsmessage() {
@@ -49140,23 +47202,24 @@ inline ::proto::ButtonsMessage* Message::unsafe_arena_release_buttonsmessage() {
inline ::proto::ButtonsMessage* Message::_internal_mutable_buttonsmessage() {
_has_bits_[1] |= 0x00000002u;
if (buttonsmessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ButtonsMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ButtonsMessage>(GetArenaForAllocation());
buttonsmessage_ = p;
}
return buttonsmessage_;
}
inline ::proto::ButtonsMessage* Message::mutable_buttonsmessage() {
+ ::proto::ButtonsMessage* _msg = _internal_mutable_buttonsmessage();
// @@protoc_insertion_point(field_mutable:proto.Message.buttonsMessage)
- return _internal_mutable_buttonsmessage();
+ return _msg;
}
inline void Message::set_allocated_buttonsmessage(::proto::ButtonsMessage* buttonsmessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete buttonsmessage_;
}
if (buttonsmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(buttonsmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ButtonsMessage>::GetOwningArena(buttonsmessage);
if (message_arena != submessage_arena) {
buttonsmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, buttonsmessage, submessage_arena);
@@ -49193,7 +47256,7 @@ inline const ::proto::ButtonsResponseMessage& Message::buttonsresponsemessage()
}
inline void Message::unsafe_arena_set_allocated_buttonsresponsemessage(
::proto::ButtonsResponseMessage* buttonsresponsemessage) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(buttonsresponsemessage_);
}
buttonsresponsemessage_ = buttonsresponsemessage;
@@ -49208,9 +47271,15 @@ inline ::proto::ButtonsResponseMessage* Message::release_buttonsresponsemessage(
_has_bits_[1] &= ~0x00000004u;
::proto::ButtonsResponseMessage* temp = buttonsresponsemessage_;
buttonsresponsemessage_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::ButtonsResponseMessage* Message::unsafe_arena_release_buttonsresponsemessage() {
@@ -49223,23 +47292,24 @@ inline ::proto::ButtonsResponseMessage* Message::unsafe_arena_release_buttonsres
inline ::proto::ButtonsResponseMessage* Message::_internal_mutable_buttonsresponsemessage() {
_has_bits_[1] |= 0x00000004u;
if (buttonsresponsemessage_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::ButtonsResponseMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::ButtonsResponseMessage>(GetArenaForAllocation());
buttonsresponsemessage_ = p;
}
return buttonsresponsemessage_;
}
inline ::proto::ButtonsResponseMessage* Message::mutable_buttonsresponsemessage() {
+ ::proto::ButtonsResponseMessage* _msg = _internal_mutable_buttonsresponsemessage();
// @@protoc_insertion_point(field_mutable:proto.Message.buttonsResponseMessage)
- return _internal_mutable_buttonsresponsemessage();
+ return _msg;
}
inline void Message::set_allocated_buttonsresponsemessage(::proto::ButtonsResponseMessage* buttonsresponsemessage) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete buttonsresponsemessage_;
}
if (buttonsresponsemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(buttonsresponsemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ButtonsResponseMessage>::GetOwningArena(buttonsresponsemessage);
if (message_arena != submessage_arena) {
buttonsresponsemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, buttonsresponsemessage, submessage_arena);
@@ -49272,43 +47342,28 @@ inline const std::string& MessageKey::remotejid() const {
// @@protoc_insertion_point(field_get:proto.MessageKey.remoteJid)
return _internal_remotejid();
}
-inline void MessageKey::set_remotejid(const std::string& value) {
- _internal_set_remotejid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void MessageKey::set_remotejid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ remotejid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.MessageKey.remoteJid)
}
inline std::string* MessageKey::mutable_remotejid() {
+ std::string* _s = _internal_mutable_remotejid();
// @@protoc_insertion_point(field_mutable:proto.MessageKey.remoteJid)
- return _internal_mutable_remotejid();
+ return _s;
}
inline const std::string& MessageKey::_internal_remotejid() const {
return remotejid_.Get();
}
inline void MessageKey::_internal_set_remotejid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- remotejid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void MessageKey::set_remotejid(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- remotejid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.MessageKey.remoteJid)
-}
-inline void MessageKey::set_remotejid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- remotejid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.MessageKey.remoteJid)
-}
-inline void MessageKey::set_remotejid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- remotejid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.MessageKey.remoteJid)
+ remotejid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* MessageKey::_internal_mutable_remotejid() {
_has_bits_[0] |= 0x00000001u;
- return remotejid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return remotejid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* MessageKey::release_remotejid() {
// @@protoc_insertion_point(field_release:proto.MessageKey.remoteJid)
@@ -49316,7 +47371,7 @@ inline std::string* MessageKey::release_remotejid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return remotejid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return remotejid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void MessageKey::set_allocated_remotejid(std::string* remotejid) {
if (remotejid != nullptr) {
@@ -49325,7 +47380,7 @@ inline void MessageKey::set_allocated_remotejid(std::string* remotejid) {
_has_bits_[0] &= ~0x00000001u;
}
remotejid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), remotejid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.MessageKey.remoteJid)
}
@@ -49373,43 +47428,28 @@ inline const std::string& MessageKey::id() const {
// @@protoc_insertion_point(field_get:proto.MessageKey.id)
return _internal_id();
}
-inline void MessageKey::set_id(const std::string& value) {
- _internal_set_id(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void MessageKey::set_id(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.MessageKey.id)
}
inline std::string* MessageKey::mutable_id() {
+ std::string* _s = _internal_mutable_id();
// @@protoc_insertion_point(field_mutable:proto.MessageKey.id)
- return _internal_mutable_id();
+ return _s;
}
inline const std::string& MessageKey::_internal_id() const {
return id_.Get();
}
inline void MessageKey::_internal_set_id(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void MessageKey::set_id(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- id_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.MessageKey.id)
-}
-inline void MessageKey::set_id(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.MessageKey.id)
-}
-inline void MessageKey::set_id(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.MessageKey.id)
+ id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* MessageKey::_internal_mutable_id() {
_has_bits_[0] |= 0x00000002u;
- return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* MessageKey::release_id() {
// @@protoc_insertion_point(field_release:proto.MessageKey.id)
@@ -49417,7 +47457,7 @@ inline std::string* MessageKey::release_id() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void MessageKey::set_allocated_id(std::string* id) {
if (id != nullptr) {
@@ -49426,7 +47466,7 @@ inline void MessageKey::set_allocated_id(std::string* id) {
_has_bits_[0] &= ~0x00000002u;
}
id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.MessageKey.id)
}
@@ -49446,43 +47486,28 @@ inline const std::string& MessageKey::participant() const {
// @@protoc_insertion_point(field_get:proto.MessageKey.participant)
return _internal_participant();
}
-inline void MessageKey::set_participant(const std::string& value) {
- _internal_set_participant(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void MessageKey::set_participant(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.MessageKey.participant)
}
inline std::string* MessageKey::mutable_participant() {
+ std::string* _s = _internal_mutable_participant();
// @@protoc_insertion_point(field_mutable:proto.MessageKey.participant)
- return _internal_mutable_participant();
+ return _s;
}
inline const std::string& MessageKey::_internal_participant() const {
return participant_.Get();
}
inline void MessageKey::_internal_set_participant(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void MessageKey::set_participant(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- participant_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.MessageKey.participant)
-}
-inline void MessageKey::set_participant(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.MessageKey.participant)
-}
-inline void MessageKey::set_participant(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.MessageKey.participant)
+ participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* MessageKey::_internal_mutable_participant() {
_has_bits_[0] |= 0x00000004u;
- return participant_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return participant_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* MessageKey::release_participant() {
// @@protoc_insertion_point(field_release:proto.MessageKey.participant)
@@ -49490,7 +47515,7 @@ inline std::string* MessageKey::release_participant() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return participant_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return participant_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void MessageKey::set_allocated_participant(std::string* participant) {
if (participant != nullptr) {
@@ -49499,7 +47524,7 @@ inline void MessageKey::set_allocated_participant(std::string* participant) {
_has_bits_[0] &= ~0x00000004u;
}
participant_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), participant,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.MessageKey.participant)
}
@@ -50695,7 +48720,7 @@ inline const ::proto::MessageKey& NotificationMessageInfo::key() const {
}
inline void NotificationMessageInfo::unsafe_arena_set_allocated_key(
::proto::MessageKey* key) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_);
}
key_ = key;
@@ -50710,9 +48735,15 @@ inline ::proto::MessageKey* NotificationMessageInfo::release_key() {
_has_bits_[0] &= ~0x00000002u;
::proto::MessageKey* temp = key_;
key_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::MessageKey* NotificationMessageInfo::unsafe_arena_release_key() {
@@ -50725,23 +48756,24 @@ inline ::proto::MessageKey* NotificationMessageInfo::unsafe_arena_release_key()
inline ::proto::MessageKey* NotificationMessageInfo::_internal_mutable_key() {
_has_bits_[0] |= 0x00000002u;
if (key_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
key_ = p;
}
return key_;
}
inline ::proto::MessageKey* NotificationMessageInfo::mutable_key() {
+ ::proto::MessageKey* _msg = _internal_mutable_key();
// @@protoc_insertion_point(field_mutable:proto.NotificationMessageInfo.key)
- return _internal_mutable_key();
+ return _msg;
}
inline void NotificationMessageInfo::set_allocated_key(::proto::MessageKey* key) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete key_;
}
if (key) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(key);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(key);
if (message_arena != submessage_arena) {
key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, key, submessage_arena);
@@ -50778,7 +48810,7 @@ inline const ::proto::Message& NotificationMessageInfo::message() const {
}
inline void NotificationMessageInfo::unsafe_arena_set_allocated_message(
::proto::Message* message) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(message_);
}
message_ = message;
@@ -50793,9 +48825,15 @@ inline ::proto::Message* NotificationMessageInfo::release_message() {
_has_bits_[0] &= ~0x00000004u;
::proto::Message* temp = message_;
message_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::Message* NotificationMessageInfo::unsafe_arena_release_message() {
@@ -50808,23 +48846,24 @@ inline ::proto::Message* NotificationMessageInfo::unsafe_arena_release_message()
inline ::proto::Message* NotificationMessageInfo::_internal_mutable_message() {
_has_bits_[0] |= 0x00000004u;
if (message_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::Message>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::Message>(GetArenaForAllocation());
message_ = p;
}
return message_;
}
inline ::proto::Message* NotificationMessageInfo::mutable_message() {
+ ::proto::Message* _msg = _internal_mutable_message();
// @@protoc_insertion_point(field_mutable:proto.NotificationMessageInfo.message)
- return _internal_mutable_message();
+ return _msg;
}
inline void NotificationMessageInfo::set_allocated_message(::proto::Message* message) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete message_;
}
if (message) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(message);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Message>::GetOwningArena(message);
if (message_arena != submessage_arena) {
message = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, message, submessage_arena);
@@ -50846,7 +48885,7 @@ inline bool NotificationMessageInfo::has_messagetimestamp() const {
return _internal_has_messagetimestamp();
}
inline void NotificationMessageInfo::clear_messagetimestamp() {
- messagetimestamp_ = PROTOBUF_ULONGLONG(0);
+ messagetimestamp_ = uint64_t{0u};
_has_bits_[0] &= ~0x00000008u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 NotificationMessageInfo::_internal_messagetimestamp() const {
@@ -50881,43 +48920,28 @@ inline const std::string& NotificationMessageInfo::participant() const {
// @@protoc_insertion_point(field_get:proto.NotificationMessageInfo.participant)
return _internal_participant();
}
-inline void NotificationMessageInfo::set_participant(const std::string& value) {
- _internal_set_participant(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void NotificationMessageInfo::set_participant(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.NotificationMessageInfo.participant)
}
inline std::string* NotificationMessageInfo::mutable_participant() {
+ std::string* _s = _internal_mutable_participant();
// @@protoc_insertion_point(field_mutable:proto.NotificationMessageInfo.participant)
- return _internal_mutable_participant();
+ return _s;
}
inline const std::string& NotificationMessageInfo::_internal_participant() const {
return participant_.Get();
}
inline void NotificationMessageInfo::_internal_set_participant(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void NotificationMessageInfo::set_participant(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- participant_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.NotificationMessageInfo.participant)
-}
-inline void NotificationMessageInfo::set_participant(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.NotificationMessageInfo.participant)
-}
-inline void NotificationMessageInfo::set_participant(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.NotificationMessageInfo.participant)
+ participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* NotificationMessageInfo::_internal_mutable_participant() {
_has_bits_[0] |= 0x00000001u;
- return participant_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return participant_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* NotificationMessageInfo::release_participant() {
// @@protoc_insertion_point(field_release:proto.NotificationMessageInfo.participant)
@@ -50925,7 +48949,7 @@ inline std::string* NotificationMessageInfo::release_participant() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return participant_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return participant_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void NotificationMessageInfo::set_allocated_participant(std::string* participant) {
if (participant != nullptr) {
@@ -50934,7 +48958,7 @@ inline void NotificationMessageInfo::set_allocated_participant(std::string* part
_has_bits_[0] &= ~0x00000001u;
}
participant_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), participant,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.NotificationMessageInfo.participant)
}
@@ -50951,7 +48975,7 @@ inline bool WebNotificationsInfo::has_timestamp() const {
return _internal_has_timestamp();
}
inline void WebNotificationsInfo::clear_timestamp() {
- timestamp_ = PROTOBUF_ULONGLONG(0);
+ timestamp_ = uint64_t{0u};
_has_bits_[0] &= ~0x00000001u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 WebNotificationsInfo::_internal_timestamp() const {
@@ -51056,8 +49080,9 @@ inline ::proto::WebMessageInfo* WebNotificationsInfo::_internal_add_notifymessag
return notifymessages_.Add();
}
inline ::proto::WebMessageInfo* WebNotificationsInfo::add_notifymessages() {
+ ::proto::WebMessageInfo* _add = _internal_add_notifymessages();
// @@protoc_insertion_point(field_add:proto.WebNotificationsInfo.notifyMessages)
- return _internal_add_notifymessages();
+ return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::WebMessageInfo >&
WebNotificationsInfo::notifymessages() const {
@@ -51107,7 +49132,7 @@ inline bool PaymentInfo::has_amount1000() const {
return _internal_has_amount1000();
}
inline void PaymentInfo::clear_amount1000() {
- amount1000_ = PROTOBUF_ULONGLONG(0);
+ amount1000_ = uint64_t{0u};
_has_bits_[0] &= ~0x00000020u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 PaymentInfo::_internal_amount1000() const {
@@ -51142,43 +49167,28 @@ inline const std::string& PaymentInfo::receiverjid() const {
// @@protoc_insertion_point(field_get:proto.PaymentInfo.receiverJid)
return _internal_receiverjid();
}
-inline void PaymentInfo::set_receiverjid(const std::string& value) {
- _internal_set_receiverjid(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void PaymentInfo::set_receiverjid(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ receiverjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.PaymentInfo.receiverJid)
}
inline std::string* PaymentInfo::mutable_receiverjid() {
+ std::string* _s = _internal_mutable_receiverjid();
// @@protoc_insertion_point(field_mutable:proto.PaymentInfo.receiverJid)
- return _internal_mutable_receiverjid();
+ return _s;
}
inline const std::string& PaymentInfo::_internal_receiverjid() const {
return receiverjid_.Get();
}
inline void PaymentInfo::_internal_set_receiverjid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- receiverjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void PaymentInfo::set_receiverjid(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- receiverjid_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.PaymentInfo.receiverJid)
-}
-inline void PaymentInfo::set_receiverjid(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- receiverjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.PaymentInfo.receiverJid)
-}
-inline void PaymentInfo::set_receiverjid(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- receiverjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.PaymentInfo.receiverJid)
+ receiverjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PaymentInfo::_internal_mutable_receiverjid() {
_has_bits_[0] |= 0x00000001u;
- return receiverjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return receiverjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PaymentInfo::release_receiverjid() {
// @@protoc_insertion_point(field_release:proto.PaymentInfo.receiverJid)
@@ -51186,7 +49196,7 @@ inline std::string* PaymentInfo::release_receiverjid() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return receiverjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return receiverjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PaymentInfo::set_allocated_receiverjid(std::string* receiverjid) {
if (receiverjid != nullptr) {
@@ -51195,7 +49205,7 @@ inline void PaymentInfo::set_allocated_receiverjid(std::string* receiverjid) {
_has_bits_[0] &= ~0x00000001u;
}
receiverjid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), receiverjid,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.PaymentInfo.receiverJid)
}
@@ -51237,7 +49247,7 @@ inline bool PaymentInfo::has_transactiontimestamp() const {
return _internal_has_transactiontimestamp();
}
inline void PaymentInfo::clear_transactiontimestamp() {
- transactiontimestamp_ = PROTOBUF_ULONGLONG(0);
+ transactiontimestamp_ = uint64_t{0u};
_has_bits_[0] &= ~0x00000100u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 PaymentInfo::_internal_transactiontimestamp() const {
@@ -51280,7 +49290,7 @@ inline const ::proto::MessageKey& PaymentInfo::requestmessagekey() const {
}
inline void PaymentInfo::unsafe_arena_set_allocated_requestmessagekey(
::proto::MessageKey* requestmessagekey) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(requestmessagekey_);
}
requestmessagekey_ = requestmessagekey;
@@ -51295,9 +49305,15 @@ inline ::proto::MessageKey* PaymentInfo::release_requestmessagekey() {
_has_bits_[0] &= ~0x00000004u;
::proto::MessageKey* temp = requestmessagekey_;
requestmessagekey_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::MessageKey* PaymentInfo::unsafe_arena_release_requestmessagekey() {
@@ -51310,23 +49326,24 @@ inline ::proto::MessageKey* PaymentInfo::unsafe_arena_release_requestmessagekey(
inline ::proto::MessageKey* PaymentInfo::_internal_mutable_requestmessagekey() {
_has_bits_[0] |= 0x00000004u;
if (requestmessagekey_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
requestmessagekey_ = p;
}
return requestmessagekey_;
}
inline ::proto::MessageKey* PaymentInfo::mutable_requestmessagekey() {
+ ::proto::MessageKey* _msg = _internal_mutable_requestmessagekey();
// @@protoc_insertion_point(field_mutable:proto.PaymentInfo.requestMessageKey)
- return _internal_mutable_requestmessagekey();
+ return _msg;
}
inline void PaymentInfo::set_allocated_requestmessagekey(::proto::MessageKey* requestmessagekey) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete requestmessagekey_;
}
if (requestmessagekey) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(requestmessagekey);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(requestmessagekey);
if (message_arena != submessage_arena) {
requestmessagekey = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, requestmessagekey, submessage_arena);
@@ -51348,7 +49365,7 @@ inline bool PaymentInfo::has_expirytimestamp() const {
return _internal_has_expirytimestamp();
}
inline void PaymentInfo::clear_expirytimestamp() {
- expirytimestamp_ = PROTOBUF_ULONGLONG(0);
+ expirytimestamp_ = uint64_t{0u};
_has_bits_[0] &= ~0x00000200u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 PaymentInfo::_internal_expirytimestamp() const {
@@ -51411,43 +49428,28 @@ inline const std::string& PaymentInfo::currency() const {
// @@protoc_insertion_point(field_get:proto.PaymentInfo.currency)
return _internal_currency();
}
-inline void PaymentInfo::set_currency(const std::string& value) {
- _internal_set_currency(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void PaymentInfo::set_currency(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ currency_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.PaymentInfo.currency)
}
inline std::string* PaymentInfo::mutable_currency() {
+ std::string* _s = _internal_mutable_currency();
// @@protoc_insertion_point(field_mutable:proto.PaymentInfo.currency)
- return _internal_mutable_currency();
+ return _s;
}
inline const std::string& PaymentInfo::_internal_currency() const {
return currency_.Get();
}
inline void PaymentInfo::_internal_set_currency(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- currency_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void PaymentInfo::set_currency(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- currency_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.PaymentInfo.currency)
-}
-inline void PaymentInfo::set_currency(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- currency_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.PaymentInfo.currency)
-}
-inline void PaymentInfo::set_currency(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- currency_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.PaymentInfo.currency)
+ currency_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PaymentInfo::_internal_mutable_currency() {
_has_bits_[0] |= 0x00000002u;
- return currency_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return currency_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PaymentInfo::release_currency() {
// @@protoc_insertion_point(field_release:proto.PaymentInfo.currency)
@@ -51455,7 +49457,7 @@ inline std::string* PaymentInfo::release_currency() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return currency_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return currency_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PaymentInfo::set_allocated_currency(std::string* currency) {
if (currency != nullptr) {
@@ -51464,7 +49466,7 @@ inline void PaymentInfo::set_allocated_currency(std::string* currency) {
_has_bits_[0] &= ~0x00000002u;
}
currency_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), currency,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.PaymentInfo.currency)
}
@@ -51549,7 +49551,7 @@ inline const ::proto::PaymentMoney& PaymentInfo::primaryamount() const {
}
inline void PaymentInfo::unsafe_arena_set_allocated_primaryamount(
::proto::PaymentMoney* primaryamount) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(primaryamount_);
}
primaryamount_ = primaryamount;
@@ -51564,9 +49566,15 @@ inline ::proto::PaymentMoney* PaymentInfo::release_primaryamount() {
_has_bits_[0] &= ~0x00000008u;
::proto::PaymentMoney* temp = primaryamount_;
primaryamount_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::PaymentMoney* PaymentInfo::unsafe_arena_release_primaryamount() {
@@ -51579,23 +49587,24 @@ inline ::proto::PaymentMoney* PaymentInfo::unsafe_arena_release_primaryamount()
inline ::proto::PaymentMoney* PaymentInfo::_internal_mutable_primaryamount() {
_has_bits_[0] |= 0x00000008u;
if (primaryamount_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::PaymentMoney>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::PaymentMoney>(GetArenaForAllocation());
primaryamount_ = p;
}
return primaryamount_;
}
inline ::proto::PaymentMoney* PaymentInfo::mutable_primaryamount() {
+ ::proto::PaymentMoney* _msg = _internal_mutable_primaryamount();
// @@protoc_insertion_point(field_mutable:proto.PaymentInfo.primaryAmount)
- return _internal_mutable_primaryamount();
+ return _msg;
}
inline void PaymentInfo::set_allocated_primaryamount(::proto::PaymentMoney* primaryamount) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete primaryamount_;
}
if (primaryamount) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(primaryamount);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::PaymentMoney>::GetOwningArena(primaryamount);
if (message_arena != submessage_arena) {
primaryamount = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, primaryamount, submessage_arena);
@@ -51632,7 +49641,7 @@ inline const ::proto::PaymentMoney& PaymentInfo::exchangeamount() const {
}
inline void PaymentInfo::unsafe_arena_set_allocated_exchangeamount(
::proto::PaymentMoney* exchangeamount) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(exchangeamount_);
}
exchangeamount_ = exchangeamount;
@@ -51647,9 +49656,15 @@ inline ::proto::PaymentMoney* PaymentInfo::release_exchangeamount() {
_has_bits_[0] &= ~0x00000010u;
::proto::PaymentMoney* temp = exchangeamount_;
exchangeamount_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::PaymentMoney* PaymentInfo::unsafe_arena_release_exchangeamount() {
@@ -51662,23 +49677,24 @@ inline ::proto::PaymentMoney* PaymentInfo::unsafe_arena_release_exchangeamount()
inline ::proto::PaymentMoney* PaymentInfo::_internal_mutable_exchangeamount() {
_has_bits_[0] |= 0x00000010u;
if (exchangeamount_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::PaymentMoney>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::PaymentMoney>(GetArenaForAllocation());
exchangeamount_ = p;
}
return exchangeamount_;
}
inline ::proto::PaymentMoney* PaymentInfo::mutable_exchangeamount() {
+ ::proto::PaymentMoney* _msg = _internal_mutable_exchangeamount();
// @@protoc_insertion_point(field_mutable:proto.PaymentInfo.exchangeAmount)
- return _internal_mutable_exchangeamount();
+ return _msg;
}
inline void PaymentInfo::set_allocated_exchangeamount(::proto::PaymentMoney* exchangeamount) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete exchangeamount_;
}
if (exchangeamount) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(exchangeamount);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::PaymentMoney>::GetOwningArena(exchangeamount);
if (message_arena != submessage_arena) {
exchangeamount = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, exchangeamount, submessage_arena);
@@ -51719,7 +49735,7 @@ inline const ::proto::MessageKey& WebMessageInfo::key() const {
}
inline void WebMessageInfo::unsafe_arena_set_allocated_key(
::proto::MessageKey* key) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_);
}
key_ = key;
@@ -51734,9 +49750,15 @@ inline ::proto::MessageKey* WebMessageInfo::release_key() {
_has_bits_[0] &= ~0x00000010u;
::proto::MessageKey* temp = key_;
key_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::MessageKey* WebMessageInfo::unsafe_arena_release_key() {
@@ -51749,23 +49771,24 @@ inline ::proto::MessageKey* WebMessageInfo::unsafe_arena_release_key() {
inline ::proto::MessageKey* WebMessageInfo::_internal_mutable_key() {
_has_bits_[0] |= 0x00000010u;
if (key_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
key_ = p;
}
return key_;
}
inline ::proto::MessageKey* WebMessageInfo::mutable_key() {
+ ::proto::MessageKey* _msg = _internal_mutable_key();
// @@protoc_insertion_point(field_mutable:proto.WebMessageInfo.key)
- return _internal_mutable_key();
+ return _msg;
}
inline void WebMessageInfo::set_allocated_key(::proto::MessageKey* key) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete key_;
}
if (key) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(key);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(key);
if (message_arena != submessage_arena) {
key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, key, submessage_arena);
@@ -51802,7 +49825,7 @@ inline const ::proto::Message& WebMessageInfo::message() const {
}
inline void WebMessageInfo::unsafe_arena_set_allocated_message(
::proto::Message* message) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(message_);
}
message_ = message;
@@ -51817,9 +49840,15 @@ inline ::proto::Message* WebMessageInfo::release_message() {
_has_bits_[0] &= ~0x00000020u;
::proto::Message* temp = message_;
message_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::Message* WebMessageInfo::unsafe_arena_release_message() {
@@ -51832,23 +49861,24 @@ inline ::proto::Message* WebMessageInfo::unsafe_arena_release_message() {
inline ::proto::Message* WebMessageInfo::_internal_mutable_message() {
_has_bits_[0] |= 0x00000020u;
if (message_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::Message>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::Message>(GetArenaForAllocation());
message_ = p;
}
return message_;
}
inline ::proto::Message* WebMessageInfo::mutable_message() {
+ ::proto::Message* _msg = _internal_mutable_message();
// @@protoc_insertion_point(field_mutable:proto.WebMessageInfo.message)
- return _internal_mutable_message();
+ return _msg;
}
inline void WebMessageInfo::set_allocated_message(::proto::Message* message) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete message_;
}
if (message) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(message);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Message>::GetOwningArena(message);
if (message_arena != submessage_arena) {
message = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, message, submessage_arena);
@@ -51870,7 +49900,7 @@ inline bool WebMessageInfo::has_messagetimestamp() const {
return _internal_has_messagetimestamp();
}
inline void WebMessageInfo::clear_messagetimestamp() {
- messagetimestamp_ = PROTOBUF_ULONGLONG(0);
+ messagetimestamp_ = uint64_t{0u};
_has_bits_[0] &= ~0x00000200u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 WebMessageInfo::_internal_messagetimestamp() const {
@@ -51934,43 +49964,28 @@ inline const std::string& WebMessageInfo::participant() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.participant)
return _internal_participant();
}
-inline void WebMessageInfo::set_participant(const std::string& value) {
- _internal_set_participant(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void WebMessageInfo::set_participant(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000001u;
+ participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.WebMessageInfo.participant)
}
inline std::string* WebMessageInfo::mutable_participant() {
+ std::string* _s = _internal_mutable_participant();
// @@protoc_insertion_point(field_mutable:proto.WebMessageInfo.participant)
- return _internal_mutable_participant();
+ return _s;
}
inline const std::string& WebMessageInfo::_internal_participant() const {
return participant_.Get();
}
inline void WebMessageInfo::_internal_set_participant(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void WebMessageInfo::set_participant(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- participant_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.WebMessageInfo.participant)
-}
-inline void WebMessageInfo::set_participant(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.WebMessageInfo.participant)
-}
-inline void WebMessageInfo::set_participant(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.WebMessageInfo.participant)
+ participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* WebMessageInfo::_internal_mutable_participant() {
_has_bits_[0] |= 0x00000001u;
- return participant_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return participant_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* WebMessageInfo::release_participant() {
// @@protoc_insertion_point(field_release:proto.WebMessageInfo.participant)
@@ -51978,7 +49993,7 @@ inline std::string* WebMessageInfo::release_participant() {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
- return participant_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return participant_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void WebMessageInfo::set_allocated_participant(std::string* participant) {
if (participant != nullptr) {
@@ -51987,7 +50002,7 @@ inline void WebMessageInfo::set_allocated_participant(std::string* participant)
_has_bits_[0] &= ~0x00000001u;
}
participant_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), participant,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.WebMessageInfo.participant)
}
@@ -52091,43 +50106,28 @@ inline const std::string& WebMessageInfo::pushname() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.pushName)
return _internal_pushname();
}
-inline void WebMessageInfo::set_pushname(const std::string& value) {
- _internal_set_pushname(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void WebMessageInfo::set_pushname(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000002u;
+ pushname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.WebMessageInfo.pushName)
}
inline std::string* WebMessageInfo::mutable_pushname() {
+ std::string* _s = _internal_mutable_pushname();
// @@protoc_insertion_point(field_mutable:proto.WebMessageInfo.pushName)
- return _internal_mutable_pushname();
+ return _s;
}
inline const std::string& WebMessageInfo::_internal_pushname() const {
return pushname_.Get();
}
inline void WebMessageInfo::_internal_set_pushname(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
- pushname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void WebMessageInfo::set_pushname(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- pushname_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.WebMessageInfo.pushName)
-}
-inline void WebMessageInfo::set_pushname(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- pushname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.WebMessageInfo.pushName)
-}
-inline void WebMessageInfo::set_pushname(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- pushname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.WebMessageInfo.pushName)
+ pushname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* WebMessageInfo::_internal_mutable_pushname() {
_has_bits_[0] |= 0x00000002u;
- return pushname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return pushname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* WebMessageInfo::release_pushname() {
// @@protoc_insertion_point(field_release:proto.WebMessageInfo.pushName)
@@ -52135,7 +50135,7 @@ inline std::string* WebMessageInfo::release_pushname() {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
- return pushname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return pushname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void WebMessageInfo::set_allocated_pushname(std::string* pushname) {
if (pushname != nullptr) {
@@ -52144,7 +50144,7 @@ inline void WebMessageInfo::set_allocated_pushname(std::string* pushname) {
_has_bits_[0] &= ~0x00000002u;
}
pushname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), pushname,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.WebMessageInfo.pushName)
}
@@ -52164,43 +50164,28 @@ inline const std::string& WebMessageInfo::mediaciphertextsha256() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.mediaCiphertextSha256)
return _internal_mediaciphertextsha256();
}
-inline void WebMessageInfo::set_mediaciphertextsha256(const std::string& value) {
- _internal_set_mediaciphertextsha256(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void WebMessageInfo::set_mediaciphertextsha256(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000004u;
+ mediaciphertextsha256_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.WebMessageInfo.mediaCiphertextSha256)
}
inline std::string* WebMessageInfo::mutable_mediaciphertextsha256() {
+ std::string* _s = _internal_mutable_mediaciphertextsha256();
// @@protoc_insertion_point(field_mutable:proto.WebMessageInfo.mediaCiphertextSha256)
- return _internal_mutable_mediaciphertextsha256();
+ return _s;
}
inline const std::string& WebMessageInfo::_internal_mediaciphertextsha256() const {
return mediaciphertextsha256_.Get();
}
inline void WebMessageInfo::_internal_set_mediaciphertextsha256(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
- mediaciphertextsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void WebMessageInfo::set_mediaciphertextsha256(std::string&& value) {
- _has_bits_[0] |= 0x00000004u;
- mediaciphertextsha256_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.WebMessageInfo.mediaCiphertextSha256)
-}
-inline void WebMessageInfo::set_mediaciphertextsha256(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000004u;
- mediaciphertextsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.WebMessageInfo.mediaCiphertextSha256)
-}
-inline void WebMessageInfo::set_mediaciphertextsha256(const void* value,
- size_t size) {
- _has_bits_[0] |= 0x00000004u;
- mediaciphertextsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.WebMessageInfo.mediaCiphertextSha256)
+ mediaciphertextsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* WebMessageInfo::_internal_mutable_mediaciphertextsha256() {
_has_bits_[0] |= 0x00000004u;
- return mediaciphertextsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return mediaciphertextsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* WebMessageInfo::release_mediaciphertextsha256() {
// @@protoc_insertion_point(field_release:proto.WebMessageInfo.mediaCiphertextSha256)
@@ -52208,7 +50193,7 @@ inline std::string* WebMessageInfo::release_mediaciphertextsha256() {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
- return mediaciphertextsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return mediaciphertextsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void WebMessageInfo::set_allocated_mediaciphertextsha256(std::string* mediaciphertextsha256) {
if (mediaciphertextsha256 != nullptr) {
@@ -52217,7 +50202,7 @@ inline void WebMessageInfo::set_allocated_mediaciphertextsha256(std::string* med
_has_bits_[0] &= ~0x00000004u;
}
mediaciphertextsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediaciphertextsha256,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.WebMessageInfo.mediaCiphertextSha256)
}
@@ -52373,8 +50358,9 @@ inline void WebMessageInfo::clear_messagestubparameters() {
messagestubparameters_.Clear();
}
inline std::string* WebMessageInfo::add_messagestubparameters() {
+ std::string* _s = _internal_add_messagestubparameters();
// @@protoc_insertion_point(field_add_mutable:proto.WebMessageInfo.messageStubParameters)
- return _internal_add_messagestubparameters();
+ return _s;
}
inline const std::string& WebMessageInfo::_internal_messagestubparameters(int index) const {
return messagestubparameters_.Get(index);
@@ -52388,12 +50374,12 @@ inline std::string* WebMessageInfo::mutable_messagestubparameters(int index) {
return messagestubparameters_.Mutable(index);
}
inline void WebMessageInfo::set_messagestubparameters(int index, const std::string& value) {
- // @@protoc_insertion_point(field_set:proto.WebMessageInfo.messageStubParameters)
messagestubparameters_.Mutable(index)->assign(value);
+ // @@protoc_insertion_point(field_set:proto.WebMessageInfo.messageStubParameters)
}
inline void WebMessageInfo::set_messagestubparameters(int index, std::string&& value) {
- // @@protoc_insertion_point(field_set:proto.WebMessageInfo.messageStubParameters)
messagestubparameters_.Mutable(index)->assign(std::move(value));
+ // @@protoc_insertion_point(field_set:proto.WebMessageInfo.messageStubParameters)
}
inline void WebMessageInfo::set_messagestubparameters(int index, const char* value) {
GOOGLE_DCHECK(value != nullptr);
@@ -52475,8 +50461,9 @@ inline void WebMessageInfo::clear_labels() {
labels_.Clear();
}
inline std::string* WebMessageInfo::add_labels() {
+ std::string* _s = _internal_add_labels();
// @@protoc_insertion_point(field_add_mutable:proto.WebMessageInfo.labels)
- return _internal_add_labels();
+ return _s;
}
inline const std::string& WebMessageInfo::_internal_labels(int index) const {
return labels_.Get(index);
@@ -52490,12 +50477,12 @@ inline std::string* WebMessageInfo::mutable_labels(int index) {
return labels_.Mutable(index);
}
inline void WebMessageInfo::set_labels(int index, const std::string& value) {
- // @@protoc_insertion_point(field_set:proto.WebMessageInfo.labels)
labels_.Mutable(index)->assign(value);
+ // @@protoc_insertion_point(field_set:proto.WebMessageInfo.labels)
}
inline void WebMessageInfo::set_labels(int index, std::string&& value) {
- // @@protoc_insertion_point(field_set:proto.WebMessageInfo.labels)
labels_.Mutable(index)->assign(std::move(value));
+ // @@protoc_insertion_point(field_set:proto.WebMessageInfo.labels)
}
inline void WebMessageInfo::set_labels(int index, const char* value) {
GOOGLE_DCHECK(value != nullptr);
@@ -52562,7 +50549,7 @@ inline const ::proto::PaymentInfo& WebMessageInfo::paymentinfo() const {
}
inline void WebMessageInfo::unsafe_arena_set_allocated_paymentinfo(
::proto::PaymentInfo* paymentinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(paymentinfo_);
}
paymentinfo_ = paymentinfo;
@@ -52577,9 +50564,15 @@ inline ::proto::PaymentInfo* WebMessageInfo::release_paymentinfo() {
_has_bits_[0] &= ~0x00000040u;
::proto::PaymentInfo* temp = paymentinfo_;
paymentinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::PaymentInfo* WebMessageInfo::unsafe_arena_release_paymentinfo() {
@@ -52592,23 +50585,24 @@ inline ::proto::PaymentInfo* WebMessageInfo::unsafe_arena_release_paymentinfo()
inline ::proto::PaymentInfo* WebMessageInfo::_internal_mutable_paymentinfo() {
_has_bits_[0] |= 0x00000040u;
if (paymentinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::PaymentInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::PaymentInfo>(GetArenaForAllocation());
paymentinfo_ = p;
}
return paymentinfo_;
}
inline ::proto::PaymentInfo* WebMessageInfo::mutable_paymentinfo() {
+ ::proto::PaymentInfo* _msg = _internal_mutable_paymentinfo();
// @@protoc_insertion_point(field_mutable:proto.WebMessageInfo.paymentInfo)
- return _internal_mutable_paymentinfo();
+ return _msg;
}
inline void WebMessageInfo::set_allocated_paymentinfo(::proto::PaymentInfo* paymentinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete paymentinfo_;
}
if (paymentinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(paymentinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::PaymentInfo>::GetOwningArena(paymentinfo);
if (message_arena != submessage_arena) {
paymentinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, paymentinfo, submessage_arena);
@@ -52645,7 +50639,7 @@ inline const ::proto::LiveLocationMessage& WebMessageInfo::finallivelocation() c
}
inline void WebMessageInfo::unsafe_arena_set_allocated_finallivelocation(
::proto::LiveLocationMessage* finallivelocation) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(finallivelocation_);
}
finallivelocation_ = finallivelocation;
@@ -52660,9 +50654,15 @@ inline ::proto::LiveLocationMessage* WebMessageInfo::release_finallivelocation()
_has_bits_[0] &= ~0x00000080u;
::proto::LiveLocationMessage* temp = finallivelocation_;
finallivelocation_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::LiveLocationMessage* WebMessageInfo::unsafe_arena_release_finallivelocation() {
@@ -52675,23 +50675,24 @@ inline ::proto::LiveLocationMessage* WebMessageInfo::unsafe_arena_release_finall
inline ::proto::LiveLocationMessage* WebMessageInfo::_internal_mutable_finallivelocation() {
_has_bits_[0] |= 0x00000080u;
if (finallivelocation_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::LiveLocationMessage>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::LiveLocationMessage>(GetArenaForAllocation());
finallivelocation_ = p;
}
return finallivelocation_;
}
inline ::proto::LiveLocationMessage* WebMessageInfo::mutable_finallivelocation() {
+ ::proto::LiveLocationMessage* _msg = _internal_mutable_finallivelocation();
// @@protoc_insertion_point(field_mutable:proto.WebMessageInfo.finalLiveLocation)
- return _internal_mutable_finallivelocation();
+ return _msg;
}
inline void WebMessageInfo::set_allocated_finallivelocation(::proto::LiveLocationMessage* finallivelocation) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete finallivelocation_;
}
if (finallivelocation) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(finallivelocation);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::LiveLocationMessage>::GetOwningArena(finallivelocation);
if (message_arena != submessage_arena) {
finallivelocation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, finallivelocation, submessage_arena);
@@ -52728,7 +50729,7 @@ inline const ::proto::PaymentInfo& WebMessageInfo::quotedpaymentinfo() const {
}
inline void WebMessageInfo::unsafe_arena_set_allocated_quotedpaymentinfo(
::proto::PaymentInfo* quotedpaymentinfo) {
- if (GetArena() == nullptr) {
+ if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quotedpaymentinfo_);
}
quotedpaymentinfo_ = quotedpaymentinfo;
@@ -52743,9 +50744,15 @@ inline ::proto::PaymentInfo* WebMessageInfo::release_quotedpaymentinfo() {
_has_bits_[0] &= ~0x00000100u;
::proto::PaymentInfo* temp = quotedpaymentinfo_;
quotedpaymentinfo_ = nullptr;
- if (GetArena() != nullptr) {
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::proto::PaymentInfo* WebMessageInfo::unsafe_arena_release_quotedpaymentinfo() {
@@ -52758,23 +50765,24 @@ inline ::proto::PaymentInfo* WebMessageInfo::unsafe_arena_release_quotedpaymenti
inline ::proto::PaymentInfo* WebMessageInfo::_internal_mutable_quotedpaymentinfo() {
_has_bits_[0] |= 0x00000100u;
if (quotedpaymentinfo_ == nullptr) {
- auto* p = CreateMaybeMessage<::proto::PaymentInfo>(GetArena());
+ auto* p = CreateMaybeMessage<::proto::PaymentInfo>(GetArenaForAllocation());
quotedpaymentinfo_ = p;
}
return quotedpaymentinfo_;
}
inline ::proto::PaymentInfo* WebMessageInfo::mutable_quotedpaymentinfo() {
+ ::proto::PaymentInfo* _msg = _internal_mutable_quotedpaymentinfo();
// @@protoc_insertion_point(field_mutable:proto.WebMessageInfo.quotedPaymentInfo)
- return _internal_mutable_quotedpaymentinfo();
+ return _msg;
}
inline void WebMessageInfo::set_allocated_quotedpaymentinfo(::proto::PaymentInfo* quotedpaymentinfo) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete quotedpaymentinfo_;
}
if (quotedpaymentinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(quotedpaymentinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::PaymentInfo>::GetOwningArena(quotedpaymentinfo);
if (message_arena != submessage_arena) {
quotedpaymentinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, quotedpaymentinfo, submessage_arena);
@@ -52796,7 +50804,7 @@ inline bool WebMessageInfo::has_ephemeralstarttimestamp() const {
return _internal_has_ephemeralstarttimestamp();
}
inline void WebMessageInfo::clear_ephemeralstarttimestamp() {
- ephemeralstarttimestamp_ = PROTOBUF_ULONGLONG(0);
+ ephemeralstarttimestamp_ = uint64_t{0u};
_has_bits_[0] &= ~0x00400000u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 WebMessageInfo::_internal_ephemeralstarttimestamp() const {
@@ -52944,43 +50952,28 @@ inline const std::string& WebMessageInfo::verifiedbizname() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.verifiedBizName)
return _internal_verifiedbizname();
}
-inline void WebMessageInfo::set_verifiedbizname(const std::string& value) {
- _internal_set_verifiedbizname(value);
+template <typename ArgT0, typename... ArgT>
+inline PROTOBUF_ALWAYS_INLINE
+void WebMessageInfo::set_verifiedbizname(ArgT0&& arg0, ArgT... args) {
+ _has_bits_[0] |= 0x00000008u;
+ verifiedbizname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.WebMessageInfo.verifiedBizName)
}
inline std::string* WebMessageInfo::mutable_verifiedbizname() {
+ std::string* _s = _internal_mutable_verifiedbizname();
// @@protoc_insertion_point(field_mutable:proto.WebMessageInfo.verifiedBizName)
- return _internal_mutable_verifiedbizname();
+ return _s;
}
inline const std::string& WebMessageInfo::_internal_verifiedbizname() const {
return verifiedbizname_.Get();
}
inline void WebMessageInfo::_internal_set_verifiedbizname(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
- verifiedbizname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
-}
-inline void WebMessageInfo::set_verifiedbizname(std::string&& value) {
- _has_bits_[0] |= 0x00000008u;
- verifiedbizname_.Set(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:proto.WebMessageInfo.verifiedBizName)
-}
-inline void WebMessageInfo::set_verifiedbizname(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000008u;
- verifiedbizname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
- // @@protoc_insertion_point(field_set_char:proto.WebMessageInfo.verifiedBizName)
-}
-inline void WebMessageInfo::set_verifiedbizname(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000008u;
- verifiedbizname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:proto.WebMessageInfo.verifiedBizName)
+ verifiedbizname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* WebMessageInfo::_internal_mutable_verifiedbizname() {
_has_bits_[0] |= 0x00000008u;
- return verifiedbizname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
+ return verifiedbizname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* WebMessageInfo::release_verifiedbizname() {
// @@protoc_insertion_point(field_release:proto.WebMessageInfo.verifiedBizName)
@@ -52988,7 +50981,7 @@ inline std::string* WebMessageInfo::release_verifiedbizname() {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
- return verifiedbizname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
+ return verifiedbizname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void WebMessageInfo::set_allocated_verifiedbizname(std::string* verifiedbizname) {
if (verifiedbizname != nullptr) {
@@ -52997,7 +50990,7 @@ inline void WebMessageInfo::set_allocated_verifiedbizname(std::string* verifiedb
_has_bits_[0] &= ~0x00000008u;
}
verifiedbizname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), verifiedbizname,
- GetArena());
+ GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:proto.WebMessageInfo.verifiedBizName)
}